|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The AMAssignableDynamicGroup
interface provides methods to
manage assignable dynamic group.
AMAssignableDynamicGroup
objects 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(aDN)) { AMAssignableDynamicGroup adg = amsc.getAssignableDynamicGroup(aDN); }
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 assignable dynamic group. |
boolean |
isSubscribable()
Returns true if the assignable dynamic group is subscribable. |
void |
removeUsers(java.util.Set users)
Removes users from the assignable dynamic group. |
void |
setSubscribable(boolean subscribable)
Sets subscribe-ability of the assignable dynamic group. |
Method Detail |
public void addUsers(java.util.Set users) throws AMException, SSOException
users
- The set of user distinguished names to be added to the
assignable dynamic 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 valid.public void removeUsers(java.util.Set users) throws AMException, SSOException
users
- The set of user distinguished names to be removed from the
assignable dynamic 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 valid.public 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 valid.public void setSubscribable(boolean subscribable) throws AMException, SSOException
subscribable
- true if the assignable dynamic 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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |