public class EmployeeAttribute extends GenericRoleAttribute
attributeName, content, logrequired| 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
RoleNames 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, resolveQualifiedRolegetDocContent, getRuleExtensionValues, isMatch, isMatch, validateRuleDatagetIdFieldName, getLockFieldName, getRuleRows, isRequired, setRequiredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocContent, getRuleExtensionValues, getRuleRows, isRequired, setRequired, validateRuleDatapublic EmployeeAttribute()
public EmployeeAttribute(String traveler)
public void setTraveler(String traveler)
public List<RoleName> getRoleNames()
RoleAttributeRoleNames this RoleAttribute supportsRoleNames this RoleAttribute supportsprotected boolean isValidRole(String roleName)
protected List<String> getRoleNameQualifiers(String roleName, DocumentContent documentContent)
GenericRoleAttributegetRoleNameQualifiers in class GenericRoleAttributeprotected ResolvedQualifiedRole resolveQualifiedRole(RouteContext routeContext, QualifiedRoleName qualifiedRoleName)
GenericRoleAttributeGenericRoleAttribute.resolveRecipients(RouteContext, QualifiedRoleName) and
{@link #getLabelForQualifiedRoleName(QualifiedRoleName)resolveQualifiedRole in class GenericRoleAttributeprotected List<Id> resolveRecipients(RouteContext routeContext, QualifiedRoleName qualifiedRoleName)
GenericRoleAttributeresolveRecipients in class GenericRoleAttributepublic Map<String,String> getProperties()
GenericWorkflowAttributegetProperties in class GenericWorkflowAttributepublic List getFieldConversions()
org.kuali.rice.kew.rule.WorkflowRuleAttribute#getFieldConversions()public List<Row> getRoutingDataRows()
WorkflowRuleAttributeThe 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 WorkflowRuleAttributegetRoutingDataRows in class AbstractWorkflowAttributepublic List validateRoutingData(Map paramMap)
GenericWorkflowAttributevalidateRoutingData in interface WorkflowRuleAttributevalidateRoutingData in class GenericWorkflowAttributeparamMap - Map containing the names and values of the routing data for this AttributeTODO: implement me!Copyright © 2005–2015 The Kuali Foundation. All rights reserved.