public class ResponsibilityInternalServiceImpl extends Object implements ResponsibilityInternalService
Modifier and Type | Field and Description |
---|---|
protected DataObjectService |
dataObjectService |
protected DateTimeService |
dateTimeService |
protected ResponsibilityService |
responsibilityService |
Constructor and Description |
---|
ResponsibilityInternalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
areActionsAtAssignmentLevel(Responsibility responsibility)
Lets the system know (mainly for UI purposes) whether this responsibility expects RoleResponsibilityAction
records to be given at the assignment level or are global to the responsibility.
|
boolean |
areActionsAtAssignmentLevelById(String responsibilityId)
Lets the system know (mainly for UI purposes) whether this responsibility expects RoleResponsibilityAction
records to be given at the assignment level or are global to the responsibility.
|
protected Set<String> |
getChangedRoleResponsibilityIds(List<RoleResponsibility> oldRespList,
List<RoleResponsibility> newRespList)
This method compares the two lists of responsibility IDs and does a union.
|
List<RoleResponsibility> |
getRoleResponsibilities(String roleId)
Get all the role-responsibility records attached to the given role.
|
void |
removeRoleMember(RoleMemberBo roleMember) |
DelegateMemberBo |
saveDelegateMember(DelegateMemberBo delegateMember) |
RoleMemberBo |
saveRoleMember(RoleMemberBo roleMember) |
void |
setDataObjectService(DataObjectService dataObjectService) |
void |
setDateTimeService(DateTimeService dateTimeService) |
void |
setResponsibilityService(ResponsibilityService responsibilityService) |
void |
updateActionRequestsForResponsibilityChange(Set<String> responsibilityIds) |
void |
updateActionRequestsForRoleChange(String roleId) |
protected DataObjectService dataObjectService
protected ResponsibilityService responsibilityService
protected DateTimeService dateTimeService
public ResponsibilityInternalServiceImpl()
public RoleMemberBo saveRoleMember(RoleMemberBo roleMember)
saveRoleMember
in interface ResponsibilityInternalService
public DelegateMemberBo saveDelegateMember(DelegateMemberBo delegateMember)
saveDelegateMember
in interface ResponsibilityInternalService
public void removeRoleMember(RoleMemberBo roleMember)
removeRoleMember
in interface ResponsibilityInternalService
public void updateActionRequestsForRoleChange(String roleId)
updateActionRequestsForRoleChange
in interface ResponsibilityInternalService
public void updateActionRequestsForResponsibilityChange(Set<String> responsibilityIds)
updateActionRequestsForResponsibilityChange
in interface ResponsibilityInternalService
public List<RoleResponsibility> getRoleResponsibilities(String roleId)
ResponsibilityInternalService
getRoleResponsibilities
in interface ResponsibilityInternalService
protected Set<String> getChangedRoleResponsibilityIds(List<RoleResponsibility> oldRespList, List<RoleResponsibility> newRespList)
oldRespList
- newRespList
- public boolean areActionsAtAssignmentLevel(Responsibility responsibility)
ResponsibilityInternalService
areActionsAtAssignmentLevel
in interface ResponsibilityInternalService
public boolean areActionsAtAssignmentLevelById(String responsibilityId)
ResponsibilityInternalService
areActionsAtAssignmentLevelById
in interface ResponsibilityInternalService
public void setResponsibilityService(ResponsibilityService responsibilityService)
public void setDataObjectService(DataObjectService dataObjectService)
public void setDateTimeService(DateTimeService dateTimeService)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.