com.iplanet.am.sdk
Interface AMStaticGroup

All Superinterfaces:
AMConstants, AMGroup, AMObject

public interface AMStaticGroup
extends AMGroup

The AMStaticGroup interface provides methods to manage static 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 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 subscribability of the 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 static group.
Parameters:
users - The set of user DN's to be added to the static 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 static group.
Parameters:
users - The set of user DN's to be removed from the static 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 group is subscribable.
Returns:
true if the 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

setSubscribable

public void setSubscribable(boolean subscribable)
                     throws AMException,
                            SSOException
Sets subscribability of the group.
Parameters:
subscribable - true if the 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