Package oracle.iam.oimcommon.vo
Class Role
java.lang.Object
oracle.iam.oimcommon.vo.base.AbstractEntity
oracle.iam.oimcommon.vo.base.AbstractRiskAwareEntity
oracle.iam.oimcommon.vo.Role
- All Implemented Interfaces:
Serializable
- Author:
- stblack Class Role General purpose Role class for all OIM modules. Represents an enterprise role that any number of Users may have within an enterprise. Also known as "business-role" or "job-role." This is distinguished from an "application-role" or "duty-role" that applies only within the context of a particular Resource (system or application). Notes: - Initially developed for the access review module (OIA identity certification or IDC). - OIA represents an "application-role" as an entitlement. In OIA the definition of an application-role is an entitlement-definition, and an instance of an application-role assigned to an account is an account-attribute-value. Relevant fields from superclasses: id, name, createDate, updateDate, createdById, updatedById Relevant risk related fields from superclasses: itemRisk, riskUpdateDate
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the list of Roles (Ids) that are direct children of this Role Returns a copy.Gets custom properties (also known as User Defined Fields, or UDFs) Returns a copy.Gets the description for the RoleGets list of Users (unique Ids) who are members of the Role Returns a copy.Gets unique identifier for the User who owns the role.Gets the list of Roles (Ids) that directly contain this Role Returns a copy.Gets the list of Policies (Ids) that are part of this Role Returns a copy.getUsers()
void
setCatalog
(Catalog catalog) void
setChildIds
(List<Long> guidList) Sets the list of Roles (Ids) that are direct children of this Role Makes a defensive copy.void
setCustomProperties
(List<String> propList) Sets custom properties (also known as User Defined Fields, or UDFs) Makes a defensive copy.void
setDataLevel
(Long dataLevel) void
setDescription
(String dStr) Sets the description for the Rolevoid
setMemberUserIds
(List<Long> guidList) Sets list of Users (unique Ids) who are members of the Role Makes a defensive copy.void
setOwnerId
(Long guid) Sets unique identifier for the User who owns the rolevoid
setParentIds
(List<Long> guidList) Sets the list of Roles (Ids) that directly contain this Role Makes a defensive copy.void
setPolicies
(List<Policy> policies) void
setPolicyAssociations
(List<RolePolicyAssociation> policyAssociations) void
setPolicyIds
(List<Long> guidList) Sets the list of Policies (Ids) that are part of this Role Makes a defensive copy.void
setRoleCategoryId
(Long roleCategoryId) void
setStatusId
(Long statusId) void
setUdfAttributeMap
(Map<String, Object> udfAttributeMap) void
setUserRoleAssignments
(List<UserRoleAssignment> userRoleAssignments) void
Methods inherited from class oracle.iam.oimcommon.vo.base.AbstractRiskAwareEntity
getItemRisk, getRiskUpdateDate, getSodRisk, setItemRisk, setRiskUpdateDate, setSodRisk
Methods inherited from class oracle.iam.oimcommon.vo.base.AbstractEntity
getCreateDate, getCreatedBy, getId, getName, getUpdateDate, getUpdatedBy, setCreateDate, setCreatedBy, setId, setName, setUpdateDate, setUpdatedBy
-
Constructor Details
-
Role
public Role()
-
-
Method Details
-
getDescription
Gets the description for the Role- Returns:
- the description
-
setDescription
Sets the description for the Role- Parameters:
dStr
- the description to set
-
getOwnerId
Gets unique identifier for the User who owns the role.- Returns:
- Unique identifier for the User who owns the role.
-
setOwnerId
Sets unique identifier for the User who owns the role- Parameters:
guid
- Unique identifier for the User who owns the role.
-
getMemberUserIds
Gets list of Users (unique Ids) who are members of the Role Returns a copy. TODO/TBD: Also could return an immutable view of the list:- Returns:
- a copy of the list of unique Ids of Users who are members of the Role
-
setMemberUserIds
Sets list of Users (unique Ids) who are members of the Role Makes a defensive copy.- Parameters:
guidList
- the list of unique Ids of Users who are members of the Role
-
getParentIds
Gets the list of Roles (Ids) that directly contain this Role Returns a copy. TODO/TBD: Also could return an immutable view of the list:- Returns:
- a copy of the list of Roles that directly contain this Role
-
setParentIds
Sets the list of Roles (Ids) that directly contain this Role Makes a defensive copy.- Parameters:
guidList
- the list of Ids of Roles that directly contain this Role
-
getChildIds
Gets the list of Roles (Ids) that are direct children of this Role Returns a copy. TODO/TBD: Also could return an immutable view of the list:- Returns:
- the list of Ids of Roles that are direct children of this Role
-
setChildIds
Sets the list of Roles (Ids) that are direct children of this Role Makes a defensive copy.- Parameters:
guidList
- the list of Ids of Roles that are direct children of this Role
-
getPolicyIds
Gets the list of Policies (Ids) that are part of this Role Returns a copy. TODO/TBD: Also could return an immutable view of the list:- Returns:
- the list of Ids of Policies that are part off this Role
-
setPolicyIds
Sets the list of Policies (Ids) that are part of this Role Makes a defensive copy.- Parameters:
guidList
- the list of Ids of Policies that are part of this Role
-
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
-
setPolicies
-
getPolicies
-
setUsers
-
getUsers
-
setUserRoleAssignments
-
getUserRoleAssignments
-
setPolicyAssociations
-
getPolicyAssociations
-
setStatusId
-
getStatusId
-
setCatalog
-
getCatalog
-
setUdfAttributeMap
-
getUdfAttributeMap
-
setDataLevel
-
getDataLevel
-
setRoleCategoryId
-
getRoleCategoryId
-