org.kuali.rice.kns.rules
Class PromptBeforeValidationBase.ContextSession
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PromptBeforeValidationBase.ContextSession
public PromptBeforeValidationBase.ContextSession(String context,
PromptBeforeValidationEvent event)
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 consistenttext
- 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.