|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.iam.provisioning.vo.Account
public class Account
This class represents the account provisioned to user. This value object represents an entry in OIU table and meta-data related to ApplicationInstance. It contains AccountData that hold Parent and Child data associated to the account.
Nested Class Summary | |
---|---|
static class |
Account.ACCOUNT_TYPE An enumeration which represents the Account Type. |
Field Summary | |
---|---|
static long |
serialVersionUID |
Constructor Summary | |
---|---|
Account(ApplicationInstance appInstance, AccountData accountData) This constructor can be used to form an Account value object while provisioning an account to user. |
|
Account(java.lang.String accountKey, java.lang.String processInstanceKey, java.lang.String userKey) This constructor will be used internally by provisioning engine when an account is already provisioned. |
Method Summary | |
---|---|
AccountData |
getAccountData() This method is used to get the the AccountData value object, containing both parent and child data. |
java.lang.String |
getAccountDescriptiveField() This method is used to get the unique name of the account. |
java.lang.String |
getAccountID() This method is used to get an account id (OIU_KEY). |
java.lang.String |
getAccountStatus() This method returns the status of an account. |
Account.ACCOUNT_TYPE |
getAccountType() This methid is used to set the account type of an account. |
ApplicationInstance |
getAppInstance() This method is used to get the ApplicationInstance value object associated to an account. |
java.lang.String |
getPolicyKey() This method is used to get the Policy Key (OIU.POL_KEY) associated to an account. |
java.lang.String |
getProcessInstanceKey() This method is used to get the Process Instance Key (OIU_KEY) associated to an account. |
java.util.Date |
getProvisionedOnDate() This method gets the date on which an account is provisioned. |
java.lang.String |
getRequestKey() This method is used to get request key of (OIU.REQUEST_KEY) of an account. |
java.lang.String |
getUserKey() This method is used to get the key of the user to whom account is provisioned. |
boolean |
isServiceAccount() Checks if account is a service account. |
void |
setAccountData(AccountData accountData) This method is used to set AccountData value object. |
void |
setAccountDescriptiveField(java.lang.String accountDescriptiveField) This method is used to set the unique name of the account. |
void |
setAccountID(java.lang.String accountKey) This method is used to set AccountID of an Account |
void |
setAccountInstanceID(java.lang.String accountKey) This method is used to set account id (OIU.KEY). |
void |
setAccountStatus(java.lang.String accountStatus) This method sets the status of an account |
void |
setAccountType(Account.ACCOUNT_TYPE accountType) This method is used to set AccountType. |
void |
setAppInstance(ApplicationInstance appInstance) This method is used to set the ApplicationInstance value object associated to an account. |
void |
setPolicyKey(java.lang.String policyKey) This method is used to set the Policy Key (OIU.POL_KEY) associated to an account. |
void |
setProcessInstanceKey(java.lang.String processInstanceKey) This method is used to set the Process Instance Key (OIU_KEY) associated to an account. |
void |
setProvisionedOnDate(java.util.Date provisionedOnDate) This method is used to set the date on which account is provisioned. |
void |
setRequestKey(java.lang.String requestKey) This method is used to get request key of (OIU.REQUEST_KEY) of an account. |
void |
setServiceAccount(boolean isServiceAccount) This method sets if an account is a service account. |
void |
setUserKey(java.lang.String userKey) This method is used to set the key of the user to whom account is provisioned. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public Account(ApplicationInstance appInstance, AccountData accountData)
appInstance
- - ApplicationInstance value object. The ApplicationInstance value object can be retrieved using one of the find method of ApplicationInstanceServiceaccountData
- - An AccountData value object. This value object contains ParentData and ChildData of an AccountApplicationInstance
, AccountData
public Account(java.lang.String accountKey, java.lang.String processInstanceKey, java.lang.String userKey)
accountKey
- - AccountID (OIU_KEY) of an accountprocessInstanceKey
- - ProcessInstance Key (ORC_KEY) of an accountuserKey
- - User Key (USR_KEY) of an account.Method Detail |
---|
public java.lang.String getAccountID()
public void setAccountInstanceID(java.lang.String accountKey)
accountKey
- AccountID (OIU_KEY) of an account.public java.lang.String getUserKey()
public void setUserKey(java.lang.String userKey)
userKey
- User Key (USR_KEY) of an account.public ApplicationInstance getAppInstance()
public void setAppInstance(ApplicationInstance appInstance)
appInstance
- ApplicationInstance value object of an account.public java.lang.String getProcessInstanceKey()
public void setProcessInstanceKey(java.lang.String processInstanceKey)
processInstanceKey
- Process Instance Key (ORC_KEY) of an account.public java.lang.String getPolicyKey()
public void setPolicyKey(java.lang.String policyKey)
policyKey
- Access Policy Key (POL_KEY) of an account if account is getting provisioned via Access Policy.public java.lang.String getAccountDescriptiveField()
public void setAccountDescriptiveField(java.lang.String accountDescriptiveField)
accountDescriptiveField
- If the property AccountName = true is set in the process form associated with ApplicationInstance (via Resource Object, Process Definition), then the value returned is same as the value of the field on which this property is set. Otherwise, the value returned by this method is the value set in ORC_TOS_INSTANCE_KEY i.e Account Descriptive Field.public AccountData getAccountData()
AccountData
public void setAccountData(AccountData accountData)
accountData
- The AccountData value objectpublic void setAccountID(java.lang.String accountKey)
accountKey
- This is an AccountID (OIU_KEY) of an account.public Account.ACCOUNT_TYPE getAccountType()
public void setAccountType(Account.ACCOUNT_TYPE accountType)
accountType
-public java.lang.String getRequestKey()
public void setRequestKey(java.lang.String requestKey)
requestKey
- Request Key to be associated to an account.public boolean isServiceAccount()
public void setServiceAccount(boolean isServiceAccount)
isServiceAccount
- Marks if account is a service account.public java.lang.String getAccountStatus()
public void setAccountStatus(java.lang.String accountStatus)
accountStatus
- account status (OIU_STATUS)public java.util.Date getProvisionedOnDate()
public void setProvisionedOnDate(java.util.Date provisionedOnDate)
provisionedOnDate
- The date on which an account is provisioned.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |