|
||||||||||
| 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(java.util.Collection<InternalGroupWithAttributes> groups)
Bulk add of groups and their attributes. |
InternalGroup |
findByName(long directoryId,
java.lang.String groupName)
Finds internal group by directory id and group name. |
java.util.Collection<InternalGroup> |
findByNames(long directoryId,
java.util.Collection<java.lang.String> groupnames)
Bulk find of groups using SQL disjunction. |
java.util.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,
java.lang.String groupName)
throws GroupNotFoundException
findByName in interface GroupDaodirectoryId - Directory id.groupName - Group name.
GroupNotFoundException - If the group cannot be found.java.util.Set<InternalGroupAttribute> findGroupAttributes(long groupId)
groupId - Group id.
void removeAll(long directoryId)
directoryId - Directory Id.BatchResultWithIdReferences<Group> addAll(java.util.Collection<InternalGroupWithAttributes> groups)
groups - Groups with attributes.
java.util.Collection<InternalGroup> findByNames(long directoryId,
java.util.Collection<java.lang.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 | |||||||||