Class RouteLogDerivedRoleTypeServiceImpl
java.lang.Object
org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
org.kuali.rice.kns.kim.role.RoleTypeServiceBase
org.kuali.rice.kns.kim.role.DerivedRoleTypeServiceBase
org.kuali.rice.kew.role.service.impl.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)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
DataDictionaryTypeServiceBase.KimTypeAttributeException, DataDictionaryTypeServiceBase.KimTypeAttributeValidationException -
Field Summary
FieldsFields inherited from class org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
COMMA_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandynamicRoleMembership(String namespaceCode, String roleName) Determines if the role specified by the given namespace and role name has a dynamic role membership.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 RolebooleanhasDerivedRole(String principalId, List<String> groupIds, String namespaceCode, String roleName, Map<String, String> qualification) protected booleanMethods inherited from class org.kuali.rice.kns.kim.role.DerivedRoleTypeServiceBase
isDerivedRoleTypeMethods inherited from class org.kuali.rice.kns.kim.role.RoleTypeServiceBase
convertQualificationForMemberRoles, convertQualificationForMemberRolesAndMemberAttributes, doesDelegationQualifierMatchQualification, doesRoleQualifierMatchQualification, getMatchingRoleMemberships, getQualifiersForExactMatch, roleMemberRemoved, shouldValidateQualifiersForMemberType, sortRoleMembersMethods inherited from class org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
areAttributesEqual, extractErrorsFromGlobalVariablesErrorMap, getAttributeDefinitions, getAttributeFormatter, getAttributeMaxValue, getAttributeMinValue, getAttributeValidatingExpression, getAttributeValue, getBusinessObjectService, getClosestParentDocumentTypeName, getDataDictionaryAttributeDefinition, getDataDictionaryService, getDictionaryValidationService, getDocumentTypeService, getNonDataDictionaryAttributeDefinition, getTypeInfoService, getUniqueAttributes, getWorkflowDocumentTypeName, getWorkflowRoutingAttributes, performMatch, translateInputAttributes, validateAttributeFormat, validateAttributeRequired, validateAttributes, validateAttributesAgainstExisting, validateDataDictionaryAttribute, validateDataDictionaryAttribute, validateNonDataDictionaryAttribute, validatePrimitiveFromDescriptor, validateReferencesExistAndActive, validateRequiredAttributesAgainstReceived, validateUniqueAttributes, validateUnmodifiableAttributesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.kim.framework.common.delegate.DelegationTypeService
doesDelegationQualifierMatchQualificationMethods inherited from interface org.kuali.rice.kim.framework.type.KimTypeService
getAttributeDefinitions, getWorkflowDocumentTypeName, getWorkflowRoutingAttributes, validateAttributes, validateAttributesAgainstExisting, validateUniqueAttributes, validateUnmodifiableAttributesMethods inherited from interface org.kuali.rice.kim.framework.role.RoleTypeService
convertQualificationForMemberRoles, convertQualificationForMemberRolesAndMemberAttributes, doesRoleQualifierMatchQualification, getMatchingRoleMemberships, getQualifiersForExactMatch, isDerivedRoleType, roleMemberRemoved, shouldValidateQualifiersForMemberType, sortRoleMembers
-
Field Details
-
INITIATOR_ROLE_NAME
- See Also:
-
INITIATOR_OR_REVIEWER_ROLE_NAME
- See Also:
-
ROUTER_ROLE_NAME
- See Also:
-
-
Constructor Details
-
RouteLogDerivedRoleTypeServiceImpl
public RouteLogDerivedRoleTypeServiceImpl()
-
-
Method Details
-
isCheckRequiredAttributes
protected boolean isCheckRequiredAttributes()- Overrides:
isCheckRequiredAttributesin classDataDictionaryTypeServiceBase
-
getRequiredAttributes
- Overrides:
getRequiredAttributesin classDataDictionaryTypeServiceBase
-
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:
getRoleMembersFromDerivedRolein interfaceorg.kuali.rice.kim.framework.role.RoleTypeService- Overrides:
getRoleMembersFromDerivedRolein classDerivedRoleTypeServiceBase
-
hasDerivedRole
public boolean hasDerivedRole(String principalId, List<String> groupIds, String namespaceCode, String roleName, Map<String, String> qualification) - Specified by:
hasDerivedRolein interfaceorg.kuali.rice.kim.framework.role.RoleTypeService- Overrides:
hasDerivedRolein classRoleTypeServiceBase
-
dynamicRoleMembership
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:
dynamicRoleMembershipin interfaceorg.kuali.rice.kim.framework.role.RoleTypeService- Overrides:
dynamicRoleMembershipin classRoleTypeServiceBase- See Also:
-
dynamicRoleMembership(java.lang.String, java.lang.String)
-