com.iplanet.am.sdk
Interface AMAssignableDynamicGroup

All Superinterfaces:
AMConstants, AMGroup, AMObject

public interface AMAssignableDynamicGroup
extends AMGroup

The AMAssignableDynamicGroup interface provides methods to manage assignable dynamic group


Fields inherited from interface com.iplanet.am.sdk.AMObject
ASSIGNABLE_DYNAMIC_GROUP, DYNAMIC_GROUP, FILTERED_ROLE, GROUP, GROUP_CONTAINER, GROUP_PROFILE, MANAGED_ROLE, ORGANIZATION, ORGANIZATIONAL_UNIT, PEOPLE_CONTAINER, POLICY, ROLE, ROLE_PROFILE, SERVICE, STATIC_GROUP, TEMPLATE, UNKNOWN_OBJECT_TYPE, USER
 
Fields inherited from interface com.iplanet.am.sdk.AMConstants
SCOPE_BASE, SCOPE_ONE, SCOPE_SUB, SUBSCRIBABLE_ATTRIBUTE, UNIQUE_MEMBER_ATTRIBUTE
 
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 subscribability of the assignable dynamic group.
 
Methods inherited from interface com.iplanet.am.sdk.AMGroup
createAssignableDynamicGroups, createAssignableDynamicGroups, createDynamicGroups, createDynamicGroups, createStaticGroups, createStaticGroups, deleteAssignableDynamicGroups, deleteDynamicGroups, deleteStaticGroups, getGroupDNs, getNumberOfGroups, getNumberOfUsers, getUserDNs, searchGroups, searchGroups, searchGroups, searchUsers, searchUsers, searchUsers
 
Methods inherited from interface com.iplanet.am.sdk.AMObject
addEventListener, assignPolicies, createPolicyTemplate, createPolicyTemplate, createTemplate, createTemplate, delete, delete, getAttribute, getAttributeByteArray, getAttributes, getAttributes, getAttributesByteArray, getAttributesByteArray, getDN, getOrganizationDN, getParentDN, getPolicy, getPolicyTemplate, getServiceAttributes, getStringAttribute, getTemplate, isExists, removeAttributes, removeEventListener, search, setAttributes, setStringAttribute, store, unassignPolicies
 

Method Detail

addUsers

public void addUsers(java.util.Set users)
              throws AMException,
                     SSOException
Adds users to the assignable dynamic group.
Parameters:
users - The set of user DN's to be added to the assignable dynamic group.
Throws:
AMException - if an error is encountered when trying to access/retrieve data from the data store
SSOException - if the sign on is no longer valid

removeUsers

public void removeUsers(java.util.Set users)
                 throws AMException,
                        SSOException
Removes users from the assignable dynamic group.
Parameters:
users - The set of user DN's to be removed from the assignable dynamic group.
Throws:
AMException - if an error is encountered when trying to access/retrieve data from the data store
SSOException - if the sign on is no longer valid

isSubscribable

public boolean isSubscribable()
                       throws AMException,
                              SSOException
Returns true if the assignable dynamic group is subscribable.
Returns:
true if the assignable dynamic group is subscribable. False otherwise.
Throws:
AMException - if an error is encountered when trying to access/retrieve data from the data store
SSOException - if the sign on is no longer valid

setSubscribable

public void setSubscribable(boolean subscribable)
                     throws AMException,
                            SSOException
Sets subscribability of the assignable dynamic group.
Parameters:
subscribable - true if the assignable dynamic group is subscribable.
Throws:
AMException - if an error is encountered when trying to access/retrieve data from the data store
SSOException - if the sign on is no longer valid