|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.role.RoleRouteModule
public class RoleRouteModule
The RoleRouteModule is responsible for interfacing with the KIM Role system to provide Role-based routing to KEW.
Field Summary | |
---|---|
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 Summary | |
---|---|
RoleRouteModule()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public RoleRouteModule()
Method Detail |
---|
public boolean isMoreRequestsAvailable(RouteContext context)
RouteModule
isMoreRequestsAvailable
in interface RouteModule
context
- the route context
public 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
responsibilityId
- the id of the responsibility to be resolved
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |