| java.lang.Object de.schlund.pfixcore.workflow.StateImpl
All known Subclasses: de.schlund.pfixcore.workflow.app.DefaultIWrapperState, de.schlund.pfixcore.example.bank.LogoutState, de.schlund.pfixcore.workflow.app.DefaultAuthIWrapperState, de.schlund.pfixcore.workflow.app.StaticState, de.schlund.pfixcore.example.TestState, de.schlund.pfixcore.editor2.frontend.handlers.LogoutState,
StateImpl | abstract public class StateImpl implements State(Code) | | author: jtl |
CAT | final protected Logger CAT(Code) | | |
getDocument | abstract public ResultDocument getDocument(Context context, PfixServletRequest preq) throws Exception(Code) | | You need to implement the state logic (aka business logic) in this method.
Parameters: context - The Context of the current session/user. Parameters: preq - The current PfixServletRequest object, representing the requestbeing processed exception: Exception - if anything goes wrong in the process. |
isAccessible | public boolean isAccessible(Context context, PfixServletRequest preq) throws Exception(Code) | | This default implementation returns true . You may want to override this.
Parameters: context - The Context of the current session/user. Parameters: preq - The current PfixServletRequest object, representing the requestbeing processed exception: Exception - if anything goes wrong in the process. |
needsData | public boolean needsData(Context context, PfixServletRequest preq) throws Exception(Code) | | This default implementation returns true . You may want to override this.
Parameters: context - The Context of the current session/user. Parameters: preq - The current PfixServletRequest object, representing the requestbeing processed exception: Exception - if anything goes wrong in the process. |
|
|