|
|||||||||
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) |
java.lang.String |
disableUser() Deprecated. |
java.lang.String |
enableObject(java.lang.String objectType) |
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) |
java.lang.String |
updateAttributeValues(java.lang.String objectType, java.util.Map fields, java.util.Map oldFields) |
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 ProviderMethod Detail |
---|
public java.lang.String addChildTableValue(java.lang.String objectType, java.lang.String childTableName, long childPrimaryKey)
objectType
- Object Type, can't be nullchildTableName
- Child table name which is being updatedchildPrimaryKey
- Child primary key representing the new row added into child rowpublic java.lang.String removeChildTableValue(java.lang.String objectType, java.lang.String childTableName, java.lang.Integer taskInstanceKey)
objectType
- 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)
objectType
- 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 rowString
public 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)
objectType
- Object Type, can't be nullString
public java.lang.String deleteObject(java.lang.String objectType)
objectType
- Object Type, can't be nullString
public java.lang.String updateAttributeValue(java.lang.String objectType, java.lang.String attrFieldName)
objectType
- 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 updatedpublic java.lang.String updateAttributeValues(java.lang.String objectType, java.util.Map fields)
public java.lang.String updateAttributeValues(java.lang.String objectType, java.util.Map fields, java.util.Map oldFields)
public java.lang.String updateChildTableValues(java.lang.String objectType, java.lang.String childTableName)
objectType
- 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()
@Deprecated
public java.lang.String disableUser()
public java.lang.String enableObject(java.lang.String objectType)
public java.lang.String disableObject(java.lang.String objectType)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |