|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RoleUpdateService
This service provides operations for creating and updating roles.
Method Summary | |
---|---|
void |
assignGroupToRole(String groupId,
String namespaceCode,
String roleName,
Map<String,String> qualifications)
Assigns the group with the given id to the role with the specified namespace code and name with the supplied set of qualifications. |
void |
assignPermissionToRole(String permissionId,
String roleId)
Assigns the given permission to the given role |
void |
assignPrincipalToRole(String principalId,
String namespaceCode,
String roleName,
Map<String,String> qualifications)
Assigns the principal with the given id to the role with the specified namespace code and name with the supplied set of qualifications. |
void |
assignRoleToRole(String roleId,
String namespaceCode,
String roleName,
Map<String,String> qualifications)
Assigns the role with the given id to the role with the specified namespace code and name with the supplied set of qualifications. |
String |
getNextAvailableRoleId()
Returns id available for a new role |
void |
removeGroupFromRole(String groupId,
String namespaceCode,
String roleName,
Map<String,String> qualifications)
Remove the group with the given id and qualifications from the role with the specified namespace code and role name. |
void |
removePrincipalFromRole(String principalId,
String namespaceCode,
String roleName,
Map<String,String> qualifications)
Remove the principal with the given id and qualifications from the role with the specified namespace code and role name. |
void |
removeRoleFromRole(String roleId,
String namespaceCode,
String roleName,
Map<String,String> qualifications)
Remove the group with the given id and qualifications from the role with the specified namespace code and role name. |
void |
saveDelegationMemberForRole(String delegationMemberId,
String roleMemberId,
String memberId,
String memberTypeCode,
String delegationTypeCode,
String roleId,
Map<String,String> qualifications,
Date activeFromDate,
Date activeToDate)
Assigns the member with the given id as a delegation member to the role with the specified namespace code and name with the supplied set of qualifications. |
void |
saveRole(String roleId,
String roleName,
String roleDescription,
boolean active,
String kimTypeId,
String namespaceCode)
Creates or updates role with given attributes |
RoleMember |
saveRoleMemberForRole(String roleMemberId,
String memberId,
String memberTypeCode,
String roleId,
Map<String,String> qualifications,
Date activeFromDate,
Date activeToDate)
Assigns the role with the given id to the role with the specified namespace code and name with the supplied set of qualifications. |
void |
saveRoleRspActions(String roleResponsibilityActionId,
String roleId,
String roleResponsibilityId,
String roleMemberId,
String actionTypeCode,
String actionPolicyCode,
Integer priorityNumber,
Boolean forceAction)
|
Method Detail |
---|
void assignPrincipalToRole(String principalId, String namespaceCode, String roleName, Map<String,String> qualifications) throws UnsupportedOperationException
UnsupportedOperationException
void assignGroupToRole(String groupId, String namespaceCode, String roleName, Map<String,String> qualifications) throws UnsupportedOperationException
UnsupportedOperationException
void assignRoleToRole(String roleId, String namespaceCode, String roleName, Map<String,String> qualifications) throws UnsupportedOperationException
UnsupportedOperationException
RoleMember saveRoleMemberForRole(String roleMemberId, String memberId, String memberTypeCode, String roleId, Map<String,String> qualifications, Date activeFromDate, Date activeToDate) throws UnsupportedOperationException
UnsupportedOperationException
void saveRoleRspActions(String roleResponsibilityActionId, String roleId, String roleResponsibilityId, String roleMemberId, String actionTypeCode, String actionPolicyCode, Integer priorityNumber, Boolean forceAction)
roleResponsibilityId
- roleMemberId
- actionTypeCode
- actionPolicyCode
- priorityNumber
- forceAction
- void saveDelegationMemberForRole(String delegationMemberId, String roleMemberId, String memberId, String memberTypeCode, String delegationTypeCode, String roleId, Map<String,String> qualifications, Date activeFromDate, Date activeToDate) throws UnsupportedOperationException
UnsupportedOperationException
void removePrincipalFromRole(String principalId, String namespaceCode, String roleName, Map<String,String> qualifications) throws UnsupportedOperationException
UnsupportedOperationException
void removeGroupFromRole(String groupId, String namespaceCode, String roleName, Map<String,String> qualifications) throws UnsupportedOperationException
UnsupportedOperationException
void removeRoleFromRole(String roleId, String namespaceCode, String roleName, Map<String,String> qualifications) throws UnsupportedOperationException
UnsupportedOperationException
void saveRole(String roleId, String roleName, String roleDescription, boolean active, String kimTypeId, String namespaceCode) throws UnsupportedOperationException
UnsupportedOperationException
String getNextAvailableRoleId() throws UnsupportedOperationException
UnsupportedOperationException
void assignPermissionToRole(String permissionId, String roleId) throws UnsupportedOperationException
UnsupportedOperationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |