|
|||||||||||
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.BusinessUnitEntity
Class that represents a business unit in the logical organization chart within the data model. A business unit is an org chart container that is is subordinate to an organization. This use of this object is limited to containers with no special semantics other than those of a basic container with an optional supervisor (i.e., organizational unit or location).
Field Summary | |
---|---|
static java.lang.String |
SUPERVISOR
Constant (String) for supervisor relationship name. |
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity |
---|
ORGANIZATION, PARENT |
Constructor Summary | |
---|---|
BusinessUnitEntity(BusinessUnit bu)
Constructs a BusinessUnitEntity with a profile and value object. |
|
BusinessUnitEntity(ObjectProfile profile,
BusinessUnit bu)
Constructs a BusinessUnitEntity with a profile and value object. |
Method Summary | |
---|---|
OrganizationEntity |
getOrganization()
Returns the organization of the current object. |
PersonEntity |
getSupervisor()
Returns the supervisor for the business unit. |
void |
setSupervisor(PersonEntity person)
Changes the supervisor for the business unit. |
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 SUPERVISOR
Constructor Detail |
public BusinessUnitEntity(ObjectProfile profile, BusinessUnit bu)
profile
- Profile identifying the type of this business unit.bu
- BusinessUnit object holding the attributes of the
business unit.public BusinessUnitEntity(BusinessUnit bu)
bu
- BusinessUnit object holding the attributes of the
business unit.Method Detail |
public PersonEntity getSupervisor() 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 setSupervisor(PersonEntity person) throws ModelCommunicationException, ObjectNotFoundException
person
- PersonEntity representing the new supervisor.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ObjectNotFoundException
- Thrown if unable to locate the
business unit 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 |