org.kuali.rice.kew.rule
Class TestRuleAttributeDuex

java.lang.Object
  extended by org.kuali.rice.kew.rule.TestRuleAttributeDuex
All Implemented Interfaces:
Serializable, RoleAttribute, WorkflowAttribute

public class TestRuleAttributeDuex
extends Object
implements WorkflowAttribute, RoleAttribute

Another test attribute, this one doesn't implement WorkflowAttributeXmlValidator

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

Field Summary
private  boolean required
           
private static Map roles
           
private static long serialVersionUID
           
 
Constructor Summary
TestRuleAttributeDuex()
           
 
Method Summary
static void addQualifiedRole(String roleName, String qualifiedRoleName)
           
static void addRole(String roleName)
           
 String getAttributeLabel()
           
 String getDocContent()
           
 List getQualifiedRoleNames(String roleName, DocumentContent documentContent)
           
static List getRecipients(String roleName, String qualifiedRoleName)
           
static Map getRole(String roleName)
           
 List getRoleNames()
           
 List getRoutingDataRows()
           
 List getRuleExtensionValues()
           
 List getRuleRows()
           
 boolean isMatch(DocumentContent documentContent, List ruleExtensions)
           
 boolean isRequired()
           
static void removeQualifiedRole(String roleName, String qualifiedRoleName)
           
static void removeRole(String roleName)
           
 ResolvedQualifiedRole resolveQualifiedRole(RouteContext routeContext, String roleName, String qualifiedRole)
           
static void setRecipients(String roleName, String qualifiedRoleName, List recipients)
           
 void setRequired(boolean required)
           
 List validateRoutingData(Map paramMap)
           
 List validateRuleData(Map paramMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

roles

private static Map roles

required

private boolean required
Constructor Detail

TestRuleAttributeDuex

public TestRuleAttributeDuex()
Method Detail

isMatch

public boolean isMatch(DocumentContent documentContent,
                       List ruleExtensions)
Specified by:
isMatch in interface WorkflowAttribute

getRoleNames

public List getRoleNames()
Specified by:
getRoleNames in interface RoleAttribute

getRuleRows

public List getRuleRows()
Specified by:
getRuleRows in interface WorkflowAttribute

getRoutingDataRows

public List getRoutingDataRows()
Specified by:
getRoutingDataRows in interface WorkflowAttribute

getDocContent

public String getDocContent()
Specified by:
getDocContent in interface WorkflowAttribute

getRuleExtensionValues

public List getRuleExtensionValues()
Specified by:
getRuleExtensionValues in interface WorkflowAttribute

validateRoutingData

public List validateRoutingData(Map paramMap)
Specified by:
validateRoutingData in interface WorkflowAttribute

getAttributeLabel

public String getAttributeLabel()

validateRuleData

public List validateRuleData(Map paramMap)
Specified by:
validateRuleData in interface WorkflowAttribute

setRequired

public void setRequired(boolean required)
Specified by:
setRequired in interface WorkflowAttribute

isRequired

public boolean isRequired()
Specified by:
isRequired in interface WorkflowAttribute

getQualifiedRoleNames

public List getQualifiedRoleNames(String roleName,
                                  DocumentContent documentContent)
Specified by:
getQualifiedRoleNames in interface RoleAttribute

resolveQualifiedRole

public ResolvedQualifiedRole resolveQualifiedRole(RouteContext routeContext,
                                                  String roleName,
                                                  String qualifiedRole)
Specified by:
resolveQualifiedRole in interface RoleAttribute

addRole

public static void addRole(String roleName)

removeRole

public static void removeRole(String roleName)

getRole

public static Map getRole(String roleName)

addQualifiedRole

public static void addQualifiedRole(String roleName,
                                    String qualifiedRoleName)

removeQualifiedRole

public static void removeQualifiedRole(String roleName,
                                       String qualifiedRoleName)

setRecipients

public static void setRecipients(String roleName,
                                 String qualifiedRoleName,
                                 List recipients)

getRecipients

public static List getRecipients(String roleName,
                                 String qualifiedRoleName)


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