|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.dataservices.model.DirectoryObjectEntity
com.ibm.itim.dataservices.model.domain.RoleEntity
public class RoleEntity
Represents a Role in the data model.
Field Summary | |
---|---|
static java.lang.String |
ORGANIZATION
Constant (String) for the organization relationship name. |
static java.lang.String |
OWNER
Constant (String ) for the owner relationship name |
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity |
---|
PARENT |
Fields inherited from interface com.ibm.itim.util.Sortable |
---|
ATTR_NAME |
Constructor Summary | |
---|---|
RoleEntity(Role role)
Constructs a Role with a value object. |
Method Summary | |
---|---|
java.util.Collection |
getMembers()
Returns all members of the role. |
java.util.Collection |
getMembers(java.util.Collection returnAttributes)
Returns all members of the role. |
OrganizationEntity |
getOrganization()
Returns the organization of the current object. |
java.util.Collection<PersonEntity> |
getOwner()
Returns the role administration owner if any. |
void |
update()
Overwrites base implement to validate object class and include "eraccessitem" class and then Updates the attributes of the entity in the data store. |
void |
update(DirectoryObject updObject)
Deprecated. please use update() |
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity |
---|
equals, getDirectoryObject, getDistinguishedName, getEntity, getLifecycle, getObjectCategory, getParent, getParentDN, getProfile, getRelationship, getSortValue, getSupportedRelationships, hashCode, isSupportedRelationship, remove, remove, setLifecycle, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ORGANIZATION
public static final java.lang.String OWNER
Constructor Detail |
---|
public RoleEntity(Role role)
role
- Role object holding the attributes of the role.Method Detail |
---|
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 java.util.Collection getMembers(java.util.Collection returnAttributes) throws ModelCommunicationException, ModelIntegrityException
returnAttributes
- Collection of attributes contained in the
PersonEntity objects returned by this method.
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 a problem exists with
the consistency of the data model preventing the
evaluation of the relationship.public void update(DirectoryObject updObject) throws ModelCommunicationException, ObjectNotFoundException
update
in class DirectoryObjectEntity
updObject
- DirectoryObject that holds the changes.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
entity in the data store. This may be due to a data integrity
problem, or the entity may have been removed by another
client.public void update() throws ModelCommunicationException, ObjectNotFoundException
update
in class DirectoryObjectEntity
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
entity in the data store. This may be due to a data integrity
problem, or the entity may have been removed by another
client.public java.util.Collection<PersonEntity> getOwner() 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |