|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogicalAttributeContext
Provides read and write access to the logical attribute(s) and any associated
physical attributes for a particular logical attribute scheme.
This interface also provides access to IMContext
information about the current task, to ProviderAccessor
methods for direct access to the managed objects in the data store, and to
logging methods and other Identity Manager services.
Identity Manager passes LogicalAttributeContext
into
each method it calls in LogicalAttributeAdapter
.
There are two types of names associated with logical and physical attributes.
Both are defined in the Identity Manager Management Console, through the
following fields on the Logical Attribute Handler Properties screen:
LogicalAttribteContext
methods
getLogicalAttributeName()
and
getPhysicalAttributeName()
to
retrieve the logical or physical attribute name that corresponds to the ID.
LogicalAttribteContext
methods are the names defined in
Attribute Name.
Method Summary | |
---|---|
java.util.Vector |
getLogicalAttributeMultiValue(java.lang.String logicalAttributeName)
Retrieves a Vector of all the values in a multi-value logical attribute. |
java.lang.String |
getLogicalAttributeName(java.lang.String propertyName)
Retrieves the logical attribute name that corresponds to the specified logical attribute ID. |
java.util.Enumeration |
getLogicalAttributeNames()
Retrieves the names of all the logical attributes associated with the current task. |
java.lang.String |
getLogicalAttributeValue(java.lang.String attributeName)
Retrieves the value of the specified logical attribute. |
java.util.Vector |
getPhysicalAttributeMultiValue(java.lang.String physicalName)
Retrieves a Vector of all the values in a multi-value physical attribute. |
java.lang.String |
getPhysicalAttributeName(java.lang.String propertyName)
Retrieves the physical attribute name that corresponds to the specified physical attribute ID. |
java.util.Enumeration |
getPhysicalAttributesNames()
Retrieves the names of all the physical attributes associated with the current task. |
java.lang.String |
getPhysicalAttributeValue(java.lang.String attributeName)
Retrieves the value of the specified physical attribute. |
boolean |
isLogicalAttributeMultiValue(java.lang.String logicalAttributeName)
Determines whether the specified logical attribute is a multi-value attribute or a single-value attribute. |
boolean |
isPhysicalAttributeMultiValue(java.lang.String physicalAttributeName)
Determines whether the specified physical attribute is a multi-value attribute or a single-value attribute. |
void |
setLogicalAttributeMultiValue(java.lang.String logicalAttributeName,
java.util.Vector values)
Assigns multiple values to the specified logical attribute. |
void |
setLogicalAttributeValue(java.lang.String attributeName,
java.lang.String attributeValue)
Assigns a value to the specified logical attribute. |
void |
setPhysicalAttributeMultiValue(java.lang.String physicalAttributeName,
java.util.Vector values)
Assigns multiple values to the specified physical attribute. |
void |
setPhysicalAttributeValue(java.lang.String attributeName,
java.lang.String attributeValue)
Assigns a value to the specified physical attribute. |
Methods inherited from interface com.netegrity.imapi.IMContext |
---|
getAuxDataRoot, getLocalizer, getLocalizer, getSessionAttribute, removeSessionAttribute, setSessionAttribute |
Methods inherited from interface com.netegrity.imapi.Logger |
---|
logDebugMessage, logErrorMessage, logInfoMessage, logWarningMessage |
Method Detail |
---|
java.lang.String getLogicalAttributeValue(java.lang.String attributeName)
attributeName
- The name of the logical attribute whose value is being retrieved.
java.lang.String getPhysicalAttributeValue(java.lang.String attributeName)
attributeName
- The name of the physical attribute whose value is being retrieved.
void setLogicalAttributeValue(java.lang.String attributeName, java.lang.String attributeValue) throws java.lang.Exception
attributeName
- The logical attribute being assigned a value.attributeValue
- The value to assign to the logical attribute.
java.lang.Exception
void setPhysicalAttributeValue(java.lang.String attributeName, java.lang.String attributeValue) throws java.lang.Exception
attributeName
- The physical attribute being assigned a value.attributeValue
- The value to assign to the physical attribute.
java.lang.Exception
java.util.Vector getLogicalAttributeMultiValue(java.lang.String logicalAttributeName)
logicalAttributeName
- The name of the multi-value logical attribute
whose values are being retrieved.
java.util.Vector getPhysicalAttributeMultiValue(java.lang.String physicalName)
physicalName
- The name of the multi-value physical attribute
whose values are being retrieved.
void setPhysicalAttributeMultiValue(java.lang.String physicalAttributeName, java.util.Vector values) throws java.lang.Exception
physicalAttributeName
- The name of the physical attribute to
which multiple values are being assigned.values
- The values being assigned to the physical attribute.
java.lang.Exception
void setLogicalAttributeMultiValue(java.lang.String logicalAttributeName, java.util.Vector values) throws java.lang.Exception
logicalAttributeName
- The name of the logical attribute to
which multiple values are being assigned.values
- The values being assigned to the logical attribute.
java.lang.Exception
boolean isLogicalAttributeMultiValue(java.lang.String logicalAttributeName)
logicalAttributeName
- The logical attribute in question.
true
if the attribute is a multi-value attribute, or
false
if it is a single-value attribute.boolean isPhysicalAttributeMultiValue(java.lang.String physicalAttributeName)
physicalAttributeName
- The physical attribute in question.
true
if the attribute is a multi-value attribute, or
false
if it is a single-value attribute.java.lang.String getLogicalAttributeName(java.lang.String propertyName)
LogicalAttributeContext
methods that set or retrieve logical attribute values.
propertyName
- The attribute ID as defined in the Name field
of the Logical Attribute Properties dialog box of the Identity Manager
Management Console.
java.lang.String getPhysicalAttributeName(java.lang.String propertyName)
LogicalAttributeContext
methods that set or retrieve physical attribute values.
propertyName
- The attribute ID as defined in the Name field
of the Logical Attribute Properties dialog box of the Identity Manager
Management Console.
java.util.Enumeration getLogicalAttributeNames()
java.util.Enumeration getPhysicalAttributesNames()
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |