org.kuali.rice.kew.api.validation
Interface RuleValidationContextContract

All Known Implementing Classes:
RuleValidationContext, RuleValidationContext.Builder

public interface RuleValidationContextContract

The RuleValidationContext represents the context under which to validate a Rule which is being entered into the system, be it through the web-based Rule GUI or via an XML import. The ruleAuthor is the UserSession of the individual who is entering or editing the rule. This may be null if the rule is being run through validation from the context of an XML rule import. The RuleDelegation represents the pointer to the rule from it's parent rule's RuleResponsibility. This will be null if the rule being entered is not a delegation rule.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 RuleContract getRule()
          Retrieve the rule which is being validated.
 String getRuleAuthorPrincipalId()
          Retrieve the principal of the rule author.
 RuleDelegationContract getRuleDelegation()
          Retrieve the RuleDelegation representing the parent of the rule being validated.
 

Method Detail

getRule

RuleContract getRule()
Retrieve the rule which is being validated.


getRuleAuthorPrincipalId

String getRuleAuthorPrincipalId()
Retrieve the principal of the rule author. May be null in the case of an XML rule import.


getRuleDelegation

RuleDelegationContract getRuleDelegation()
Retrieve the RuleDelegation representing the parent of the rule being validated. If the rule is not a delegation rule, then this will return null;



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