com.ibm.itim.dataservices.model.system
Class SystemRoleEntity

java.lang.Object
  extended by com.ibm.itim.dataservices.model.DirectoryObjectEntity
      extended by com.ibm.itim.dataservices.model.system.SystemRoleEntity
All Implemented Interfaces:
com.ibm.itim.util.Sortable, java.io.Serializable

public class SystemRoleEntity
extends DirectoryObjectEntity

Represents a system role (group) in the data model.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity
ORGANIZATION, PARENT
 
Fields inherited from interface com.ibm.itim.util.Sortable
ATTR_NAME
 
Constructor Summary
SystemRoleEntity(DirectoryObject sysRole)
          Constructs a SystemRoleEntity with a DirectoryObject.
SystemRoleEntity(SystemRole sysRole)
          Constructs with a value object.
 
Method Summary
 java.util.Collection getMembers()
          Returns all members of the system role.
 OrganizationEntity getOrganization()
          Returns the organization of the current object.
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity
equals, getDirectoryObject, getDistinguishedName, getEntity, getLifecycle, getObjectCategory, getParent, getParentDN, getProfile, getRelationship, getSortValue, getSupportedRelationships, hashCode, initialize, initialize, isSupportedRelationship, remove, remove, setLifecycle, toString, update, update
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SystemRoleEntity

public SystemRoleEntity(SystemRole sysRole)
Constructs with a value object.

Parameters:
sysRole - SystemRole object holding the attributes of the system role.

SystemRoleEntity

public SystemRoleEntity(DirectoryObject sysRole)
Constructs a SystemRoleEntity with a DirectoryObject.

Parameters:
sysRole - DirectoryObject holding the attributes of the system role.
Method Detail

getMembers

public java.util.Collection getMembers()
                                throws ModelCommunicationException,
                                       ModelIntegrityException
Returns all members of the system role.

Returns:
Collection of SystemUsers that are members of the system role.
Throws:
ModelCommunicationException - Thrown if unable to communicate with the data store.
ModelIntegrityException - Thrown if a problem exists with the consistency of the data model preventing the evaluation of the relationship.

getOrganization

public OrganizationEntity getOrganization()
                                   throws ModelCommunicationException,
                                          ModelIntegrityException
Returns the organization of the current object.

Returns:
OrganizationEntity representing the object's organization.
Throws:
ModelCommunicationException - Thrown if unable to communicate with the data store.
ModelIntegrityException - Thrown if unable to locate the related organization. This may be due to a data integrity problem.


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.