public interface RuleServiceInternal extends XmlLoader, XmlExporter
RuleBaseValues
,
RuleResponsibilityBo
Modifier and Type | Method and Description |
---|---|
void |
delete(String ruleBaseValuesId) |
void |
deleteRuleResponsibilityById(String ruleResponsibilityId) |
List<RuleBaseValues> |
fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateName,
String documentType) |
List<RuleBaseValues> |
fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateName,
String documentType,
Timestamp effectiveDate) |
List<RuleBaseValues> |
fetchAllRules(boolean currentRules) |
List<RuleBaseValues> |
findByDocumentId(String documentId) |
RuleResponsibilityBo |
findByRuleResponsibilityId(String ruleResponsibilityId) |
RuleBaseValues |
findDefaultRuleByRuleTemplateId(String ruleTemplateId) |
String |
findResponsibilityIdForRule(String ruleName,
String ruleResponsibilityName,
String ruleResponsibilityType) |
RuleBaseValues |
findRuleBaseValuesById(String ruleBaseValuesId) |
List<RuleBaseValues> |
findRuleBaseValuesByResponsibilityReviewer(String reviewerName,
String type) |
List<RuleBaseValues> |
findRuleBaseValuesByResponsibilityReviewerTemplateDoc(String ruleTemplateName,
String documentType,
String reviewerName,
String type) |
RuleResponsibilityBo |
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 |
getRuleDocumentTypeName(List<RuleBaseValues> 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(RuleDelegationBo 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) |
RuleDelegationBo |
saveRuleDelegation(RuleDelegationBo ruleDelegation,
boolean isRetroactiveUpdatePermitted) |
List<RuleDelegationBo> |
saveRuleDelegations(List<RuleDelegationBo> 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,
RuleDelegationBo ruleDelegation,
List errors) |
export, supportPrettyPrint
RuleBaseValues getRuleByName(String name)
name
- the rule nameString routeRuleWithDelegate(String documentId, RuleBaseValues parentRule, RuleBaseValues delegateRule, PrincipalContract principal, String annotation, boolean blanketApprove) throws Exception
Exception
@CacheEvict(value="http://rice.kuali.org/kew/v2_0/RuleType", allEntries=true) void save2(RuleBaseValues ruleBaseValues) throws Exception
Exception
void validate2(RuleBaseValues ruleBaseValues, RuleDelegationBo ruleDelegation, List errors) throws Exception
Exception
@CacheEvict(value="http://rice.kuali.org/kew/v2_0/RuleType", allEntries=true) 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)
RuleResponsibilityBo findRuleResponsibility(String responsibilityId)
void deleteRuleResponsibilityById(String ruleResponsibilityId)
RuleResponsibilityBo findByRuleResponsibilityId(String ruleResponsibilityId)
List<RuleBaseValues> fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateName, String documentType)
List<RuleBaseValues> fetchAllCurrentRulesForTemplateDocCombination(String ruleTemplateName, String documentType, Timestamp effectiveDate)
List<RuleBaseValues> findByDocumentId(String documentId)
@CacheEvict(value="http://rice.kuali.org/kew/v2_0/RuleType", allEntries=true) void makeCurrent(String documentId)
@CacheEvict(value="http://rice.kuali.org/kew/v2_0/RuleType", allEntries=true) void makeCurrent(RuleBaseValues rule, boolean isRetroactiveUpdatePermitted)
@CacheEvict(value="http://rice.kuali.org/kew/v2_0/RuleType", allEntries=true) void makeCurrent(RuleDelegationBo ruleDelegation, boolean isRetroactiveUpdatePermitted)
List<RuleBaseValues> findRuleBaseValuesByResponsibilityReviewer(String reviewerName, String type)
List<RuleBaseValues> findRuleBaseValuesByResponsibilityReviewerTemplateDoc(String ruleTemplateName, String documentType, String reviewerName, String type)
String isLockedForRouting(String currentRuleBaseValuesId)
List<RuleBaseValues> fetchAllRules(boolean currentRules)
RuleBaseValues findDefaultRuleByRuleTemplateId(String ruleTemplateId)
RuleBaseValues getParentRule(String ruleBaseValuesId)
String getRuleDocumentTypeName(List<RuleBaseValues> rules)
String getDuplicateRuleId(RuleBaseValues rule)
@CacheEvict(value="http://rice.kuali.org/kew/v2_0/RuleType", allEntries=true) RuleBaseValues saveRule(RuleBaseValues rule, boolean isRetroactiveUpdatePermitted)
@CacheEvict(value="http://rice.kuali.org/kew/v2_0/RuleType", allEntries=true) List<RuleBaseValues> saveRules(List<RuleBaseValues> rulesToSave, boolean isRetroactiveUpdatePermitted)
RuleDelegationBo saveRuleDelegation(RuleDelegationBo ruleDelegation, boolean isRetroactiveUpdatePermitted)
List<RuleDelegationBo> saveRuleDelegations(List<RuleDelegationBo> ruleDelegationsToSave, boolean isRetroactiveUpdatePermitted)
String findResponsibilityIdForRule(String ruleName, String ruleResponsibilityName, String ruleResponsibilityType)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.