| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kew.rule.RuleTestUtils
public final class RuleTestUtils
This is a description of what this class does - gilesp don't forget to fill this in.
| Method Summary | |
|---|---|
| static RuleDelegationBo | createDelegationToGroup(String docType,
                                               String ruleTemplate,
                                               String delegateGroupId)This method will create a delegate rule for the rule (assumed to be cardinality of 1) specified by the given docType and ruleTemplate. | 
| static RuleDelegationBo | createDelegationToUser(String docType,
                                             String ruleTemplate,
                                             String delegateUser)This method will create a delegate rule for the rule (assumed to be cardinality of 1) specified by the given docType and ruleTemplate. | 
| static RuleDelegationBo | createRuleDelegationToGroup(RuleBaseValues parentRule,
                                                       RuleResponsibilityBo parentResponsibility,
                                                       Group delegateGroup)This method creates and saves a rule delegation | 
| static RuleDelegationBo | createRuleDelegationToUser(RuleBaseValues parentRule,
                                                     RuleResponsibilityBo parentResponsibility,
                                                     PrincipalContract delegatePrincipal)This method creates and saves a rule delegation | 
| static RuleBaseValues | getRule(String docType,
               String ruleTemplate)This method gets a rule from a docType / ruleTemplate combo | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static RuleDelegationBo createDelegationToUser(String docType,
                                                      String ruleTemplate,
                                                      String delegateUser)
This method will create a delegate rule for the rule (assumed to be cardinality of 1) specified by the given docType and ruleTemplate.
As a side effect, active documents of this type will be requeued for workflow processing.
delegateUser - the user who will be the delegate
public static RuleDelegationBo createDelegationToGroup(String docType,
                                                       String ruleTemplate,
                                                       String delegateGroupId)
This method will create a delegate rule for the rule (assumed to be cardinality of 1) specified by the given docType and ruleTemplate.
As a side effect, active documents of this type will be requeued for workflow processing.
delegateUser - the user who will be the delegate
public static RuleBaseValues getRule(String docType,
                                     String ruleTemplate)
public static RuleDelegationBo createRuleDelegationToUser(RuleBaseValues parentRule,
                                                          RuleResponsibilityBo parentResponsibility,
                                                          PrincipalContract delegatePrincipal)
This method creates and saves a rule delegation
As a side effect, active documents of this type will be requeued for workflow processing.
parentRule - parentResponsibility - delegatePrincipal - 
public static RuleDelegationBo createRuleDelegationToGroup(RuleBaseValues parentRule,
                                                           RuleResponsibilityBo parentResponsibility,
                                                           Group delegateGroup)
This method creates and saves a rule delegation
As a side effect, active documents of this type will be requeued for workflow processing.
parentRule - parentResponsibility - delegateGroup - | 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||