|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.ibm.itim.dataservices.model.DirectoryEntry
|
+--com.ibm.itim.dataservices.model.DirectoryObject
Value Object class for a directory entry.
DirectoryObjectEntity,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
ATTR_ACCESS_RIGHT
AccessRight xml string used by enRole for authorization control |
static java.lang.String |
ATTR_LIFECYCLE_ENABLE
flag to determine if the entity has lifecycle profile |
| Constructor Summary | |
|---|---|
DirectoryObject()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addAttribute(AttributeValue attribute)
Adds the given attribute and value to the set of attributes for the object. |
java.util.Collection |
getAccessRights()
Returns a collection of access rights associated with the object. |
AttributeValue |
getAttribute(java.lang.String name)
Retrieves one attribute (with applied system semantics if needed) by name from the object. |
AttributeValues |
getAttributes()
Returns the attributes of the object, including the union of semantic and raw attributes. |
java.util.Collection |
getAuthorizationOwners()
Returns a collection of entities who are authorized to change access rights to the object. |
java.util.Map |
getMapAttributeNames()
Returns a map of semantic attribute name to the raw attribute name. |
AttributeValues |
getMappedAttributes()
Returns the attributes of the object with all applicable system semantics. |
java.lang.String |
getName()
Returns the logical name of the object. |
java.lang.String |
getNameAttribute()
Gets the attribute name of name attribute for this directory object. |
AttributeValues |
getOldMappedAttributes()
Returns the old attributes of the object with all applicable system semantics. |
java.lang.String |
getProfileName()
Returns the name of the profile associated with this object |
AttributeValues |
getRawAttributes()
Returns the attributes of the object without any system semantics. |
DistinguishedName |
getTenantDN()
Returns the distinguished name for the tenant this object resides in. |
boolean |
isLifecycleDefined()
Returns whether the entity has an lifecycle characteristics directly defined. |
AttributeValue |
removeAttribute(AttributeValue attribute)
Removes the attribute by attribute value object. |
AttributeValue |
removeAttribute(AttributeValue attribute,
boolean isCompareLowerCase)
Removes the attribute by attribute value object. |
AttributeValue |
removeAttribute(java.lang.String attributeName)
Removes the attribute with the given name from the set of attributes for the object. |
void |
setAccessRights(java.util.Collection rights)
Replaces the access rights of the object. |
void |
setAttribute(AttributeValue attribute)
Changes the specifified attribute (with applied system semantics if needed). |
void |
setAttributes(AttributeValues attributes)
Replaces the attributes of the object using system semantics. |
void |
setAuthorizationOwners(java.util.Collection owners)
Replaces the entities authorized to change access rights of the object. |
void |
setProfileName(java.lang.String profileName)
Changes the profile name. |
void |
setTenantDN(DistinguishedName tenantDN)
Sets the distinguished name for the tenant this object resides in. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class com.ibm.itim.dataservices.model.DirectoryEntry |
|---|
clearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String ATTR_ACCESS_RIGHT
public static final java.lang.String ATTR_LIFECYCLE_ENABLE
| Constructor Detail |
public DirectoryObject()
| Method Detail |
public java.lang.String getName()
public java.lang.String getNameAttribute()
public java.util.Collection getAccessRights()
getAccessRights in interface ProtectedObjectpublic void setAccessRights(java.util.Collection rights)
setAccessRights in interface ProtectedObjectrights - Collection of AccessRight objects.public AttributeValues getRawAttributes()
public java.util.Map getMapAttributeNames()
public AttributeValues getAttributes()
getAttributes in class DirectoryEntrypublic AttributeValues getMappedAttributes()
public AttributeValues getOldMappedAttributes()
public void setAttributes(AttributeValues attributes)
setAttributes in class DirectoryEntryattributes - Collection of AttributeValues.public AttributeValue getAttribute(java.lang.String name)
getAttribute in class DirectoryEntryname - Name of the attribute to retrieve.
public void addAttribute(AttributeValue attribute)
addAttribute in class DirectoryEntryattribute - AttributeValue to add. Note: the attribute must be
compliant with the object's schema or an exception will be
thrown when updating the data store.public AttributeValue removeAttribute(java.lang.String attributeName)
removeAttribute in class DirectoryEntryattributeName - String name of the attribute to remove.
public AttributeValue removeAttribute(AttributeValue attribute)
removeAttribute in class DirectoryEntryattribute - AttributeValue to be removed. Note: the attribute must be
compliant with the object's schema or an exception will be
thrown when updating the data store.
public AttributeValue removeAttribute(AttributeValue attribute,
boolean isCompareLowerCase)
removeAttribute in class DirectoryEntryattribute - AttributeValue to be removed. Note: the attribute must be
compliant with the object's schema or an exception will be
thrown when updating the data store.isCompareLowerCase - boolean value.If it is true, attribute values will be
first converted to lowercase and then compared.
public void setAttribute(AttributeValue attribute)
setAttribute in class DirectoryEntryattribute - AttributeValue to change with.public java.util.Collection getAuthorizationOwners()
getAuthorizationOwners in interface ProtectedObjectpublic void setAuthorizationOwners(java.util.Collection owners)
setAuthorizationOwners in interface ProtectedObjectowners - Collection of AuthorizationOwner objects.public DistinguishedName getTenantDN()
public void setTenantDN(DistinguishedName tenantDN)
tenantDN - The DistinguishedName of the tenant.public java.lang.String getProfileName()
public void setProfileName(java.lang.String profileName)
profileName - New profile name.public boolean isLifecycleDefined()
public java.lang.String toString()
toString in class DirectoryEntry
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||