Project Wonder 2.0

er.extensions
Interface ERXLongResponseTask

All Superinterfaces:
Runnable
All Known Implementing Classes:
ERXLongResponseTask.DefaultImplementation

public interface ERXLongResponseTask
extends Runnable

Long response task interface and default implementation should take away the need to tie your long running task directly to a component like with WOLongReponsePage. To use it, you should subclass the default implementation, implement performAction(), drop an instance of ERXLongResponse on your page and bind it's task binding to it.

Author:
ak

Nested Class Summary
static class ERXLongResponseTask.DefaultImplementation
           
 
Method Summary
 boolean isDone()
           
 WOComponent nextPage()
           
 void setLongResponse(ERXLongResponse sender)
          Sets the ERXLongResponse that pulls info from this task
 void start()
          Start the task.
 void stop()
          Stop the task.
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

setLongResponse

public void setLongResponse(ERXLongResponse sender)
Sets the ERXLongResponse that pulls info from this task


isDone

public boolean isDone()
Returns:
true if the task is still running

start

public void start()
Start the task.


stop

public void stop()
Stop the task.


nextPage

public WOComponent nextPage()
Returns:
next page according to inner status.

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.