|
||||||||||
| 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 class RuleTestUtils
This is a description of what this class does - gilesp don't forget to fill this in.
| Constructor Summary | |
|---|---|
RuleTestUtils()
|
|
| Method Summary | |
|---|---|
static RuleDelegation |
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 RuleDelegation |
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. |
private static RuleDelegation |
createRuleDelegation(RuleBaseValues parentRule,
RuleResponsibility parentResponsibility,
String delegateId,
String groupTypeCode)
This method creates and saves a rule delegation |
static RuleDelegation |
createRuleDelegationToGroup(RuleBaseValues parentRule,
RuleResponsibility parentResponsibility,
Group delegateGroup)
This method creates and saves a rule delegation |
static RuleDelegation |
createRuleDelegationToUser(RuleBaseValues parentRule,
RuleResponsibility parentResponsibility,
KimPrincipal 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 |
| Constructor Detail |
|---|
public RuleTestUtils()
| Method Detail |
|---|
public static RuleDelegation 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 RuleDelegation 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 RuleDelegation createRuleDelegationToUser(RuleBaseValues parentRule,
RuleResponsibility parentResponsibility,
KimPrincipal 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 RuleDelegation createRuleDelegationToGroup(RuleBaseValues parentRule,
RuleResponsibility 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 -
private static RuleDelegation createRuleDelegation(RuleBaseValues parentRule,
RuleResponsibility parentResponsibility,
String delegateId,
String groupTypeCode)
This method creates and saves a rule delegation
As a side effect, active documents of this type will be requeued for workflow processing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||