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

java.lang.Object
  |
  +--com.ibm.itim.dataservices.model.DirectoryObjectEntity
        |
        +--com.ibm.itim.dataservices.model.domain.OrganizationalContainerEntity
              |
              +--com.ibm.itim.dataservices.model.domain.OrganizationEntity
All Implemented Interfaces:
java.io.Serializable

public class OrganizationEntity
extends OrganizationalContainerEntity

Class that represents an organization in the logical organization chart within the data model. The organization is the root of an organization chart, but there may be more than one organization chart within a single system, or tenant, within the data model.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity
ORGANIZATION, PARENT
 
Constructor Summary
OrganizationEntity(ObjectProfile profile, Organization org)
          Constructs with the given value object and object profile.
OrganizationEntity(Organization org)
          Constructs with the given value object.
 
Method Summary
 CompoundDN getLogicalNameContext()
          Returns the compound distinguished name structure that can be used as a context for searching for entities contained within this container or placing entities within this container.
 void remove()
          Removes the entity from the data store.
 
Methods inherited from class com.ibm.itim.dataservices.model.domain.OrganizationalContainerEntity
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, setLifecycle, toString, update, update
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrganizationEntity

public OrganizationEntity(Organization org)
Constructs with the given value object.

Parameters:
org - Organizational value object.

OrganizationEntity

public OrganizationEntity(ObjectProfile profile,
                          Organization org)
Constructs with the given value object and object profile.

Parameters:
profile - ObjectProfile identifying the type of organization.
org - Organization value object.
Method Detail

getLogicalNameContext

public CompoundDN getLogicalNameContext()
Returns the compound distinguished name structure that can be used as a context for searching for entities contained within this container or placing entities within this container.

Overrides:
getLogicalNameContext in class OrganizationalContainerEntity
Returns:
CompoundDN representing the context.

remove

public void remove()
            throws ModelCommunicationException,
                   ObjectNotFoundException,
                   ModelRemoveException
Removes the entity from the data store. The object is copied to the recycle bin before being deleted.

Overrides:
remove in class DirectoryObjectEntity
Throws:
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 already been removed by another client.
ModelRemoveException - Thrown if unable to remove an object of the data store.


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.