org.kuali.rice.kns.rule.event
Class PromptBeforeValidationEvent
java.lang.Object
org.kuali.rice.krad.rules.rule.event.KualiDocumentEventBase
org.kuali.rice.kns.rule.event.PromptBeforeValidationEvent
- All Implemented Interfaces:
- KualiDocumentEvent
public class PromptBeforeValidationEvent
- extends KualiDocumentEventBase
Event for handling warnings/questions before rules are called.
PromptBeforeValidationEvent
public PromptBeforeValidationEvent(String description,
String errorPathPrefix,
Document document)
- Parameters:
description
- errorPathPrefix
- document
-
getActionForwardName
public String getActionForwardName()
- Returns:
- Returns the actionForwardName.
setActionForwardName
public void setActionForwardName(String actionForwardName)
- Parameters:
actionForwardName
- The actionForwardName to set.
isPerformQuestion
public boolean isPerformQuestion()
- Returns:
- Returns the performQuestion.
setPerformQuestion
public void setPerformQuestion(boolean performQuestion)
- Parameters:
performQuestion
- The performQuestion to set.
getQuestionCaller
public String getQuestionCaller()
- Returns:
- Returns the questionCaller.
setQuestionCaller
public void setQuestionCaller(String questionCaller)
- Parameters:
questionCaller
- The questionCaller to set.
getQuestionContext
public String getQuestionContext()
- Returns:
- Returns the questionContext.
setQuestionContext
public void setQuestionContext(String questionContext)
- Parameters:
questionContext
- The questionContext to set.
getQuestionId
public String getQuestionId()
- Returns:
- Returns the questionId.
setQuestionId
public void setQuestionId(String questionId)
- Parameters:
questionId
- The questionId to set.
getQuestionText
public String getQuestionText()
- Returns:
- Returns the questionText.
setQuestionText
public void setQuestionText(String questionText)
- Parameters:
questionText
- The questionText to set.
getQuestionType
public String getQuestionType()
- Returns:
- Returns the questionType.
setQuestionType
public void setQuestionType(String questionType)
- Parameters:
questionType
- The questionType to set.
getRuleInterfaceClass
public Class<? extends BusinessRule> getRuleInterfaceClass()
- Description copied from interface:
KualiDocumentEvent
- Returns the interface that classes must implement to receive this event.
- Returns:
- See Also:
KualiDocumentEvent.getRuleInterfaceClass()
invokeRuleMethod
public boolean invokeRuleMethod(BusinessRule rule)
- Description copied from interface:
KualiDocumentEvent
- Invokes the event handling method on the rule object.
- Returns:
- See Also:
KualiDocumentEvent.invokeRuleMethod(org.kuali.rice.krad.rules.rule.BusinessRule)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.