Package oracle.iam.oimcommon.vo
Class User
java.lang.Object
oracle.iam.oimcommon.vo.base.AbstractEntity
oracle.iam.oimcommon.vo.User
- All Implemented Interfaces:
Serializable
Class User
General purpose User class for all OIM modules. Represents an enterprise user in the system.
An enterprise user is one who can have access granted to them (provisioning) and whose access
grants can be reviewed (aka access review, attestation, identity certification).
Notes:
- Can also be an OIM login user if appropriate role(s) have been granted.
- Initially developed for the access review module (OIA identity certification or IDC).
-
Relevant fields from superclasses: id, name, createDate, updateDate, createdById, updatedById
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the risk level associated with accounts owned by the usergetCity()Gets custom properties (also known as User Defined Fields, or UDFs) Returns a copy.getEmail()Gets the employee ID used to identify the user within the company.Gets the risk level associated with entitlements granted to the userGets the first name of the userGets the job code of the userGets the last name of the userGets unique identifier for the user's managerGets the middle name of the userGets the Date risk levels were last updated Returns a copy.Gets the risk level associated with roles assigned to the usergetRoles()Gets the status for the userGets the string representation of the status for the userGets the calculated risk level for the usergetTitle()inthashCode()voidsetAccountLocked(Boolean accountLocked) voidsetAccountRisk(Integer riskLevel) Sets the risk level associated with accounts owned by the uservoidsetAccounts(List<Account> accounts) voidsetAccountSummaryRisk(Integer accountSummaryRisk) voidvoidsetCommonName(String commonName) voidsetCountry(String cStr) voidsetCustomProperties(List<String> propList) Sets custom properties (also known as User Defined Fields, or UDFs) Makes a defensive copy.voidsetDepartmentNumber(String departmentNumber) voidsetDisplayName(String displayName) voidvoidsetEmployeeId(String eStr) Sets the employee ID used to identify the user within the company.voidsetEmployeeType(String eStr) voidsetEntitlementRisk(Integer riskLevel) Sets the risk level associated with entitlements granted to the uservoidsetEntitlementSummaryRisk(Integer entitlementSummaryRisk) voidsetFirstName(String fName) Sets the first name of the uservoidsetGenerationQualifier(String generationQualifier) voidsetHasHighRiskEntitlement(Boolean hasHighRiskEntitlement) voidsetHasHighRiskProvMeth(Boolean hasHighRiskProvMeth) voidsetHasHighRiskResource(Boolean hasHighRiskResource) voidsetHasHighRiskRole(Boolean hasHighRiskRole) voidsetHasHighRiskSod(Boolean tmpBool) voidsetHireDate(Date startDate) voidsetJobCode(String jStr) Sets the job code of the user.voidsetLastName(String lName) Sets the last name of the uservoidvoidsetLocation(String lStr) voidsetManagerId(Long guid) Sets unique identifier for the user's managervoidsetMiddleName(String mName) Sets the middle name of the uservoidsetNonCertifiableRoles(List<Role> roles) voidvoidsetOrganizationId(Long organizationId) voidsetPhoneNumber(String pStr) voidsetPostalCode(String pStr) voidsetRiskUpdateDate(Date rDate) Sets the Date risk levels were last updated Makes a defensive copy.voidsetRoleGrants(List<RoleGrant> roleGrants) voidsetRoleRisk(Integer riskLevel) Sets the risk level associated with roles assigned to the uservoidvoidsetRoleSummaryRisk(Integer roleSummaryRisk) voidsetStateOrProvince(String sStr) voidsetStatus(User.UserStatus usrStatus) Sets the status for the uservoidsetStatusStr(String sStr) Sets the string representation of the status for the user Also updates the status value based on the specified string.voidvoidsetSummaryRisk(Integer riskLevel) Sets the calculated risk level for the uservoidvoidvoidsetUserName(String userName) toString()Methods inherited from class oracle.iam.oimcommon.vo.base.AbstractEntity
getCreateDate, getCreatedBy, getId, getName, getUpdateDate, getUpdatedBy, setCreateDate, setCreatedBy, setId, setName, setUpdateDate, setUpdatedBy
-
Constructor Details
-
User
public User()
-
-
Method Details
-
setDisplayName
-
getDisplayName
-
getManagerId
Gets unique identifier for the user's manager- Returns:
- Unique identifier for the user's manager
-
setManagerId
Sets unique identifier for the user's manager- Parameters:
guid- Unique identifier for the user's manager
-
getStatus
Gets the status for the user- Returns:
- the status for the user
-
setStatus
Sets the status for the user- Parameters:
usrStatus- Status for the user
-
getStatusStr
Gets the string representation of the status for the user- Returns:
- the statusStr
-
setStatusStr
Sets the string representation of the status for the user Also updates the status value based on the specified string. The User status must be either Active or Disabled- Parameters:
statusStr- the statusStr to set
-
getSummaryRisk
Gets the calculated risk level for the user- Returns:
- the summaryRisk
-
setSummaryRisk
Sets the calculated risk level for the user- Parameters:
riskLevel- the summaryRisk to set
-
getRoleRisk
Gets the risk level associated with roles assigned to the user- Returns:
- the roleRisk
-
setRoleRisk
Sets the risk level associated with roles assigned to the user- Parameters:
riskLevel- the roleRisk to set
-
getAccountRisk
Gets the risk level associated with accounts owned by the user- Returns:
- the accountRisk
-
setAccountRisk
Sets the risk level associated with accounts owned by the user- Parameters:
riskLevel- the accountRisk to set
-
getEntitlementRisk
Gets the risk level associated with entitlements granted to the user- Returns:
- the entitlementRisk
-
setEntitlementRisk
Sets the risk level associated with entitlements granted to the user- Parameters:
riskLevel- the entitlementRisk to set
-
getRiskUpdateDate
Gets the Date risk levels were last updated Returns a copy.- Returns:
- a copy of the riskUpdateDate
-
setRiskUpdateDate
Sets the Date risk levels were last updated Makes a defensive copy.- Parameters:
rDate- the riskUpdateDate to set
-
setUserName
-
getUserName
-
getFirstName
Gets the first name of the user- Returns:
- the firstName
-
setFirstName
Sets the first name of the user- Parameters:
fName- the firstName to set
-
getLastName
Gets the last name of the user- Returns:
- the lastName
-
setLastName
Sets the last name of the user- Parameters:
lName- the lastName to set
-
getMiddleName
Gets the middle name of the user- Returns:
- the middleName
-
setMiddleName
Sets the middle name of the user- Parameters:
mName- the middleName to set
-
getLocation
- Returns:
- the location
-
setLocation
- Parameters:
lStr- the location to set
-
getOffice
- Returns:
- the office
-
setOffice
- Parameters:
oStr- the office to set
-
getStreet
- Returns:
- the street
-
setStreet
- Parameters:
sStr- the street to set
-
getCity
- Returns:
- the city
-
setCity
- Parameters:
cStr- the city to set
-
getStateOrProvince
- Returns:
- the stateOrProvince
-
setStateOrProvince
- Parameters:
sStr- the stateOrProvince to set
-
getPostalCode
- Returns:
- the postalCode
-
setPostalCode
- Parameters:
pStr- the postalCode to set
-
getCountry
- Returns:
- the country
-
setCountry
- Parameters:
cStr- the country to set
-
getLocale
-
setLocale
-
getEmail
- Returns:
- the email
-
setEmail
- Parameters:
eStr- the email to set
-
getPhoneNumber
- Returns:
- the phoneNumber
-
setPhoneNumber
- Parameters:
pStr- the phoneNumber to set
-
getEmployeeId
Gets the employee ID used to identify the user within the company. Note that this is not necessarily a number and is not connected with the unique identifier used internally.- Returns:
- the employeeId
-
setEmployeeId
Sets the employee ID used to identify the user within the company. Note that this is not necessarily a number and is not connected with the unique identifier used internally.- Parameters:
eStr- the employeeId to set
-
getJobCode
Gets the job code of the user- Returns:
- the jobCode
-
setJobCode
Sets the job code of the user.- Parameters:
jStr- the jobCode to set
-
getTitle
- Returns:
- the title
-
setTitle
- Parameters:
tStr- the title to set
-
getEmployeeType
- Returns:
- the employeeType
-
setEmployeeType
- Parameters:
eStr- the employeeType to set
-
getFullName
-
setAccounts
-
getAccounts
-
setNonCertifiableRoles
-
getNonCertifiableRoles
-
setRoles
-
getRoles
-
getRoleGrants
-
setRoleGrants
-
setHasHighRiskEntitlement
-
setHasHighRiskResource
-
setHasHighRiskProvMeth
-
setHasHighRiskRole
-
setHasHighRiskSod
-
setAccountSummaryRisk
-
setEntitlementSummaryRisk
-
setRoleSummaryRisk
-
getHasHighRiskEntitlement
-
getHasHighRiskResource
-
getHasHighRiskProvMeth
-
getHasHighRiskRole
-
getHasHighRiskSod
-
getAccountSummaryRisk
-
getEntitlementSummaryRisk
-
getRoleSummaryRisk
-
setCommonName
-
getCommonName
-
setOrganizationId
-
getOrganizationId
-
setDepartmentNumber
-
getDepartmentNumber
-
setGenerationQualifier
-
getGenerationQualifier
-
setHireDate
-
getHireDate
-
setUdfMap
-
getUdfMap
-
setAccountLocked
-
getAccountLocked
-
getCustomProperties
Gets custom properties (also known as User Defined Fields, or UDFs) Returns a copy. TODO/TBD: Also could return an immutable view of the list: return Collections.unmodifiableList(customProperties);- Returns:
- a copy of customProperties
-
setCustomProperties
Sets custom properties (also known as User Defined Fields, or UDFs) Makes a defensive copy.- Parameters:
propList- the list of custom properties to set
-
toString
-
equals
-
hashCode
public int hashCode()
-