net.sf.ewc.workflow
Class AbstractItemViewerCtx.FlowHandler

java.lang.Object
  extended bynet.sf.ewc.workflow.AbstractItemViewerCtx.FlowHandler
Enclosing class:
AbstractItemViewerCtx

public static class AbstractItemViewerCtx.FlowHandler
extends java.lang.Object

This class handles the AbstractItemViewerCtxdefault flow. You can override some methods to change the default flow handling.

Author:
mballesteros

Constructor Summary
AbstractItemViewerCtx.FlowHandler()
           
 
Method Summary
 java.lang.String getEditItemPath()
          Returns the default "editItem" path
protected  java.lang.String getGoBackPath()
          Returns the default "goBack" path
protected  boolean onEdit(java.lang.Object itemToEdit)
          Callback method that is called when the user throws AbstractItemViewerCtx.editItem().
protected  boolean onGoBack()
          Callback method that is called when the user throws AbstractItemViewerCtx.goBack().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractItemViewerCtx.FlowHandler

public AbstractItemViewerCtx.FlowHandler()
Method Detail

onGoBack

protected boolean onGoBack()
Callback method that is called when the user throws AbstractItemViewerCtx.goBack(). Should return true to continue. By default returns true.


getGoBackPath

protected java.lang.String getGoBackPath()
Returns the default "goBack" path

Returns:

onEdit

protected boolean onEdit(java.lang.Object itemToEdit)
Callback method that is called when the user throws AbstractItemViewerCtx.editItem(). Should return true to continue to the new object edition. By default returns true.


getEditItemPath

public java.lang.String getEditItemPath()
Returns the default "editItem" path

Returns:


Copyright © 2003-2004 SourceForge. All Rights Reserved.