public class GroupEntity extends DirectoryObjectEntity
ORGANIZATION, PARENT| Constructor and Description |
|---|
GroupEntity(DirectoryObject group)
Constructs a GroupEntity with a Group value object.
|
GroupEntity(Group group)
Constructs a GroupEntity with a Group value object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearAccess()
Clears the access information that is defined on the group.
|
AccessInfo |
getAccessInfo()
Returns any access information that is defined.
|
java.util.Collection<PersonEntity> |
getOwner()
Returns the access owner if any.
|
ServiceEntity |
getService()
Returns the Tivoli Identity Governance managed identity service to which the group applies.
|
void |
setAccessInfo(AccessInfo access)
Defines the access information on the group.
|
equals, getDirectoryObject, getDistinguishedName, getEntity, getLifecycle, getObjectCategory, getParent, getParentDN, getProfile, getRelationship, getSortValue, getSupportedRelationships, hashCode, initialize, initialize, isSupportedRelationship, remove, remove, setLifecycle, toString, update, updatepublic GroupEntity(Group group)
group - The value object that contains the group informationpublic GroupEntity(DirectoryObject group)
group - The value object that contains the group informationpublic ServiceEntity getService() throws ModelCommunicationException, ObjectNotFoundException
ModelCommunicationException - Thrown if unable to communicate with the data store.ModelIntegrityException - Thrown if unable to locate the related organization. This
might be caused by a data integrity problem.ObjectNotFoundException - Thrown if unable to locate the
entity in the data store. This might be caused by a data integrity
problem, or the entity might 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
might be caused by a data integrity problem.public AccessInfo getAccessInfo() throws ModelCommunicationException, ObjectNotFoundException
ModelCommunicationException - Thrown if unable to communicate with the data store.ObjectNotFoundException - Thrown if unable to locate the entity in the data store.
This might be because a distinguished name is not valid, or the
entity might have been removed by another client.public void setAccessInfo(AccessInfo access) throws ModelCommunicationException, ObjectNotFoundException
access - The AcessInfo object holds the access information.ModelCommunicationException - Thrown if unable to communicate with the data store.ObjectNotFoundException - Thrown if unable to locate the entity in the data store.
This might be because a distinguished name is not valid, or the
entity might have been removed by another client.public void clearAccess()
throws ModelCommunicationException,
ObjectNotFoundException
ModelCommunicationException - Thrown if unable to communicate with the data store.ObjectNotFoundException - Thrown if unable to locate the entity in the data store.
This might be because the entity might have been removed by another client.