public class OfBizDirectoryDao extends Object implements com.atlassian.crowd.embedded.spi.DirectoryDao
| Constructor and Description |
|---|
OfBizDirectoryDao(OfBizDelegator ofBizDelegator,
OfBizTransactionManager ofBizTransactionManager,
com.atlassian.cache.CacheManager cacheManager) |
| 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.embedded.api.Directory |
findById(long id) |
com.atlassian.crowd.embedded.api.Directory |
findByName(String name) |
void |
flushCache()
Invoked by
OfBizCacheFlushingManager to ensure caches are being flushed in the right order on
XMLRestoreFinishedEvent |
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) |
void |
updateDirectoryPosition(long directoryId,
int position) |
public OfBizDirectoryDao(OfBizDelegator ofBizDelegator, OfBizTransactionManager ofBizTransactionManager, com.atlassian.cache.CacheManager cacheManager)
public com.atlassian.crowd.embedded.api.Directory findById(long id)
throws com.atlassian.crowd.exception.DirectoryNotFoundException
findById in interface com.atlassian.crowd.embedded.spi.DirectoryDaocom.atlassian.crowd.exception.DirectoryNotFoundExceptionpublic com.atlassian.crowd.embedded.api.Directory findByName(String name) throws com.atlassian.crowd.exception.DirectoryNotFoundException
findByName in interface com.atlassian.crowd.embedded.spi.DirectoryDaocom.atlassian.crowd.exception.DirectoryNotFoundExceptionpublic List<com.atlassian.crowd.embedded.api.Directory> findAll()
findAll in interface com.atlassian.crowd.embedded.spi.DirectoryDaopublic com.atlassian.crowd.embedded.api.Directory add(com.atlassian.crowd.embedded.api.Directory directory)
add in interface com.atlassian.crowd.embedded.spi.DirectoryDaopublic 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.DirectoryDaocom.atlassian.crowd.exception.DirectoryNotFoundExceptionpublic void remove(com.atlassian.crowd.embedded.api.Directory directory)
throws com.atlassian.crowd.exception.DirectoryNotFoundException
remove in interface com.atlassian.crowd.embedded.spi.DirectoryDaocom.atlassian.crowd.exception.DirectoryNotFoundExceptionpublic 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.DirectoryDaopublic void flushCache()
OfBizCacheFlushingManager to ensure caches are being flushed in the right order on
XMLRestoreFinishedEventpublic void updateDirectoryPosition(long directoryId,
int position)
throws com.atlassian.crowd.exception.DirectoryNotFoundException
com.atlassian.crowd.exception.DirectoryNotFoundExceptionCopyright © 2002-2022 Atlassian. All Rights Reserved.