|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpoolerEngine
Method Summary | |
---|---|
void |
add(SpoolerTask task)
adds a task to the engine |
PageException |
execute(SpoolerTask task)
execute task and return error throwed by task |
PageException |
execute(String id)
execute task by id and return error throwed by task |
Query |
getAllTasksAsQuery(int startrow,
int maxrow)
|
int |
getClosedTaskCount()
|
Query |
getClosedTasksAsQuery(int startrow,
int maxrow)
|
String |
getLabel()
return the label of the engine |
int |
getOpenTaskCount()
|
Query |
getOpenTasksAsQuery(int startrow,
int maxrow)
|
void |
remove(SpoolerTask task)
remove that task from Spooler |
void |
remove(String id)
remove a task that match given id |
Method Detail |
---|
String getLabel()
void add(SpoolerTask task)
task
- void remove(SpoolerTask task)
task
- void remove(String id)
id
- PageException execute(String id)
id
-
SpoolerException
PageException execute(SpoolerTask task)
task
-
SpoolerException
Query getOpenTasksAsQuery(int startrow, int maxrow) throws PageException
PageException
Query getClosedTasksAsQuery(int startrow, int maxrow) throws PageException
PageException
Query getAllTasksAsQuery(int startrow, int maxrow) throws PageException
PageException
int getOpenTaskCount()
int getClosedTaskCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |