Class Beneficiary

java.lang.Object
oracle.iam.request.vo.Beneficiary
All Implemented Interfaces:
Serializable

public class Beneficiary extends Object implements Serializable
This value object stores beneficiary information associated with a request. Beneficiary exists only for following request types
  • Assign Roles
  • Remove from Roles
  • Provision Application Instance
  • Modify Account
  • Enable Account
  • Disable Account
  • Revoke Account
  • Provision Entitlement
  • Revoke Entitlement
  • Modify Entitlement
See Also:
  • Field Details

    • USER_BENEFICIARY

      public static final String USER_BENEFICIARY
      A constant for User beneficiary-type.
      See Also:
    • ORG_BENEFICIARY

      public static final String ORG_BENEFICIARY
      A constant for Organization beneficiary-type.
      See Also:
  • Constructor Details

    • Beneficiary

      public Beneficiary()
      Constructs a default Beneficiary object
    • Beneficiary

      public Beneficiary(String beneficiaryType, String beneficiaryKey)
      Constructs a Beneficiary object by using specified beneficiary details
      Parameters:
      beneficiaryType - Beneficiary type i.e. "User"
      beneficiaryKey - Beneficiary key i.e. User key
  • Method Details

    • setBeneficiaryType

      public void setBeneficiaryType(String beneficiaryType)
      Sets the beneficiary type in this object.
      Parameters:
      beneficiaryType - Beneficiary type i.e. "User"
    • getBeneficiaryType

      public String getBeneficiaryType()
      Gets the beneficiary type associated with this object
      Returns:
      beneficiary type
    • getBeneficiaryKey

      public String getBeneficiaryKey()
      Gets the user key for this beneficiary
      Returns:
      beneficiary key
    • getTargetEntities

      public List<RequestBeneficiaryEntity> getTargetEntities()
      Gets a list of entities , i.e. Resource, Resource instance or Role,associated with a beneficiary.
      Returns:
      List of entities - resource, resource instance or roles based on request type.
    • setTargetEntities

      public void setTargetEntities(List<RequestBeneficiaryEntity> beneficiarytEntities)
      Sets a list of entities i.e. Resource, Resource instance or Role,with this beneficiary.
      Parameters:
      beneficiarytEntities - Entities i.e Resource, Resource instance or Role.