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.
|
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.
|
add, addAll, addLocal, findByNameWithAttributes, remove, removeAllGroups, removeAttribute, rename, search, storeAttributes, update
InternalGroup findByName(long directoryId, String groupName) throws GroupNotFoundException
findByName
in interface GroupDao
directoryId
- 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 findCopyright © 2016 Atlassian. All rights reserved.