org.kuali.rice.kns.rule.event
Class PromptBeforeValidationEvent
java.lang.Object
org.kuali.rice.kns.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.
LOG
private static final org.apache.log4j.Logger LOG
performQuestion
boolean performQuestion
actionForwardName
String actionForwardName
questionId
String questionId
questionText
String questionText
questionType
String questionType
questionCaller
String questionCaller
questionContext
String questionContext
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 getRuleInterfaceClass()
- Description copied from interface:
KualiDocumentEvent
- Returns the interface that classes must implement to recieve 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.kns.rule.BusinessRule)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.