org.kuali.rice.kew.rule
Class TestRuleAttributeThree

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

public class TestRuleAttributeThree
extends Object
implements WorkflowRuleAttribute, RoleAttribute, WorkflowAttributeXmlValidator

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

Field Summary
static boolean VALID_CLIENT_ROUTING_DATA_CALLED
           
 
Constructor Summary
TestRuleAttributeThree()
           
 
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<? extends RemotableAttributeErrorContract> validateClientRoutingData()
           
 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

VALID_CLIENT_ROUTING_DATA_CALLED

public static boolean VALID_CLIENT_ROUTING_DATA_CALLED
Constructor Detail

TestRuleAttributeThree

public TestRuleAttributeThree()
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 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)

validateClientRoutingData

public List<? extends RemotableAttributeErrorContract> validateClientRoutingData()
Specified by:
validateClientRoutingData in interface WorkflowAttributeXmlValidator


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.