public interface DirectoryDao
com.atlassian.crowd.embedded.api.Directory findById(long directoryId) throws com.atlassian.crowd.exception.DirectoryNotFoundException
DirectoryNotFoundException if it cannot be found.directoryId - the ID of the directory to findcom.atlassian.crowd.exception.DirectoryNotFoundException - if there is no directory with the specified IDcom.atlassian.crowd.embedded.api.Directory findByName(String name) throws com.atlassian.crowd.exception.DirectoryNotFoundException
DirectoryNotFoundException if it cannot be found.name - the name of the directory to findcom.atlassian.crowd.exception.DirectoryNotFoundException - if there is no directory with the specified name@Deprecated List<com.atlassian.crowd.embedded.api.Directory> findAll()
search(EntityQuery) instead. Since v3.2.0com.atlassian.crowd.embedded.api.Directory add(com.atlassian.crowd.embedded.api.Directory directory)
directory - the directory to persistcom.atlassian.crowd.embedded.api.Directory update(com.atlassian.crowd.embedded.api.Directory directory) throws com.atlassian.crowd.exception.DirectoryNotFoundException
directory - the directory which has changes to persistcom.atlassian.crowd.exception.DirectoryNotFoundException - if the directory is not found in the data storevoid remove(com.atlassian.crowd.embedded.api.Directory directory) throws com.atlassian.crowd.exception.DirectoryNotFoundException
directory - the directory to removecom.atlassian.crowd.exception.DirectoryNotFoundException - if the directory does not existList<com.atlassian.crowd.embedded.api.Directory> search(EntityQuery<com.atlassian.crowd.embedded.api.Directory> entityQuery)
entityQuery - the search query to run against the directory data storeQueryBuilder.queryFor(java.lang.Class<T>, com.atlassian.crowd.search.EntityDescriptor)Copyright © 2024 Atlassian. All rights reserved.