org.kuali.rice.kim.impl.responsibility
Class ResponsibilityInternalServiceImpl

java.lang.Object
  extended by org.kuali.rice.kim.impl.responsibility.ResponsibilityInternalServiceImpl
All Implemented Interfaces:
ResponsibilityInternalService

public class ResponsibilityInternalServiceImpl
extends Object
implements ResponsibilityInternalService


Field Summary
protected  DataObjectService dataObjectService
           
protected  DateTimeService dateTimeService
           
protected  ResponsibilityService responsibilityService
           
 
Constructor Summary
ResponsibilityInternalServiceImpl()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataObjectService

protected DataObjectService dataObjectService

responsibilityService

protected ResponsibilityService responsibilityService

dateTimeService

protected DateTimeService dateTimeService
Constructor Detail

ResponsibilityInternalServiceImpl

public ResponsibilityInternalServiceImpl()
Method Detail

saveRoleMember

public RoleMemberBo saveRoleMember(RoleMemberBo roleMember)
Specified by:
saveRoleMember in interface ResponsibilityInternalService

saveDelegateMember

public DelegateMemberBo saveDelegateMember(DelegateMemberBo delegateMember)
Specified by:
saveDelegateMember in interface ResponsibilityInternalService

removeRoleMember

public void removeRoleMember(RoleMemberBo roleMember)
Specified by:
removeRoleMember in interface ResponsibilityInternalService

updateActionRequestsForRoleChange

public void updateActionRequestsForRoleChange(String roleId)
Specified by:
updateActionRequestsForRoleChange in interface ResponsibilityInternalService

updateActionRequestsForResponsibilityChange

public void updateActionRequestsForResponsibilityChange(Set<String> responsibilityIds)
Specified by:
updateActionRequestsForResponsibilityChange in interface ResponsibilityInternalService

getRoleResponsibilities

public List<RoleResponsibility> getRoleResponsibilities(String roleId)
Description copied from interface: ResponsibilityInternalService
Get all the role-responsibility records attached to the given role.

Specified by:
getRoleResponsibilities in interface ResponsibilityInternalService

getChangedRoleResponsibilityIds

protected Set<String> getChangedRoleResponsibilityIds(List<RoleResponsibility> oldRespList,
                                                      List<RoleResponsibility> newRespList)
This method compares the two lists of responsibility IDs and does a union. returns a unique list of responsibility ids.

Parameters:
oldRespList -
newRespList -
Returns:

areActionsAtAssignmentLevel

public boolean areActionsAtAssignmentLevel(Responsibility responsibility)
Description copied from interface: ResponsibilityInternalService
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. (I.e., they apply to any member assigned to the responsibility.)

Specified by:
areActionsAtAssignmentLevel in interface ResponsibilityInternalService

areActionsAtAssignmentLevelById

public boolean areActionsAtAssignmentLevelById(String responsibilityId)
Description copied from interface: ResponsibilityInternalService
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. (I.e., they apply to any member assigned to the responsibility.)

Specified by:
areActionsAtAssignmentLevelById in interface ResponsibilityInternalService

setResponsibilityService

public void setResponsibilityService(ResponsibilityService responsibilityService)

setDataObjectService

public void setDataObjectService(DataObjectService dataObjectService)

setDateTimeService

public void setDateTimeService(DateTimeService dateTimeService)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.