|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.iam.connectors.icfcommon.prov.ICProvisioningManager
public final class ICProvisioningManager
Common Provisioning Manager for ICF based connectors. Methods in this class should be used by OIM Connector's adapter tasks.
| Constructor Summary | |
|---|---|
ICProvisioningManager(java.lang.String itResourceFieldName, long processInstanceKey, com.thortech.xl.dataaccess.tcDataProvider dataProvider)Creates instance of ICProvisioningManager |
|
| Method Summary | |
|---|---|
java.lang.String |
addChildTableValue(java.lang.String objectType, java.lang.String childTableName, long childPrimaryKey)Updates the target by adding the newly added row in child table. |
java.lang.String |
createObject(java.lang.String objectType)Creates object of specified type on target resource, the values are taken from current Form |
java.lang.String |
deleteObject(java.lang.String objectType)Deletes object of specified type on target resource |
java.lang.String |
disableObject(java.lang.String objectType)Disables current object on target resource |
java.lang.String |
disableUser()Deprecated. |
java.lang.String |
enableObject(java.lang.String objectType)Enables current object on target resource |
java.lang.String |
enableUser()Deprecated. |
java.lang.String |
removeChildTableValue(java.lang.String objectType, java.lang.String childTableName, java.lang.Integer taskInstanceKey)Updates the target by removing the row which was just deleted from child table |
void |
setEffectiveITResourceName(java.lang.String itResourceName)If the connector needs to use different IT Resource for provisioning operations, it can be set by this method |
void |
setOperationOptions(java.util.Map options)Sets OperationOptions which are going to be used for any provisioning operation called on this instance. |
java.lang.String |
updateAttributeValue(java.lang.String objectType, java.lang.String attrFieldName)Updates object on target resource, only the attribute with the provided label is updated |
java.lang.String |
updateAttributeValues(java.lang.String objectType, java.util.Map fields)Updates multiple attributes on target resource |
java.lang.String |
updateAttributeValues(java.lang.String objectType, java.util.Map fields, java.util.Map oldFields)Updates multiple attributes on target resource (including original value a.k.a CURRENT_ATTRIBUTES) |
java.lang.String |
updateAttributeValues(java.lang.String objectType, java.lang.String[] labels)Use this method if there is a group update of fields. |
java.lang.String |
updateChildTableValue(java.lang.String objectType, java.lang.String childTableName, java.lang.Integer taskInstanceKey, long childPrimaryKey)Updates the target by removing the deleted row and adding the newly created row |
java.lang.String |
updateChildTableValues(java.lang.String objectType, java.lang.String childTableName)Updates values provided in child table on target resource |
java.lang.String |
updatePassword(java.lang.String objectType, java.lang.String pswdFieldLabel, java.lang.String oldPassword)Use this method in Adapter ONLY if you need to provide old password value, currently there is no way to get the old value using the formAPI. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ICProvisioningManager(java.lang.String itResourceFieldName,
long processInstanceKey,
com.thortech.xl.dataaccess.tcDataProvider dataProvider)
itResourceFieldName - ITResource Field NameprocessInstanceKey - Process Instance KeydataProvider - OIM Data Provider| Method Detail |
|---|
public java.lang.String addChildTableValue(java.lang.String objectType,
java.lang.String childTableName,
long childPrimaryKey)
addChildTableValue in interface ProvisioningManagerobjectType - Object Type, can't be nullchildTableName - Child table name which is being updatedchildPrimaryKey - Child primary key representing the new row added into child row
public java.lang.String removeChildTableValue(java.lang.String objectType,
java.lang.String childTableName,
java.lang.Integer taskInstanceKey)
removeChildTableValue in interface ProvisioningManagerobjectType - Object Type, can't be nullchildTableName - Child table name which is being updatedtaskInstanceKey - Task instance key responsible for deleting the row from child tableString
public java.lang.String updateChildTableValue(java.lang.String objectType,
java.lang.String childTableName,
java.lang.Integer taskInstanceKey,
long childPrimaryKey)
updateChildTableValue in interface ProvisioningManagerobjectType - Object Type, can't be nullchildTableName - Child table name which is being updatedtaskInstanceKey - Task instance key responsible for deleting the row from child tablechildPrimaryKey - Child primary key representing the new row added into child rowStringpublic void setEffectiveITResourceName(java.lang.String itResourceName)
itResourceName - IT Resource Name which will be used for provisioning operationspublic void setOperationOptions(java.util.Map options)
Sets OperationOptions which are going to be used for any provisioning operation called on this instance. This is helpfull in cases when OIM Process/Adapter needs to set some operation option explicitly.
Note ICF INTG has also way of mapping the form fields to operation options.
If both ways are used the the maps are going to be merged into one (options set by this method are used first, the form field mapping can override them)
options - Map of operation options to setpublic java.lang.String createObject(java.lang.String objectType)
createObject in interface ProvisioningManagerobjectType - Object Type, can't be nullStringpublic java.lang.String deleteObject(java.lang.String objectType)
deleteObject in interface ProvisioningManagerobjectType - Object Type, can't be nullString
public java.lang.String updateAttributeValue(java.lang.String objectType,
java.lang.String attrFieldName)
updateAttributeValue in interface ProvisioningManagerobjectType - Object Type to update, can't be nullattrFieldName - Field Label to update, can't be nullString
public java.lang.String updateAttributeValues(java.lang.String objectType,
java.lang.String[] labels)
objectType - Object Typelabels - List of attribute field names to be updated
public java.lang.String updateAttributeValues(java.lang.String objectType,
java.util.Map fields)
ProvisioningManagerupdateAttributeValues in interface ProvisioningManagerobjectType - Object Type, can't be nullfields - Map of field names/values which needs to be updatedString
public java.lang.String updateAttributeValues(java.lang.String objectType,
java.util.Map fields,
java.util.Map oldFields)
ProvisioningManagerupdateAttributeValues in interface ProvisioningManagerobjectType - Object Type, can't be nullfields - Map of field names/values which needs to be updatedoldFields - Map of field names/values with values before they were updatedString
public java.lang.String updateChildTableValues(java.lang.String objectType,
java.lang.String childTableName)
updateChildTableValues in interface ProvisioningManagerobjectType - ObjectType, can't be nullchildTableName - Child table name which was changedString
public java.lang.String updatePassword(java.lang.String objectType,
java.lang.String pswdFieldLabel,
java.lang.String oldPassword)
ICProvisioningManager.updateAttributeValue(String, String) method instead.objectType - Object TypepswdFieldLabel - Password Field LabeloldPassword - Old Password Value
@Deprecated
public java.lang.String enableUser()
ProvisioningManager.enableObject(String) insteadenableUser in interface ProvisioningManagerString
@Deprecated
public java.lang.String disableUser()
ProvisioningManager.disableObject(String) insteaddisableUser in interface ProvisioningManagerStringpublic java.lang.String enableObject(java.lang.String objectType)
enableObject in interface ProvisioningManagerobjectType - ObjectType, can't be nullStringpublic java.lang.String disableObject(java.lang.String objectType)
disableObject in interface ProvisioningManagerobjectType - ObjectType, can't be nullString
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||