public class RoleRouteModule extends Object implements RouteModule
Modifier and Type | Field and Description |
---|---|
protected static String |
NAMESPACE_ELEMENT |
protected static String |
QUALIFIER_RESOLVER_CLASS_ELEMENT |
protected static String |
QUALIFIER_RESOLVER_ELEMENT |
protected static String |
RESPONSIBILITY_TEMPLATE_NAME_ELEMENT |
Constructor and Description |
---|
RoleRouteModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
disableResolveResponsibility(List<ActionRequestValue> actionRequests)
Walks the ActionRequest graph and disables responsibility resolution on those ActionRequests.
|
List<ActionRequestValue> |
findActionRequests(RouteContext context)
Generate action requests for the given RouteContext.
|
protected ObjectDefinition |
getAttributeObjectDefinition(RuleAttribute ruleAttribute) |
protected ResponsibilityService |
getResponsibilityService() |
boolean |
isMoreRequestsAvailable(RouteContext context)
Returns true if this RouteModule has more requests available which it can generate.
|
protected String |
loadNamespace(RouteContext context) |
protected QualifierResolver |
loadQualifierResolver(RouteContext context) |
protected Map<String,String> |
loadResponsibilityDetails(RouteContext context) |
protected String |
loadResponsibilityTemplateName(RouteContext context) |
protected void |
logQualifierCheck(String namespaceCode,
String responsibilityName,
Map<String,String> responsibilityDetails,
List<Map<String,String>> qualifiers) |
protected List<org.kuali.rice.kew.role.RoleRouteModule.ResponsibilitySet> |
partitionResponsibilities(List<ResponsibilityAction> responsibilities) |
ResponsibleParty |
resolveResponsibilityId(String responsibilityId)
Return null so that the responsibility ID will remain the same.
|
void |
setNamespace(String namespace) |
void |
setQualifierResolverClassName(String qualifierResolverClassName) |
void |
setQualifierResolverName(String qualifierResolverName) |
void |
setResponsibilityTemplateName(String responsibilityTemplateName) |
protected static final String QUALIFIER_RESOLVER_ELEMENT
protected static final String QUALIFIER_RESOLVER_CLASS_ELEMENT
protected static final String RESPONSIBILITY_TEMPLATE_NAME_ELEMENT
protected static final String NAMESPACE_ELEMENT
public RoleRouteModule()
public boolean isMoreRequestsAvailable(RouteContext context)
RouteModule
isMoreRequestsAvailable
in interface RouteModule
context
- the route contextpublic List<ActionRequestValue> findActionRequests(RouteContext context) throws Exception
RouteModule
findActionRequests
in interface RouteModule
Exception
protected void logQualifierCheck(String namespaceCode, String responsibilityName, Map<String,String> responsibilityDetails, List<Map<String,String>> qualifiers)
protected void disableResolveResponsibility(List<ActionRequestValue> actionRequests)
actionRequests
- protected QualifierResolver loadQualifierResolver(RouteContext context)
protected Map<String,String> loadResponsibilityDetails(RouteContext context)
protected String loadResponsibilityTemplateName(RouteContext context)
protected String loadNamespace(RouteContext context)
protected ObjectDefinition getAttributeObjectDefinition(RuleAttribute ruleAttribute)
protected List<org.kuali.rice.kew.role.RoleRouteModule.ResponsibilitySet> partitionResponsibilities(List<ResponsibilityAction> responsibilities)
public ResponsibleParty resolveResponsibilityId(String responsibilityId) throws WorkflowException
resolveResponsibilityId
in interface RouteModule
WorkflowException
RouteModule.resolveResponsibilityId(String)
public void setQualifierResolverName(String qualifierResolverName)
qualifierResolverName
- the qualifierResolverName to setpublic void setQualifierResolverClassName(String qualifierResolverClassName)
qualifierResolverClassName
- the qualifierResolverClassName to setpublic void setResponsibilityTemplateName(String responsibilityTemplateName)
responsibilityTemplateName
- the responsibilityTemplateName to setpublic void setNamespace(String namespace)
namespace
- the namespace to setprotected ResponsibilityService getResponsibilityService()
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.