|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides methods to manage static group.
AMStaticGroup
object can be obtained by using
AMStoreConnection
.
A handle to this object can be obtained by using the DN of the object.
AMStoreConnection amsc = new AMStoreConnection(ssotoken); if (amsc.doesEntryExist(sDN)) { AMStaticGroup sg = amsc.getStaticGroup(rDN); }
Field Summary |
Fields inherited from interface com.iplanet.am.sdk.AMObject |
ACTIVE, ACTIVE_VALUE, ASSIGNABLE_DYNAMIC_GROUP, DELETED, DELETED_VALUE, DYNAMIC_GROUP, FILTERED_ROLE, GROUP, GROUP_CONTAINER, GROUP_PROFILE, INACTIVE, INACTIVE_VALUE, MANAGED_ROLE, ORGANIZATION, ORGANIZATIONAL_UNIT, PEOPLE_CONTAINER, POLICY, RESOURCE, ROLE, ROLE_PROFILE, SERVICE, STATIC_GROUP, TEMPLATE, UNDETERMINED_OBJECT_TYPE, UNKNOWN_OBJECT_TYPE, USER |
Method Summary | |
void |
addUsers(java.util.Set users)
Adds users to the static group. |
boolean |
isSubscribable()
Returns true if the group is subscribable. |
void |
removeUsers(java.util.Set users)
Removes users from the static group. |
void |
setSubscribable(boolean subscribable)
Sets subscribe-ability of the group. |
Method Detail |
public void addUsers(java.util.Set users) throws AMException, SSOException
users
- The set of user DN's to be added to the static group.
AMException
- if an error is encountered when trying to
access/retrieve data from the data store
SSOException
- if the single sign on token is no longer validpublic void removeUsers(java.util.Set users) throws AMException, SSOException
users
- The set of user DN's to be removed from the static group.
AMException
- if an error is encountered when trying to
access/retrieve data from the data store
SSOException
- if the single sign on token is no longer validpublic boolean isSubscribable() throws AMException, SSOException
AMException
- if an error is encountered when trying to
access/retrieve data from the data store
SSOException
- if the single sign on token is no longer validpublic void setSubscribable(boolean subscribable) throws AMException, SSOException
subscribable
- true if the group is subscribable.
AMException
- if an error is encountered when trying to
access/retrieve data from the data store
SSOException
- if the single sign on token is no longer valid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |