|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InternalGroupDao
Persistance methods necessary to modify an InternalDirectory
group
.
Method Summary | |
---|---|
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. |
Methods inherited from interface com.atlassian.crowd.embedded.spi.GroupDao |
---|
add, addAll, addLocal, findByNameWithAttributes, remove, removeAllGroups, removeAttribute, rename, search, storeAttributes, update |
Method Detail |
---|
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 find
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |