|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuleService
A service which provides data access and functions for the KEW Rules engine.
RuleBaseValues
,
RuleResponsibility
Method Summary | |
---|---|
void |
delete(String ruleBaseValuesId)
|
void |
deleteRuleResponsibilityById(String ruleResponsibilityId)
|
List |
fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateName,
String documentType)
|
List |
fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateName,
String documentType,
Timestamp effectiveDate)
|
List |
fetchAllRules(boolean currentRules)
|
List<RuleBaseValues> |
findByDocumentId(String documentId)
|
RuleResponsibility |
findByRuleResponsibilityId(String ruleResponsibilityId)
|
RuleBaseValues |
findDefaultRuleByRuleTemplateId(String ruleTemplateId)
|
String |
findResponsibilityIdForRule(String ruleName,
String ruleResponsibilityName,
String ruleResponsibilityType)
|
RuleBaseValues |
findRuleBaseValuesById(String ruleBaseValuesId)
|
List |
findRuleBaseValuesByResponsibilityReviewer(String reviewerName,
String type)
|
List |
findRuleBaseValuesByResponsibilityReviewerTemplateDoc(String ruleTemplateName,
String documentType,
String reviewerName,
String type)
|
RuleResponsibility |
findRuleResponsibility(String responsibilityId)
|
String |
getDuplicateRuleId(RuleBaseValues rule)
Checks if the Rule with the given value is a duplicate of an existing rule in the system. |
RuleBaseValues |
getParentRule(String ruleBaseValuesId)
|
RuleBaseValues |
getRuleByName(String name)
Returns a Rule based on unique name. |
String |
getRuleDocmentTypeName(List rules)
Returns the name of the document type definition that should be used to route the given List of rules. |
String |
isLockedForRouting(String currentRuleBaseValuesId)
|
void |
makeCurrent(RuleBaseValues rule,
boolean isRetroactiveUpdatePermitted)
|
void |
makeCurrent(RuleDelegation ruleDelegation,
boolean isRetroactiveUpdatePermitted)
|
void |
makeCurrent(String documentId)
|
String |
routeRuleWithDelegate(String documentId,
RuleBaseValues parentRule,
RuleBaseValues delegateRule,
PrincipalContract principal,
String annotation,
boolean blanketApprove)
|
void |
save2(RuleBaseValues ruleBaseValues)
|
RuleBaseValues |
saveRule(RuleBaseValues rule,
boolean isRetroactiveUpdatePermitted)
|
RuleDelegation |
saveRuleDelegation(RuleDelegation ruleDelegation,
boolean isRetroactiveUpdatePermitted)
|
List<RuleDelegation> |
saveRuleDelegations(List<RuleDelegation> ruleDelegationsToSave,
boolean isRetroactiveUpdatePermitted)
|
List<RuleBaseValues> |
saveRules(List<RuleBaseValues> rulesToSave,
boolean isRetroactiveUpdatePermitted)
|
List<RuleBaseValues> |
search(String docTypeName,
String ruleId,
String ruleTemplateId,
String ruleDescription,
String groupId,
String principalId,
Boolean delegateRule,
Boolean activeInd,
Map extensionValues,
String workflowIdDirective)
|
List<RuleBaseValues> |
searchByTemplate(String docTypeName,
String ruleTemplateName,
String ruleDescription,
String groupId,
String principalId,
Boolean workgroupMember,
Boolean delegateRule,
Boolean activeInd,
Map extensionValues,
Collection<String> actionRequestCodes)
|
void |
validate2(RuleBaseValues ruleBaseValues,
RuleDelegation ruleDelegation,
List errors)
|
Methods inherited from interface org.kuali.rice.core.framework.impex.xml.XmlLoader |
---|
loadXml |
Methods inherited from interface org.kuali.rice.core.framework.impex.xml.XmlExporter |
---|
export, supportPrettyPrint |
Method Detail |
---|
RuleBaseValues getRuleByName(String name)
name
- the rule name
String routeRuleWithDelegate(String documentId, RuleBaseValues parentRule, RuleBaseValues delegateRule, PrincipalContract principal, String annotation, boolean blanketApprove) throws Exception
Exception
void save2(RuleBaseValues ruleBaseValues) throws Exception
Exception
void validate2(RuleBaseValues ruleBaseValues, RuleDelegation ruleDelegation, List errors) throws Exception
Exception
void delete(String ruleBaseValuesId)
RuleBaseValues findRuleBaseValuesById(String ruleBaseValuesId)
List<RuleBaseValues> search(String docTypeName, String ruleId, String ruleTemplateId, String ruleDescription, String groupId, String principalId, Boolean delegateRule, Boolean activeInd, Map extensionValues, String workflowIdDirective)
List<RuleBaseValues> searchByTemplate(String docTypeName, String ruleTemplateName, String ruleDescription, String groupId, String principalId, Boolean workgroupMember, Boolean delegateRule, Boolean activeInd, Map extensionValues, Collection<String> actionRequestCodes)
RuleResponsibility findRuleResponsibility(String responsibilityId)
void deleteRuleResponsibilityById(String ruleResponsibilityId)
RuleResponsibility findByRuleResponsibilityId(String ruleResponsibilityId)
List fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateName, String documentType)
List fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateName, String documentType, Timestamp effectiveDate)
List<RuleBaseValues> findByDocumentId(String documentId)
void makeCurrent(String documentId)
void makeCurrent(RuleBaseValues rule, boolean isRetroactiveUpdatePermitted)
void makeCurrent(RuleDelegation ruleDelegation, boolean isRetroactiveUpdatePermitted)
List findRuleBaseValuesByResponsibilityReviewer(String reviewerName, String type)
List findRuleBaseValuesByResponsibilityReviewerTemplateDoc(String ruleTemplateName, String documentType, String reviewerName, String type)
String isLockedForRouting(String currentRuleBaseValuesId)
List fetchAllRules(boolean currentRules)
RuleBaseValues findDefaultRuleByRuleTemplateId(String ruleTemplateId)
RuleBaseValues getParentRule(String ruleBaseValuesId)
String getRuleDocmentTypeName(List rules)
String getDuplicateRuleId(RuleBaseValues rule)
RuleBaseValues saveRule(RuleBaseValues rule, boolean isRetroactiveUpdatePermitted)
List<RuleBaseValues> saveRules(List<RuleBaseValues> rulesToSave, boolean isRetroactiveUpdatePermitted)
RuleDelegation saveRuleDelegation(RuleDelegation ruleDelegation, boolean isRetroactiveUpdatePermitted)
List<RuleDelegation> saveRuleDelegations(List<RuleDelegation> ruleDelegationsToSave, boolean isRetroactiveUpdatePermitted)
String findResponsibilityIdForRule(String ruleName, String ruleResponsibilityName, String ruleResponsibilityType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |