public class GroupService extends java.lang.Object implements Relationship
| Constructor and Description |
|---|
GroupService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesParticipate(DirectoryObjectEntity participant)
Determines if the given entity is a service of the subject directory object.
|
java.util.Collection<ServiceEntity> |
evaluate()
Evaluates the relationship and returns a service entity that
represents the service of the subject directory object.
|
java.util.Collection<DistinguishedName> |
evaluateReferences()
Evaluates the relationship returning 0 to many entity distinguished names that
participate opposite the subject entity.
|
void |
setSubject(DirectoryObjectEntity entity)
Sets the subject entity for the relationship.
|
public void setSubject(DirectoryObjectEntity entity)
setSubject in interface Relationshipentity - DirectoryObjectEntity acting as the subject of this
relationship.public java.util.Collection<ServiceEntity> evaluate() throws ModelIntegrityException, ModelCommunicationException
evaluate in interface RelationshipModelIntegrityException - Thrown if a problem exists with
the consistency of the data model preventing the
relationship from being evaluated properly.ModelCommunicationException - Thrown if unable to communicate
with the data store.public java.util.Collection<DistinguishedName> evaluateReferences() throws ModelIntegrityException, ModelCommunicationException
evaluateReferences in interface RelationshipModelIntegrityException - Thrown if a problem exists with
the consistency of the data model preventing the
relationship from being evaluated properly.ModelCommunicationException - Thrown if unable to communicate
with the data store.public boolean doesParticipate(DirectoryObjectEntity participant) throws ModelIntegrityException, ModelCommunicationException
doesParticipate in interface Relationshipparticipant - Proposed service (DirectoryObjectEntity).ModelIntegrityException - Thrown if a problem exists with
the consistency of the data model preventing the
relationship from being evaluated properly.ModelCommunicationException - Thrown if unable to communicate
with the data store.