Package oracle.iam.provisioning.vo
Class AccountData
java.lang.Object
oracle.iam.provisioning.vo.AccountData
- All Implemented Interfaces:
Serializable
This class represents the entire account data. It incorporates the
parent form data, and child form data for one or more child tables.
- Since:
- 11.1.2.0.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildData
(Map<String, ArrayList<ChildTableRecord>> ChildTableRecordMap) void
addSingleChildData
(String formName, ChildTableRecord childTableRecord) This method returns the Map containing the child table records.getData()
This method returns the account attributes in key-value format.This method returns the list of provisioned EntitlementInstance for each child form associated to parent form.This method returns process form key (SDK_KEY) of an account.This method returns primary key of an entry in UD_PARENT_KEY of an account.void
setChildData
(Map<String, ArrayList<ChildTableRecord>> childData) This method sets the Map containing the child table records.void
setEntitlements
(Map<Long, List<EntitlementInstance>> entitlements) This method sets the Map containing EntitlementInstances for each child table associated with parent form.toString()
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
AccountData
This constructor is used to populate AccountData value object for an already provisioned account.- Parameters:
formKey
- - This is a form key (SDK_KEY)udTablePrimaryKey
- - This is a unique key for an entry in UD_PARENT table.parentData
- - This is UD_PARENT data for account attributes. Key in this map is UD_PARENT_FIELD and value if the value of the field.
-
-
Method Details
-
getFormKey
This method returns process form key (SDK_KEY) of an account.- Returns:
- Process form key (SDK_KEY)
-
getUdTablePrimaryKey
This method returns primary key of an entry in UD_PARENT_KEY of an account.- Returns:
- primary key of an entry in UD_PARENT_KEY of an account.
-
getData
This method returns the account attributes in key-value format.- Returns:
- Map containing UD_PARENT_FIELD_NAME and its value.
-
getEntitlements
This method returns the list of provisioned EntitlementInstance for each child form associated to parent form. The key in the map holds the SDK_KEY of the UD_CHILD table and value is the the list of EntitlementInstance value object.- Returns:
- The map containing the UD_CHILD_KEY and EntitlementInstance for each child key.
-
setEntitlements
This method sets the Map containing EntitlementInstances for each child table associated with parent form.- Parameters:
entitlements
- Map containing EntitlementInstnces for each child table associated with parent form. The key of the map is the child form key (SDK_KEY of the child form).
-
getChildData
This method returns the Map containing the child table records. The key of the map is the child form name. The vale in the map is the List of ChildTableRecord. ChildTableRecord represents a row in a UD_CHILD table.- Returns:
- Map with key as child table name and value a list of ChildTableRecord
- See Also:
-
setChildData
This method sets the Map containing the child table records. The key of the map is the child form name. The vale in the map is the List of ChildTableRecord. ChildTableRecord represents a row in a UD_CHILD table.- See Also:
-
addSingleChildData
-
addChildData
-
toString
-