org.kuali.rice.kew.rule
Class InitiatorRoleAttribute

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.InitiatorRoleAttribute
All Implemented Interfaces:
Serializable, RoleAttribute, WorkflowAttribute

public class InitiatorRoleAttribute
extends UnqualifiedRoleAttribute

RoleAttribute that exposes an INITIATOR abstract role which resolves to the initiator of the document.

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

Field Summary
private static String INITIATOR_ROLE_KEY
           
private static String INITIATOR_ROLE_LABEL
           
private static Role ROLE
           
private static List<Role> ROLES
           
 
Fields inherited from class org.kuali.rice.kew.rule.UnqualifiedRoleAttribute
roles
 
Fields inherited from class org.kuali.rice.kew.rule.AbstractWorkflowAttribute
required
 
Constructor Summary
InitiatorRoleAttribute()
           
 
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

INITIATOR_ROLE_KEY

private static final String INITIATOR_ROLE_KEY
See Also:
Constant Field Values

INITIATOR_ROLE_LABEL

private static final String INITIATOR_ROLE_LABEL
See Also:
Constant Field Values

ROLE

private static final Role ROLE

ROLES

private static final List<Role> ROLES
Constructor Detail

InitiatorRoleAttribute

public InitiatorRoleAttribute()
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 © 2004-2011 The Kuali Foundation. All Rights Reserved.