public class OrganizationEntity extends OrganizationalContainerEntity
ORGANIZATION, PARENT| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getOrganization, getParentContainer, hasDependencies, moveOrgTreeequals, getDirectoryObject, getDistinguishedName, getEntity, getLifecycle, getObjectCategory, getParent, getParentDN, getProfile, getRelationship, getSortValue, getSupportedRelationships, hashCode, initialize, initialize, isSupportedRelationship, remove, setLifecycle, toString, update, updatepublic OrganizationEntity(Organization org)
org - Organizational value object.public OrganizationEntity(DirectoryObject org)
org - DirectoryObject containing the attributes of Organization.public OrganizationEntity(ObjectProfile profile, Organization org)
profile - ObjectProfile identifying the type of organization.org - Organization value object.public CompoundDN getLogicalNameContext()
getLogicalNameContext in class OrganizationalContainerEntitypublic void remove()
throws ModelCommunicationException,
ObjectNotFoundException,
ModelRemoveException
remove in class DirectoryObjectEntityModelCommunicationException - 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.