org.kuali.rice.kew.rule
Class RoutedByUserRoleAttribute

java.lang.Object
  extended by org.kuali.rice.kew.rule.AbstractWorkflowAttribute
      extended by org.kuali.rice.kew.rule.AbstractRoleAttribute
          extended by org.kuali.rice.kew.rule.UnqualifiedRoleAttribute
              extended by org.kuali.rice.kew.rule.RoutedByUserRoleAttribute
All Implemented Interfaces:
Serializable, RoleAttribute, WorkflowAttribute

public class RoutedByUserRoleAttribute
extends UnqualifiedRoleAttribute

RoleAttribute that exposes a document's user who routed the document

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
private static Role ROLE
           
private static List<Role> ROLES
           
private static String ROUTED_BY_USER_ROLE_KEY
           
private static String ROUTED_BY_USER_ROLE_LABEL
           
private static long serialVersionUID
           
 
Fields inherited from class org.kuali.rice.kew.rule.UnqualifiedRoleAttribute
roles
 
Fields inherited from class org.kuali.rice.kew.rule.AbstractWorkflowAttribute
required
 
Constructor Summary
RoutedByUserRoleAttribute()
           
 
Method Summary
 ResolvedQualifiedRole resolveRole(RouteContext routeContext, String roleName)
          Template method for subclasses to implement
 
Methods inherited from class org.kuali.rice.kew.rule.UnqualifiedRoleAttribute
getQualifiedRoleNames, getRoleNames, isValidRoleName, parseRoleNameFromClassAndRole, resolveQualifiedRole
 
Methods inherited from class org.kuali.rice.kew.rule.AbstractRoleAttribute
isMatch
 
Methods inherited from class org.kuali.rice.kew.rule.AbstractWorkflowAttribute
getDocContent, getIdFieldName, getLockFieldName, getRoutingDataRows, getRuleExtensionValues, getRuleRows, isRequired, setRequired, validateRoutingData, validateRuleData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

ROUTED_BY_USER_ROLE_KEY

private static final String ROUTED_BY_USER_ROLE_KEY
See Also:
Constant Field Values

ROUTED_BY_USER_ROLE_LABEL

private static final String ROUTED_BY_USER_ROLE_LABEL
See Also:
Constant Field Values

ROLE

private static final Role ROLE

ROLES

private static final List<Role> ROLES
Constructor Detail

RoutedByUserRoleAttribute

public RoutedByUserRoleAttribute()
Method Detail

resolveRole

public ResolvedQualifiedRole resolveRole(RouteContext routeContext,
                                         String roleName)
Description copied from class: UnqualifiedRoleAttribute
Template method for subclasses to implement

Specified by:
resolveRole in class UnqualifiedRoleAttribute
Parameters:
routeContext - the RouteContext
roleName - the role name
Returns:
a ResolvedQualifiedRole


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.