|
|||||||||||
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.OrganizationFactory
Factory class for creating organizations in the data store.
OrganizationEntity
Constructor Summary | |
---|---|
OrganizationFactory()
Default constructor. |
Method Summary | |
---|---|
OrganizationEntity |
create(DistinguishedName tenantDN,
Organization org)
Creates an organization in the data store with the given value object to define the organization's attributes. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OrganizationFactory()
Method Detail |
public OrganizationEntity create(DistinguishedName tenantDN, Organization org) throws ModelCommunicationException, ModelCreationException
tenantDN
- Distinguished name of the system root (tenant) under
which the organization is to be created.org
- Organization value object to 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 |