public final class HibernateDirectoryDao extends Object implements com.atlassian.crowd.embedded.spi.DirectoryDao
Constructor and Description |
---|
HibernateDirectoryDao(org.hibernate.SessionFactory sessionFactory,
InternalUserDao userDao,
InternalGroupDao groupDao,
InternalMembershipDao internalMembershipDao) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.crowd.embedded.api.Directory |
add(com.atlassian.crowd.embedded.api.Directory directory) |
List<com.atlassian.crowd.embedded.api.Directory> |
findAll() |
com.atlassian.crowd.model.directory.DirectoryImpl |
findById(long directoryId) |
com.atlassian.crowd.embedded.api.Directory |
findByName(String name) |
void |
remove(com.atlassian.crowd.embedded.api.Directory directory) |
List<com.atlassian.crowd.embedded.api.Directory> |
search(com.atlassian.crowd.search.query.entity.EntityQuery<com.atlassian.crowd.embedded.api.Directory> query) |
com.atlassian.crowd.embedded.api.Directory |
update(com.atlassian.crowd.embedded.api.Directory directory) |
public HibernateDirectoryDao(org.hibernate.SessionFactory sessionFactory, InternalUserDao userDao, InternalGroupDao groupDao, InternalMembershipDao internalMembershipDao)
public com.atlassian.crowd.model.directory.DirectoryImpl findById(long directoryId) throws com.atlassian.crowd.exception.DirectoryNotFoundException
findById
in interface com.atlassian.crowd.embedded.spi.DirectoryDao
com.atlassian.crowd.exception.DirectoryNotFoundException
public com.atlassian.crowd.embedded.api.Directory findByName(String name) throws com.atlassian.crowd.exception.DirectoryNotFoundException
findByName
in interface com.atlassian.crowd.embedded.spi.DirectoryDao
com.atlassian.crowd.exception.DirectoryNotFoundException
public List<com.atlassian.crowd.embedded.api.Directory> findAll()
findAll
in interface com.atlassian.crowd.embedded.spi.DirectoryDao
public com.atlassian.crowd.embedded.api.Directory add(com.atlassian.crowd.embedded.api.Directory directory)
add
in interface com.atlassian.crowd.embedded.spi.DirectoryDao
public com.atlassian.crowd.embedded.api.Directory update(com.atlassian.crowd.embedded.api.Directory directory) throws com.atlassian.crowd.exception.DirectoryNotFoundException
update
in interface com.atlassian.crowd.embedded.spi.DirectoryDao
com.atlassian.crowd.exception.DirectoryNotFoundException
public void remove(com.atlassian.crowd.embedded.api.Directory directory)
remove
in interface com.atlassian.crowd.embedded.spi.DirectoryDao
public List<com.atlassian.crowd.embedded.api.Directory> search(com.atlassian.crowd.search.query.entity.EntityQuery<com.atlassian.crowd.embedded.api.Directory> query)
search
in interface com.atlassian.crowd.embedded.spi.DirectoryDao
Copyright © 2003–2020 Atlassian. All rights reserved.