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

java.lang.Object
  extended by com.ibm.itim.dataservices.model.DirectoryObjectEntity
      extended by com.ibm.itim.dataservices.model.domain.OrganizationalContainerEntity
          extended by com.ibm.itim.dataservices.model.domain.OrganizationEntity
All Implemented Interfaces:
com.ibm.itim.util.Sortable, 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
 
Fields inherited from interface com.ibm.itim.util.Sortable
ATTR_NAME
 
Constructor Summary
OrganizationEntity(DirectoryObject org)
          Constructs an OrganizationEntity with the DirectoryObject.
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, getObjectCategory, getParent, getParentDN, getProfile, getRelationship, getSortValue, getSupportedRelationships, hashCode, initialize, initialize, 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(DirectoryObject org)
Constructs an OrganizationEntity with the DirectoryObject.

Parameters:
org - DirectoryObject containing the attributes of Organization.

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 Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.