org.kuali.rice.kns.rules
Class PromptBeforeValidationBase.ContextSession

java.lang.Object
  extended by org.kuali.rice.kns.rules.PromptBeforeValidationBase.ContextSession
Enclosing class:
PromptBeforeValidationBase

public class PromptBeforeValidationBase.ContextSession
extends Object

This is a description of what this class does - wliang don't forget to fill this in.

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

Constructor Summary
PromptBeforeValidationBase.ContextSession(String context, PromptBeforeValidationEvent event)
           
 
Method Summary
 void askQuestion(String id, String text)
          Invoked to indicate that the user should be prompted a question
 String getAttribute(String name)
           
 boolean hasAsked(String id)
          Whether a question with a given ID has already been asked
 void setAttribute(String name, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PromptBeforeValidationBase.ContextSession

public PromptBeforeValidationBase.ContextSession(String context,
                                                 PromptBeforeValidationEvent event)
Method Detail

hasAsked

public boolean hasAsked(String id)
Whether a question with a given ID has already been asked

Parameters:
id - the ID of the question, an arbitrary value, but must be consistent
Returns:

askQuestion

public void askQuestion(String id,
                        String text)
Invoked to indicate that the user should be prompted a question

Parameters:
id - the ID of the question, an arbitrary value, but must be consistent
text - the question text, to be displayed to the user

setAttribute

public void setAttribute(String name,
                         String value)

getAttribute

public String getAttribute(String name)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.