|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.dataservices.model.domain.BusinessUnitFactory
Factory class for creating business units in the data store.
BusinessUnitEntity
Constructor Summary | |
---|---|
BusinessUnitFactory()
Default constructor. |
Method Summary | |
---|---|
BusinessUnitEntity |
create(CompoundDN logicalContext,
BusinessUnit businessUnit)
Creates a business unit in the data store with the given value object to define the business unit's attributes. |
BusinessUnitEntity |
create(OrganizationalContainerEntity logicalContext,
BusinessUnit businessUnit)
Creates a business unit in the data store with the given value object to define the business unit's attributes. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BusinessUnitFactory()
Method Detail |
public BusinessUnitEntity create(OrganizationalContainerEntity logicalContext, BusinessUnit businessUnit) throws ModelCommunicationException, ModelCreationException
logicalContext
- OrganizationalContainerEntity under which this
entity should logically be placed.businessUnit
- BusinessUnit value object use for creation.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ModelCreationException
- Thrown if unable to create the
entity in the data store. Most likely due to some sort of
schema violation caused by improper attributes set in the
value object.public BusinessUnitEntity create(CompoundDN logicalContext, BusinessUnit businessUnit) throws ModelCommunicationException, ModelCreationException
logicalContext
- CompoundDN that defines the placement of the business unit.
At least one (1) element and at most two (2)
are expected:
businessUnit
- BusinessUnit value object use for creation.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ModelCreationException
- Thrown if unable to create the
entity in the data store. Most likely due to some sort of
schema violation caused by improper attributes set in the
value object.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |