org.kuali.rice.kns.rule.event
Class PromptBeforeValidationEvent

java.lang.Object
  extended by org.kuali.rice.kns.rule.event.KualiDocumentEventBase
      extended by 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.


Field Summary
(package private)  String actionForwardName
           
private static org.apache.log4j.Logger LOG
           
(package private)  boolean performQuestion
           
(package private)  String questionCaller
           
(package private)  String questionContext
           
(package private)  String questionId
           
(package private)  String questionText
           
(package private)  String questionType
           
 
Fields inherited from class org.kuali.rice.kns.rule.event.KualiDocumentEventBase
document
 
Constructor Summary
PromptBeforeValidationEvent(String description, String errorPathPrefix, Document document)
           
 
Method Summary
 String getActionForwardName()
           
 String getQuestionCaller()
           
 String getQuestionContext()
           
 String getQuestionId()
           
 String getQuestionText()
           
 String getQuestionType()
           
 Class getRuleInterfaceClass()
          Returns the interface that classes must implement to recieve this event.
 boolean invokeRuleMethod(BusinessRule rule)
          Invokes the event handling method on the rule object.
 boolean isPerformQuestion()
           
 void setActionForwardName(String actionForwardName)
           
 void setPerformQuestion(boolean performQuestion)
           
 void setQuestionCaller(String questionCaller)
           
 void setQuestionContext(String questionContext)
           
 void setQuestionId(String questionId)
           
 void setQuestionText(String questionText)
           
 void setQuestionType(String questionType)
           
 
Methods inherited from class org.kuali.rice.kns.rule.event.KualiDocumentEventBase
generateEvents, getDescription, getDocument, getDocumentId, getErrorPathPrefix, getName, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

PromptBeforeValidationEvent

public PromptBeforeValidationEvent(String description,
                                   String errorPathPrefix,
                                   Document document)
Parameters:
description -
errorPathPrefix -
document -
Method Detail

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.