public interface InternalGroupDao<T extends com.atlassian.crowd.model.group.InternalGroup>
extends com.atlassian.crowd.embedded.spi.GroupDao
Modifier and Type | Method and Description |
---|---|
T |
add(com.atlassian.crowd.model.group.Group group) |
T |
addLocal(com.atlassian.crowd.model.group.Group group) |
com.atlassian.crowd.model.group.InternalGroup |
internalFindByGroup(com.atlassian.crowd.model.group.Group group)
Find the persistent group object that corresponds to the provided group.
|
com.atlassian.crowd.model.group.InternalGroup |
internalFindByName(long directoryId,
String groupName)
Find a persistent group object from a given directory and group name
|
void |
removeAllGroups(long directoryId)
Remove all groups from a particular directory (used when deleting an internal directory)
|
addAll, findByExternalIds, findByName, findByNameWithAttributes, findExternalIdsByNames, getAllExternalIds, getExternalGroupCount, getGroupCount, getLocalGroupNames, remove, removeAllGroups, removeAttribute, rename, search, storeAttributes, update
com.atlassian.crowd.model.group.InternalGroup internalFindByName(long directoryId, String groupName) throws com.atlassian.crowd.exception.GroupNotFoundException
com.atlassian.crowd.exception.GroupNotFoundException
com.atlassian.crowd.model.group.InternalGroup internalFindByGroup(com.atlassian.crowd.model.group.Group group) throws com.atlassian.crowd.exception.GroupNotFoundException
com.atlassian.crowd.exception.GroupNotFoundException
void removeAllGroups(long directoryId)
T add(com.atlassian.crowd.model.group.Group group) throws com.atlassian.crowd.exception.DirectoryNotFoundException, com.atlassian.crowd.exception.InvalidGroupException
add
in interface com.atlassian.crowd.embedded.spi.GroupDao
com.atlassian.crowd.exception.DirectoryNotFoundException
com.atlassian.crowd.exception.InvalidGroupException
T addLocal(com.atlassian.crowd.model.group.Group group) throws com.atlassian.crowd.exception.DirectoryNotFoundException, com.atlassian.crowd.exception.InvalidGroupException
addLocal
in interface com.atlassian.crowd.embedded.spi.GroupDao
com.atlassian.crowd.exception.DirectoryNotFoundException
com.atlassian.crowd.exception.InvalidGroupException
Copyright © 2003–2021 Atlassian. All rights reserved.