public class EmployeeAttribute extends GenericRoleAttribute
attributeName, content, log
required
Constructor and Description |
---|
EmployeeAttribute() |
EmployeeAttribute(String traveler) |
Modifier and Type | Method and Description |
---|---|
List |
getFieldConversions()
Required to support flex routing report
|
Map<String,String> |
getProperties()
Template method for subclasses to override to expose attribute state
|
protected List<String> |
getRoleNameQualifiers(String roleName,
DocumentContent documentContent)
Template method responsible for producing qualifiers for a role name
|
List<RoleName> |
getRoleNames()
List of
RoleName s this RoleAttribute supports |
List<Row> |
getRoutingDataRows()
RoutingDataRows contain Rows describing the UI-level presentation of the ruleData fields
used to determine where a given document would be routed according to the associated rule.
|
protected boolean |
isValidRole(String roleName) |
protected ResolvedQualifiedRole |
resolveQualifiedRole(RouteContext routeContext,
QualifiedRoleName qualifiedRoleName)
Template method that delegates to
GenericRoleAttribute.resolveRecipients(RouteContext, QualifiedRoleName) and
{@link #getLabelForQualifiedRoleName(QualifiedRoleName) |
protected List<Id> |
resolveRecipients(RouteContext routeContext,
QualifiedRoleName qualifiedRoleName)
Template method for subclasses to implement
|
void |
setTraveler(String traveler)
for edoclite??
|
List |
validateRoutingData(Map paramMap)
These guys should probably be implemented to set the parameters on an internal member property map this attribute
should use to contain all properties set on it, like StandardGenericXmlAttribute.
|
generateQualifiedRoleNames, getLabelForQualifiedRoleName, getQualifiedRoleNames, isMatch, resolveQualifiedRole
getDocContent, getRuleExtensionValues, isMatch, isMatch, validateRuleData
getIdFieldName, getLockFieldName, getRuleRows, isRequired, setRequired
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocContent, getRuleExtensionValues, getRuleRows, isRequired, setRequired, validateRuleData
public EmployeeAttribute()
public EmployeeAttribute(String traveler)
public void setTraveler(String traveler)
public List<RoleName> getRoleNames()
RoleAttribute
RoleName
s this RoleAttribute supportsRoleName
s this RoleAttribute supportsprotected boolean isValidRole(String roleName)
protected List<String> getRoleNameQualifiers(String roleName, DocumentContent documentContent)
GenericRoleAttribute
getRoleNameQualifiers
in class GenericRoleAttribute
protected ResolvedQualifiedRole resolveQualifiedRole(RouteContext routeContext, QualifiedRoleName qualifiedRoleName)
GenericRoleAttribute
GenericRoleAttribute.resolveRecipients(RouteContext, QualifiedRoleName)
and
{@link #getLabelForQualifiedRoleName(QualifiedRoleName)resolveQualifiedRole
in class GenericRoleAttribute
protected List<Id> resolveRecipients(RouteContext routeContext, QualifiedRoleName qualifiedRoleName)
GenericRoleAttribute
resolveRecipients
in class GenericRoleAttribute
public Map<String,String> getProperties()
GenericWorkflowAttribute
getProperties
in class GenericWorkflowAttribute
public List getFieldConversions()
org.kuali.rice.kew.rule.WorkflowRuleAttribute#getFieldConversions()
public List<Row> getRoutingDataRows()
WorkflowRuleAttribute
The getRoutingDataRows method returns a list of rows that contain Fields describing the UI-level presentation of a single RuleExtensionValue for the routing report feature. These rows are used to determine where an eDoc would route if these values were entered. They are constructed the same way rule rows are described above and a lot of times are identical.
Additionally, it is very important that the List of Row objects is reconstructed every time getRoutingDataRows is called. This is because the code which processes these Rows will set the propertyValue directly on the Field objects contained within. Essentially, this means the Rows and Fields should not be constructed once inside of the attribute and cached statically, but instead be recreated each time this method is called.
getRoutingDataRows
in interface WorkflowRuleAttribute
getRoutingDataRows
in class AbstractWorkflowAttribute
public List validateRoutingData(Map paramMap)
GenericWorkflowAttribute
validateRoutingData
in interface WorkflowRuleAttribute
validateRoutingData
in class GenericWorkflowAttribute
paramMap
- Map containing the names and values of the routing data for this AttributeTODO: implement me!
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.