|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.ibm.itim.dataservices.model.DirectoryObjectEntity
|
+--com.ibm.itim.dataservices.model.domain.OrganizationalContainerEntity
|
+--com.ibm.itim.dataservices.model.domain.AdminDomainEntity
Class that represents a admin domain in the logical organization chart within the data model.
| Field Summary | |
|---|---|
static java.lang.String |
ADMINISTRATOR
Constant (String) for the organization relationship name. |
| Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity |
|---|
ORGANIZATION, PARENT |
| Constructor Summary | |
|---|---|
AdminDomainEntity(AdminDomain domain)
Constructs an AdminDomainEntity with a value object. |
|
AdminDomainEntity(ObjectProfile profile,
AdminDomain domain)
Constructs an AdminDomainEntity with a profile and value object. |
|
| Method Summary | |
|---|---|
void |
addAdministrator(PersonEntity administrator)
Adds the given administrator to the domain. |
java.util.Collection |
getAdministrators()
Returns the administrators for the administrative domain. |
OrganizationEntity |
getOrganization()
Returns the organization that contains the admin domain. |
void |
removeAdministrator(PersonEntity administrator)
Removes the given administrator from the domain. |
void |
setAdministrators(java.util.Collection administrators)
Changes the administrators for the domain. |
| Methods inherited from class com.ibm.itim.dataservices.model.domain.OrganizationalContainerEntity |
|---|
getLogicalNameContext, getParentContainer, hasDependencies |
| Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity |
|---|
equals, getDirectoryObject, getDistinguishedName, getEntity, getLifecycle, getParent, getParentDN, getProfile, getRelationship, getSupportedRelationships, hashCode, isSupportedRelationship, remove, remove, setLifecycle, toString, update, update |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String ADMINISTRATOR
| Constructor Detail |
public AdminDomainEntity(ObjectProfile profile,
AdminDomain domain)
profile - Profile identifying the type of this admin domain.domain - AdminDomain object holding the attributes of the admin domain.public AdminDomainEntity(AdminDomain domain)
domain - AdminDomain object holding the attributes of the admin domain.| Method Detail |
public java.util.Collection getAdministrators()
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 setAdministrators(java.util.Collection administrators)
throws ModelCommunicationException,
ObjectNotFoundException
administrators - Collection of PersonEntity objects to be the new administrator(s).
ModelCommunicationException - Thrown if unable to communicate
with the data store.
ObjectNotFoundException - Thrown if unable to locate the
admin domain 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 addAdministrator(PersonEntity administrator)
throws ModelCommunicationException,
ObjectNotFoundException
administrator - PersonEntity representing the new administrator for the domain.
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 removeAdministrator(PersonEntity administrator)
throws ModelCommunicationException,
ObjectNotFoundException
administrator - PersonEntity representing the adminstrator to remove.
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 OrganizationEntity getOrganization()
throws ModelCommunicationException,
ModelIntegrityException
ModelCommunicationException - Thrown if unable to communicate
with the data store.
ModelIntegrityException - Thrown if unable to locate the
entity's organization.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||