Class AccountData

java.lang.Object
oracle.iam.provisioning.vo.AccountData
All Implemented Interfaces:
Serializable

public class AccountData extends Object implements 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 Details

  • Constructor Details

    • AccountData

      public AccountData(String formKey, String udTablePrimaryKey, Map<String,Object> parentData)
      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

      public String getFormKey()
      This method returns process form key (SDK_KEY) of an account.
      Returns:
      Process form key (SDK_KEY)
    • getUdTablePrimaryKey

      public String 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

      public Map<String,Object> getData()
      This method returns the account attributes in key-value format.
      Returns:
      Map containing UD_PARENT_FIELD_NAME and its value.
    • getEntitlements

      public Map<Long,List<EntitlementInstance>> 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

      public void setEntitlements(Map<Long,List<EntitlementInstance>> entitlements)
      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

      public Map<String,ArrayList<ChildTableRecord>> 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

      public void setChildData(Map<String,ArrayList<ChildTableRecord>> childData)
      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

      public void addSingleChildData(String formName, ChildTableRecord childTableRecord)
    • addChildData

      public void addChildData(Map<String,ArrayList<ChildTableRecord>> ChildTableRecordMap)
    • toString

      public String toString()
      Overrides:
      toString in class Object