com.ibm.itim.dataservices.model.domain
Class OrganizationFactory

java.lang.Object
  |
  +--com.ibm.itim.dataservices.model.domain.OrganizationFactory

public class OrganizationFactory
extends java.lang.Object

Factory class for creating organizations in the data store.

See Also:
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

OrganizationFactory

public OrganizationFactory()
Default constructor.

Method Detail

create

public OrganizationEntity create(DistinguishedName tenantDN,
                                 Organization org)
                          throws ModelCommunicationException,
                                 ModelCreationException
Creates an organization in the data store with the given value object to define the organization's attributes.

Parameters:
tenantDN - Distinguished name of the system root (tenant) under which the organization is to be created.
org - Organization value object to use for creation.
Throws:
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.


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.