Package oracle.iam.provisioning.vo
Class Entitlement
java.lang.Object
oracle.iam.provisioning.vo.Entitlement
- All Implemented Interfaces:
Serializable
This value object represents an Entitlement definition.
Since Entitlement is a first class entity, it is represented by this value object.
The child table field is considered as Entitlement if the property Entitlement = true is marked for the
child table form field. Child form fields of type LookupField are generally marked with this property.
The values (records) for such lookup field are reconciled from target system via Reconciliation Lookup schedule Job,
which brings these records into LKV table. Then "ENT_LIST Job" is run to populate lookup entries marked as
Entitlement into ENT_LIST table. When Catalog Synchronization job is run, all valid Entitlements are populated
in CATALOG table, which are available for request via Catalog feature.
Thus, the flow if data for Entitlement population is as follows:
Target System --> LKV --> ENT_LIST --> CATALOG
- Since:
- 11.1.2.0.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Search configuration parameter - if the search result returns bulk of entitlements, this parameter is used to specify the ending row in case of paginationstatic final String
Search Criteria parameter - search by the description of the Entitlementstatic final String
Search Criteria parameter - search by the display name of the Entitlementstatic final String
Search Criteria parameter - search by the form field key (sdc_key) on which this entitlement is defined.static final String
Search Criteria parameter - search by the form key (child form) on which this entitlement is defined.static final String
Search Criteria parameter - search by the ITResource key for which this entitlement is defined.static final String
Search Criteria parameter - search by the primary key of the Entitlement in the ENT_LIST tablestatic final String
Search Criteria parameter - search by the lookup value key (lku_key)static final String
Search Criteria parameter - search by the the entitlement code (lkv_encoded)static final String
Search Criteria parameter - search by the resource object key for which this entitlement is defined.static final String
Search Criteria parameter - search by the field indicating if the entitlement is validstatic final String
Search Criteria parameter - search by the entitlement value (lkv_decoded)static final String
static final long
static final String
Search configuration parameter - if the search result returns bulk of entitlements, this parameter is used to specify the sortby columnstatic final String
Search configuration parameter - if the search result returns bulk of entitlements, this parameter is used to specify the sortorderstatic final String
Search configuration parameter - if the search result returns bulk of entitlements, this parameter is used to specify the starting row in case of pagination -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
This method gets the description of the Entitltment (ENT_DESCRIPTION).This method gets the display name of the Entitltment (ENT_DISPLAY_NAME).This method gets the Entitlement Code associated to the Entitltment (ENT_CODE).long
This method gets the primary key of the Entitltment (ENT_LIST_KEY)This method gets the Entitlement value associated to the Entitltment (ENT_VALUE).long
This method gets the form field key associated to Entitlement (SDC_KEY).long
This method gets the Form Key associated to the Entitltment (SDK_KEY).This method gets the form name to Entitlement (SDK_NAME).long
This method gets the ITResource Key associated to the Entitltment (SVR_KEY).long
This method gets the Lookup value Key associated to the Entitltment (LKV_KEY).long
This method gets the Resource Object Key associated to the Entitltment (OBJ_KEY).int
hashCode()
boolean
isValid()
This method checks if Entitlement is valid.void
setAppInstance
(ApplicationInstance appInstance) void
setChildForm
(FormInfo childForm) void
setDescription
(String description) This method sets the description of the Entitltment (ENT_DESCRIPTION).void
setDisplayName
(String displayName) This method sets the display name of the Entitltment (ENT_DISPLAY_NAME).void
setEntitlementCode
(String entitlementCode) This method sets the Entitlement Code to the Entitltment (ENT_CODE).void
setEntitlementKey
(long entitlementKey) This method sets the primary key of the Entitltment (ENT_LIST_KEY)void
setEntitlementValue
(String entitlementValue) This method sets the Entitlement value associated to the Entitltment (ENT_VALUE).void
setFormFieldKey
(long formFieldKey) This method sets the form field key to Entitlement (SDC_KEY).void
setFormKey
(long formKey) This method sets the Form Key to the Entitltment (SDK_KEY).void
setFormName
(String formName) This method sets the form name to Entitlement (SDK_NAME).void
setItResourceKey
(long itResourceKey) This method sets the ITResource Key to the Entitltment (SVR_KEY).void
setLookupValueKey
(long lookupValueKey) This method sets the Lookup value Key to the Entitltment (LKV_KEY).void
setObjectKey
(long objectKey) This method sets the Resource Object Key associated to the Entitltment (OBJ_KEY).void
setValid
(boolean isValid) This method sets if Entitlement is valid.toString()
This method returns the String representation of the Entitlement in the format, EntitlementCode: ITResourceKey: ResourceObjectKey
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
STARTROW
Search configuration parameter - if the search result returns bulk of entitlements, this parameter is used to specify the starting row in case of pagination- See Also:
-
ENDROW
Search configuration parameter - if the search result returns bulk of entitlements, this parameter is used to specify the ending row in case of pagination- See Also:
-
SORTORDER
Search configuration parameter - if the search result returns bulk of entitlements, this parameter is used to specify the sortorder- See Also:
-
SORTEDBY
Search configuration parameter - if the search result returns bulk of entitlements, this parameter is used to specify the sortby column- See Also:
-
OPERATIONCONTEXT
- See Also:
-
ENTITLEMENT_KEY
Search Criteria parameter - search by the primary key of the Entitlement in the ENT_LIST table- See Also:
-
ENTITLEMENT_NAME
Search Criteria parameter - search by the the entitlement code (lkv_encoded)- See Also:
-
ENTITLEMENT_VALUE
Search Criteria parameter - search by the entitlement value (lkv_decoded)- See Also:
-
ENTITLEMENT_DISPLAYNAME
Search Criteria parameter - search by the display name of the Entitlement- See Also:
-
ENTITLEMENT_DESCRIPTION
Search Criteria parameter - search by the description of the Entitlement- See Also:
-
ENTITLEMENT_OBJECTKEY
Search Criteria parameter - search by the resource object key for which this entitlement is defined.- See Also:
-
ENTITLEMENT_ITRESOURCEKEY
Search Criteria parameter - search by the ITResource key for which this entitlement is defined.- See Also:
-
ENTITLEMENT_VALID
Search Criteria parameter - search by the field indicating if the entitlement is valid- See Also:
-
ENTITLEMENT_FORMFIELDKEY
Search Criteria parameter - search by the form field key (sdc_key) on which this entitlement is defined.- See Also:
-
ENTITLEMENT_FORMKEY
Search Criteria parameter - search by the form key (child form) on which this entitlement is defined.- See Also:
-
ENTITLEMENT_LOOKUPVALUEKEY
Search Criteria parameter - search by the lookup value key (lku_key)- See Also:
-
-
Constructor Details
-
Entitlement
public Entitlement()
-
-
Method Details
-
getEntitlementKey
public long getEntitlementKey()This method gets the primary key of the Entitltment (ENT_LIST_KEY)- Returns:
- The primary key of the Entitlement.
-
setEntitlementKey
public void setEntitlementKey(long entitlementKey) This method sets the primary key of the Entitltment (ENT_LIST_KEY)- Parameters:
entitlementKey
- The primary key of the Entitlement.
-
getDisplayName
This method gets the display name of the Entitltment (ENT_DISPLAY_NAME). By default LKV_DECODED is the Entitlement display name. However, one can call Entitlement management API to set the new display name for the Entitlement.- Returns:
- display name of the Entitlement.
-
setDisplayName
This method sets the display name of the Entitltment (ENT_DISPLAY_NAME).- Parameters:
displayName
- display name of the Entitlement.
-
getDescription
This method gets the description of the Entitltment (ENT_DESCRIPTION).- Returns:
- the description of the Entitltment.
-
setDescription
This method sets the description of the Entitltment (ENT_DESCRIPTION).- Parameters:
description
- the description of the Entitltment.
-
getObjectKey
public long getObjectKey()This method gets the Resource Object Key associated to the Entitltment (OBJ_KEY).- Returns:
- the Resource Object Key.
-
setObjectKey
public void setObjectKey(long objectKey) This method sets the Resource Object Key associated to the Entitltment (OBJ_KEY).- Parameters:
objectKey
- the Resource Object Key.
-
getItResourceKey
public long getItResourceKey()This method gets the ITResource Key associated to the Entitltment (SVR_KEY). There can be multiple Entitlements available in the system with same display name, but with different ITResource Key.- Returns:
- the ITResource Key associated to the Entitltment (SVR_KEY).
-
setItResourceKey
public void setItResourceKey(long itResourceKey) This method sets the ITResource Key to the Entitltment (SVR_KEY).- Parameters:
itResourceKey
-
-
getFormKey
public long getFormKey()This method gets the Form Key associated to the Entitltment (SDK_KEY).- Returns:
- the Form Key associated to the Entitltment (SDK_KEY).
-
setFormKey
public void setFormKey(long formKey) This method sets the Form Key to the Entitltment (SDK_KEY).- Parameters:
formKey
- the Form Key associated to the Entitltment (SDK_KEY).
-
getLookupValueKey
public long getLookupValueKey()This method gets the Lookup value Key associated to the Entitltment (LKV_KEY).- Returns:
- the Lookup value Key associated to the Entitltment (LKV_KEY).
-
setLookupValueKey
public void setLookupValueKey(long lookupValueKey) This method sets the Lookup value Key to the Entitltment (LKV_KEY).- Parameters:
lookupValueKey
- the Lookup value Key to the Entitltment (LKV_KEY).
-
getEntitlementCode
This method gets the Entitlement Code associated to the Entitltment (ENT_CODE). This will be same as LKV_ENCODED- Returns:
- the Entitlement Code associated to the Entitltment (ENT_CODE).
-
setEntitlementCode
This method sets the Entitlement Code to the Entitltment (ENT_CODE). This will be same as LKV_ENCODED- Parameters:
entitlementCode
-
-
getEntitlementValue
This method gets the Entitlement value associated to the Entitltment (ENT_VALUE).- Returns:
- the Entitlement value associated to the Entitltment (ENT_VALUE).
-
setEntitlementValue
This method sets the Entitlement value associated to the Entitltment (ENT_VALUE).- Parameters:
entitlementValue
- the Entitlement value associated to the Entitltment (ENT_VALUE).
-
isValid
public boolean isValid()This method checks if Entitlement is valid. If ApplicationInstance and/or ITResource and/or ResourceObject is deleted, the Entitlements associated with such ApplicationInstance will be marked as inValid. i.e ENT_VALID = 0. Such Entitlements will then synched with CATALOG and will be marked as non-request able entities.- Returns:
-
setValid
public void setValid(boolean isValid) This method sets if Entitlement is valid.- Parameters:
isValid
- true means valid.
-
getFormFieldKey
public long getFormFieldKey()This method gets the form field key associated to Entitlement (SDC_KEY).- Returns:
- the form field key associated to Entitlement (SDC_KEY).
-
setFormFieldKey
public void setFormFieldKey(long formFieldKey) This method sets the form field key to Entitlement (SDC_KEY).- Parameters:
formFieldKey
- the form field key associated to Entitlement (SDC_KEY).
-
getFormName
This method gets the form name to Entitlement (SDK_NAME).- Parameters:
formName
- the form name associated to Entitlement (SDK_NAME).
-
setFormName
This method sets the form name to Entitlement (SDK_NAME).- Parameters:
formName
- the form name associated to Entitlement (SDK_NAME).
-
getChildForm
-
setChildForm
-
toString
This method returns the String representation of the Entitlement in the format, EntitlementCode: ITResourceKey: ResourceObjectKey -
getAppInstance
-
setAppInstance
-
equals
-
hashCode
public int hashCode()
-