public class SystemRoleEntity extends DirectoryObjectEntity
ORGANIZATION, PARENT| Constructor and Description |
|---|
SystemRoleEntity(DirectoryObject sysRole)
Constructs a SystemRoleEntity with a DirectoryObject.
|
SystemRoleEntity(SystemRole sysRole)
Constructs with a value object.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection |
getMembers()
Returns all members of the system role.
|
OrganizationEntity |
getOrganization()
Returns the organization of the current object.
|
equals, getDirectoryObject, getDistinguishedName, getEntity, getLifecycle, getObjectCategory, getParent, getParentDN, getProfile, getRelationship, getSortValue, getSupportedRelationships, hashCode, initialize, initialize, isSupportedRelationship, remove, remove, setLifecycle, toString, update, updatepublic SystemRoleEntity(SystemRole sysRole)
sysRole - SystemRole object holding the attributes of the
system role.public SystemRoleEntity(DirectoryObject sysRole)
sysRole - DirectoryObject holding the attributes of the
system role.public java.util.Collection getMembers()
throws ModelCommunicationException,
ModelIntegrityException
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.public OrganizationEntity getOrganization() throws ModelCommunicationException, ModelIntegrityException
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.