|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.identity.um.Common | +--com.sun.identity.um.StaticGroup
The AMStaticGroup
class provides methods to manage static
group
Method Summary | |
void |
addUsers(java.util.Set users)
Adds users to the static group. |
long |
getNumberOfUsers()
Gets number of users in the group. |
java.util.Set |
getUserDNs()
Gets the DNs of users in the group. |
boolean |
isSubscribable()
Returns true if the group is subscribable. |
void |
removeUsers(java.util.Set users)
Removes users from the static group. |
java.util.Set |
searchUsers(java.lang.String wildcard)
Searches for users in this group using wildcards and attribute values. |
void |
setSubscribable(boolean subscribable)
Sets subscribability of the group. |
Methods inherited from class com.sun.identity.um.Common |
assignServices, delete, delete, getAssignedServices, getAttributes, getAttributes, getDN, getOrganizationDN, getParentDN, getServiceAttributes, getServiceStatus, isExists, modifyService, removeAttributes, setAttributes, setServiceStatus, store, unassignServices |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public long getNumberOfUsers() throws UMException, SSOException
UMException
- if an error is encountered when trying to
access/retrieve data from the data storeSSOException
- if the sign on is no longer validpublic java.util.Set getUserDNs() throws UMException, SSOException
UMException
- if an error is encountered when trying to
access/retrieve data from the data storeSSOException
- if the sign on is no longer validpublic java.util.Set searchUsers(java.lang.String wildcard) throws UMException, SSOException
wildcard
- wildcard pattern to be used in the searchUMException
- if an error is encountered when trying to
access/retrieve data from the data storeSSOException
- if the sign on is no longer validpublic void addUsers(java.util.Set users) throws UMException, SSOException
users
- The set of user DN's to be added to the static group.UMException
- if an error is encountered when trying to
access/retrieve data from the data storeSSOException
- if the sign on is no longer validpublic void removeUsers(java.util.Set users) throws UMException, SSOException
users
- The set of user DN's to be removed from the static group.UMException
- if an error is encountered when trying to
access/retrieve data from the data storeSSOException
- if the sign on is no longer validpublic boolean isSubscribable() throws UMException, SSOException
UMException
- if an error is encountered when trying to
access/retrieve data from the data storeSSOException
- if the sign on is no longer validpublic void setSubscribable(boolean subscribable) throws UMException, SSOException
subscribable
- true if the group is subscribable.UMException
- if an error is encountered when trying to
access/retrieve data from the data storeSSOException
- if the sign on is no longer valid
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |