edu.sampleu.travel.workflow
Class EmployeeAttribute

java.lang.Object
  extended by org.kuali.rice.kew.rule.AbstractWorkflowAttribute
      extended by org.kuali.rice.kew.rule.GenericWorkflowAttribute
          extended by org.kuali.rice.kew.rule.GenericRoleAttribute
              extended by edu.sampleu.travel.workflow.EmployeeAttribute
All Implemented Interfaces:
java.io.Serializable, org.kuali.rice.kew.rule.RoleAttribute, org.kuali.rice.kew.rule.WorkflowAttribute

public class EmployeeAttribute
extends org.kuali.rice.kew.rule.GenericRoleAttribute

An attribute implementation that can resolve organizational roles

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kew.rule.GenericWorkflowAttribute
attributeName, content, log
 
Fields inherited from class org.kuali.rice.kew.rule.AbstractWorkflowAttribute
required
 
Constructor Summary
EmployeeAttribute()
           
EmployeeAttribute(java.lang.String traveler)
           
 
Method Summary
 java.util.List getFieldConversions()
          Required to support flex routing report
 java.util.Map<java.lang.String,java.lang.String> getProperties()
           
protected  java.util.List<java.lang.String> getRoleNameQualifiers(java.lang.String roleName, org.kuali.rice.kew.routeheader.DocumentContent documentContent)
           
 java.util.List<org.kuali.rice.kew.rule.Role> getRoleNames()
           
 java.util.List<org.kuali.rice.kns.web.ui.Row> getRoutingDataRows()
           
protected  boolean isValidRole(java.lang.String roleName)
           
protected  org.kuali.rice.kew.rule.ResolvedQualifiedRole resolveQualifiedRole(org.kuali.rice.kew.engine.RouteContext routeContext, org.kuali.rice.kew.rule.QualifiedRoleName qualifiedRoleName)
           
protected  java.util.List<org.kuali.rice.kew.identity.Id> resolveRecipients(org.kuali.rice.kew.engine.RouteContext routeContext, org.kuali.rice.kew.rule.QualifiedRoleName qualifiedRoleName)
           
 void setTraveler(java.lang.String traveler)
          for edoclite??
 java.util.List validateRoutingData(java.util.Map paramMap)
           
 
Methods inherited from class org.kuali.rice.kew.rule.GenericRoleAttribute
generateQualifiedRoleNames, getLabelForQualifiedRoleName, getQualifiedRoleNames, isMatch, resolveQualifiedRole
 
Methods inherited from class org.kuali.rice.kew.rule.GenericWorkflowAttribute
getDocContent, getRuleExtensionValues, isMatch, isMatch, validateRuleData
 
Methods inherited from class org.kuali.rice.kew.rule.AbstractWorkflowAttribute
getIdFieldName, getLockFieldName, getRuleRows, isRequired, setRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmployeeAttribute

public EmployeeAttribute()

EmployeeAttribute

public EmployeeAttribute(java.lang.String traveler)
Method Detail

setTraveler

public void setTraveler(java.lang.String traveler)
for edoclite??


getRoleNames

public java.util.List<org.kuali.rice.kew.rule.Role> getRoleNames()

isValidRole

protected boolean isValidRole(java.lang.String roleName)

getRoleNameQualifiers

protected java.util.List<java.lang.String> getRoleNameQualifiers(java.lang.String roleName,
                                                                 org.kuali.rice.kew.routeheader.DocumentContent documentContent)
Overrides:
getRoleNameQualifiers in class org.kuali.rice.kew.rule.GenericRoleAttribute

resolveQualifiedRole

protected org.kuali.rice.kew.rule.ResolvedQualifiedRole resolveQualifiedRole(org.kuali.rice.kew.engine.RouteContext routeContext,
                                                                             org.kuali.rice.kew.rule.QualifiedRoleName qualifiedRoleName)
Overrides:
resolveQualifiedRole in class org.kuali.rice.kew.rule.GenericRoleAttribute

resolveRecipients

protected java.util.List<org.kuali.rice.kew.identity.Id> resolveRecipients(org.kuali.rice.kew.engine.RouteContext routeContext,
                                                                           org.kuali.rice.kew.rule.QualifiedRoleName qualifiedRoleName)
Overrides:
resolveRecipients in class org.kuali.rice.kew.rule.GenericRoleAttribute

getProperties

public java.util.Map<java.lang.String,java.lang.String> getProperties()
Specified by:
getProperties in class org.kuali.rice.kew.rule.GenericWorkflowAttribute

getFieldConversions

public java.util.List getFieldConversions()
Required to support flex routing report

See Also:
org.kuali.rice.kew.rule.WorkflowAttribute#getFieldConversions()

getRoutingDataRows

public java.util.List<org.kuali.rice.kns.web.ui.Row> getRoutingDataRows()
Specified by:
getRoutingDataRows in interface org.kuali.rice.kew.rule.WorkflowAttribute
Overrides:
getRoutingDataRows in class org.kuali.rice.kew.rule.AbstractWorkflowAttribute

validateRoutingData

public java.util.List validateRoutingData(java.util.Map paramMap)
Specified by:
validateRoutingData in interface org.kuali.rice.kew.rule.WorkflowAttribute
Overrides:
validateRoutingData in class org.kuali.rice.kew.rule.GenericWorkflowAttribute


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