Class RouteLogDerivedRoleTypeServiceImpl

All Implemented Interfaces:
org.kuali.rice.kim.framework.common.delegate.DelegationTypeService, org.kuali.rice.kim.framework.role.RoleTypeService, org.kuali.rice.kim.framework.type.KimTypeService

public class RouteLogDerivedRoleTypeServiceImpl extends DerivedRoleTypeServiceBase implements org.kuali.rice.kim.framework.role.RoleTypeService, org.kuali.rice.kim.framework.common.delegate.DelegationTypeService
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Field Details

  • Constructor Details

    • RouteLogDerivedRoleTypeServiceImpl

      public RouteLogDerivedRoleTypeServiceImpl()
  • Method Details

    • isCheckRequiredAttributes

      protected boolean isCheckRequiredAttributes()
      Overrides:
      isCheckRequiredAttributes in class DataDictionaryTypeServiceBase
    • getRequiredAttributes

      protected List<String> getRequiredAttributes()
      Overrides:
      getRequiredAttributes in class DataDictionaryTypeServiceBase
    • getRoleMembersFromDerivedRole

      public List<org.kuali.rice.kim.api.role.RoleMembership> getRoleMembersFromDerivedRole(String namespaceCode, String roleName, Map<String,String> qualification)
      - qualifier is document number - the roles that will be of this type are KR-WKFLW Initiator and KR-WKFLW Initiator or Reviewer, KR-WKFLW Router - only the initiator of the document in question gets the KR-WKFLW Initiator role - user who routed the document according to the route log should get the KR-WKFLW Router role - users who are authorized by the route log, i.e. initiators, people who have taken action, people with a pending action request, or people who will receive an action request for the document in question get the KR-WKFLW Initiator or Reviewer Role
      Specified by:
      getRoleMembersFromDerivedRole in interface org.kuali.rice.kim.framework.role.RoleTypeService
      Overrides:
      getRoleMembersFromDerivedRole in class DerivedRoleTypeServiceBase
    • hasDerivedRole

      public boolean hasDerivedRole(String principalId, List<String> groupIds, String namespaceCode, String roleName, Map<String,String> qualification)
      Specified by:
      hasDerivedRole in interface org.kuali.rice.kim.framework.role.RoleTypeService
      Overrides:
      hasDerivedRole in class RoleTypeServiceBase
    • dynamicRoleMembership

      public boolean dynamicRoleMembership(String namespaceCode, String roleName)
      Determines if the role specified by the given namespace and role name has a dynamic role membership. Returns true, as the Route Log changes often enough that role membership is highly volatile
      Specified by:
      dynamicRoleMembership in interface org.kuali.rice.kim.framework.role.RoleTypeService
      Overrides:
      dynamicRoleMembership in class RoleTypeServiceBase
      See Also:
      • dynamicRoleMembership(java.lang.String, java.lang.String)