org.kuali.rice.kew.rule
Class TestRuleAttributeDuex

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

public class TestRuleAttributeDuex
extends Object
implements WorkflowRuleAttribute, RoleAttribute

Another test attribute, this one doesn't implement WorkflowAttributeXmlValidator

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

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<RemotableAttributeError> validateRuleData(Map paramMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRuleAttributeDuex

public TestRuleAttributeDuex()
Method Detail

isMatch

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

getRoleNames

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

getRuleRows

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

getRoutingDataRows

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

getDocContent

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

getRuleExtensionValues

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

validateRoutingData

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

getAttributeLabel

public String getAttributeLabel()

validateRuleData

public List<RemotableAttributeError> validateRuleData(Map paramMap)
Specified by:
validateRuleData in interface WorkflowRuleAttribute

setRequired

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

isRequired

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

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 © 2005-2013 The Kuali Foundation. All Rights Reserved.