public interface InternalGroupDao extends GroupDao
InternalDirectory
group.| Modifier and Type | Method and Description |
|---|---|
BatchResultWithIdReferences<Group> |
addAll(Collection<InternalGroupWithAttributes> groups)
Bulk add of groups and their attributes.
|
Collection<InternalGroup> |
findByIds(Collection<Long> groupIds)
Bulk find of groups with the specified database identifiers.
|
InternalGroup |
findByName(long directoryId,
String groupName)
Finds internal group by directory id and group name.
|
Collection<InternalGroup> |
findByNames(long directoryId,
Collection<String> groupnames)
Bulk find of groups using SQL disjunction.
|
Set<InternalGroupAttribute> |
findGroupAttributes(long groupId)
Finds group attributes of the given group identified by group id.
|
void |
removeAll(long directoryId)
Removes all groups from a directory, but does not audit group removal operation
|
add, addAll, addLocal, findByExternalIds, findByNameWithAttributes, findExternalIdsByNames, getAllExternalIds, getExternalGroupCount, getGroupCount, getLocalGroupNames, remove, removeAllGroups, removeAttribute, rename, search, storeAttributes, updateInternalGroup findByName(long directoryId, String groupName) throws GroupNotFoundException
findByName in interface GroupDaodirectoryId - Directory id.groupName - Group name.GroupNotFoundException - If the group cannot be found.Set<InternalGroupAttribute> findGroupAttributes(long groupId)
groupId - Group id.void removeAll(long directoryId)
directoryId - Directory Id.BatchResultWithIdReferences<Group> addAll(Collection<InternalGroupWithAttributes> groups)
groups - Groups with attributes.Collection<InternalGroup> findByNames(long directoryId, Collection<String> groupnames)
directoryId - the directory to search for the groups.groupnames - names of groups to findCollection<InternalGroup> findByIds(Collection<Long> groupIds)
groupIds - identifiers of groups that will be foundCopyright © 2023 Atlassian. All rights reserved.