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:
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(String traveler)
           
 
Method Summary
 List getFieldConversions()
          Required to support flex routing report
 Map<String,String> getProperties()
           
protected  List<String> getRoleNameQualifiers(String roleName, org.kuali.rice.kew.routeheader.DocumentContent documentContent)
           
 List<org.kuali.rice.kew.rule.Role> getRoleNames()
           
 List<org.kuali.rice.kns.web.ui.Row> getRoutingDataRows()
           
protected  boolean isValidRole(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  List<org.kuali.rice.kew.identity.Id> resolveRecipients(org.kuali.rice.kew.engine.RouteContext routeContext, org.kuali.rice.kew.rule.QualifiedRoleName qualifiedRoleName)
           
 void setTraveler(String traveler)
          for edoclite??
 List validateRoutingData(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(String traveler)
Method Detail

setTraveler

public void setTraveler(String traveler)
for edoclite??


getRoleNames

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

isValidRole

protected boolean isValidRole(String roleName)

getRoleNameQualifiers

protected List<String> getRoleNameQualifiers(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 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 Map<String,String> getProperties()
Specified by:
getProperties in class org.kuali.rice.kew.rule.GenericWorkflowAttribute

getFieldConversions

public List getFieldConversions()
Required to support flex routing report

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

getRoutingDataRows

public 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 List validateRoutingData(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.