Package oracle.iam.oimcommon.api
Interface RoleService
public interface RoleService
-
Method Summary
Modifier and TypeMethodDescriptionfilterRolesByItemRisk
(List<Long> roleIds, Integer itemRisk) returns a set of role ids filtered by particular item_risk.findCatalogs
(List<Long> roleIds) getRoleByRoleName
(String roleName) getRoleCategoryName
(Long roleCategoryId) getRoleGrantsMap
(List<Long> userIds) long
getRoleStatus
(Long roleId) getRoleUserAssignments
(Role role) getUserIdsByRole
(Long roleId) Returns a list of user Ids which are directly assigned to this role.getUsersByRole
(Long roleId) Returns a list of users which are directly assigned to this role.void
setDefaultItemRisksInCatalog
(Integer defaultRoleRiskLevel) void
updateRoleGrantOpenSod
(long userId, long roleId, boolean openSod) Update OPEN_SOD attribute for specified RoleGrant (Table USG) NOTE: risk update date set to null to indicate risk needs re-calculatingvoid
updateRoleGrantRiskAttributes
(List<RoleGrant> guRolesToUpdate)
-
Method Details
-
getRole
-
getRoleStatus
-
getRoleCategoryName
-
getRoleCatMap
-
updateRoleGrantRiskAttributes
-
updateRoleGrantOpenSod
void updateRoleGrantOpenSod(long userId, long roleId, boolean openSod) Update OPEN_SOD attribute for specified RoleGrant (Table USG) NOTE: risk update date set to null to indicate risk needs re-calculating -
getRoleGrantsMap
-
getRoleUserAssignments
-
getUsersByRole
Returns a list of users which are directly assigned to this role.- Parameters:
roleId
- - role id to lookup memberships- Returns:
-
getUserIdsByRole
Returns a list of user Ids which are directly assigned to this role.- Parameters:
roleId
- - role id to lookup memberships Ids- Returns:
-
getRoles
-
getRoleByRoleName
-
findCatalogs
-
setDefaultItemRisksInCatalog
-
filterRolesByItemRisk
returns a set of role ids filtered by particular item_risk.- Parameters:
roleIds
- - list of role ids which needs to be filtereditemRisk
- - risk level which is- Returns:
- list of unique role ids with a given item risk
-