Package io.jans.scim.service
Class GroupService
java.lang.Object
io.jans.scim.service.GroupService
- All Implemented Interfaces:
Serializable
Provides operations with groups
- Author:
- Yuriy Movchan Date: 11.02.2010
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanintfindGroups(JansGroup group, int sizeLimit) Search groups by attributes present in objectgetAllGroups(int sizeLimit) getDnForGroup(String inum) getGroupByDisplayName(String DisplayName) getGroupByDn(String Dn) getGroupByInum(String inum) booleanisMemberOrOwner(String[] groupDNs, String personDN) booleanisMemberOrOwner(String groupDN, String personDN) voidremoveGroup(JansGroup group) searchGroups(String pattern, int sizeLimit) voidupdateGroup(JansGroup group)
-
Constructor Details
-
GroupService
public GroupService()
-
-
Method Details
-
addGroup
- Throws:
Exception
-
updateGroup
-
removeGroup
-
getAllGroups
-
isMemberOrOwner
-
getGroupByInum
- Throws:
Exception
-
getDnForGroup
-
countGroups
public int countGroups() -
contains
-
generateInumForNewGroup
- Throws:
Exception
-
searchGroups
- Throws:
Exception
-
getAllGroups
-
getGroupByDn
-
getGroupByDisplayName
- Throws:
Exception
-
findGroups
Search groups by attributes present in object- Parameters:
group-sizeLimit-- Returns:
-
isMemberOrOwner
- Throws:
Exception
-