|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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 FormField Summary | |
static java.lang.String |
ATTR_ACCESS_RIGHT
AccessRight xml string used by enRole for authorization control |
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 to change access rights to the object. |
java.util.Map |
getMapAttributeNames()
Returns a set of map attributes to the semantic attributes. |
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()
Returns Name attribute of the directory object. |
java.lang.String |
getProfileName()
Returns the name of the profile associates to the 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. |
AttributeValue |
removeAttribute(AttributeValue attribute)
Removes the attribute with the given name from the set of attributes for the 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 |
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
Method Detail |
public java.lang.String getName()
public java.lang.String getNameAttribute()
public java.util.Collection getAccessRights()
getAccessRights
in interface ProtectedObject
public void setAccessRights(java.util.Collection rights)
setAccessRights
in interface ProtectedObject
rights
- Collection of AccessRight objects.public AttributeValues getRawAttributes()
public java.util.Map getMapAttributeNames()
public AttributeValues getAttributes()
getAttributes
in class DirectoryEntry
public AttributeValues getMappedAttributes()
public void setAttributes(AttributeValues attributes)
setAttributes
in class DirectoryEntry
attributes
- Collection of AttributeValues.public AttributeValue getAttribute(java.lang.String name)
getAttribute
in class DirectoryEntry
name
- Name of the attribute to retrieve.public void addAttribute(AttributeValue attribute)
addAttribute
in class DirectoryEntry
attribute
- 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 DirectoryEntry
attributeName
- String name of the attribute to remove.public AttributeValue removeAttribute(AttributeValue attribute)
removeAttribute
in class DirectoryEntry
attribute
- 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 void setAttribute(AttributeValue attribute)
setAttribute
in class DirectoryEntry
attribute
- AttributeValue to change with.public java.util.Collection getAuthorizationOwners()
getAuthorizationOwners
in interface ProtectedObject
public void setAuthorizationOwners(java.util.Collection owners)
setAuthorizationOwners
in interface ProtectedObject
owners
- Collection of AuthorizationOwner objects.public DistinguishedName getTenantDN()
public void setTenantDN(DistinguishedName tenantDN)
The
- DistinguishedName of the tenant.public java.lang.String getProfileName()
public void setProfileName(java.lang.String profileName)
profileName
- New profile name.public java.lang.String toString()
toString
in class DirectoryEntry
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |