|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.imixs.workflow.jee.adminclient.ScheduleWorkflowBean
public class ScheduleWorkflowBean
| Constructor Summary | |
|---|---|
ScheduleWorkflowBean()
init method. initialize default scheduledWorkflowManager |
|
| Method Summary | |
|---|---|
void |
doCreate(javax.faces.event.ActionEvent event)
creates a new timer service |
void |
doDisable(javax.faces.event.ActionEvent event)
|
void |
doEnable(javax.faces.event.ActionEvent event)
This method starts the scheduled workflow Intervall is set to 10 min |
void |
doReschedule(javax.faces.event.ActionEvent event)
|
void |
findTimerByID(String id)
This method loads a specific timer by its ID |
String |
getEjbScheduledWorkflowServiceName()
returns the current ScheduledWorkflowManager JNDI Name |
int |
getHours()
|
Map |
getItem()
|
Map |
getItemList()
|
Map |
getItemListArray()
|
int |
getMinutes()
|
ArrayList<org.imixs.workflow.ItemCollection> |
getTimers()
|
boolean |
isEnabled()
this method test if a timerinstance with the current id is found and running |
boolean |
isScheduledWorkflowServiceLoaded()
check if a ScheduledWorkflowManager was loaded |
void |
loadTimer(javax.faces.event.ActionEvent event)
|
void |
setEjbScheduledWorkflowServiceName(String ejbName)
set the current scheduledWorkflowService JNDI name and try to load the EJB from the initialContext |
void |
setHours(int hours)
|
void |
setMinutes(int minutes)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScheduleWorkflowBean()
| Method Detail |
|---|
public boolean isScheduledWorkflowServiceLoaded()
public String getEjbScheduledWorkflowServiceName()
public void setEjbScheduledWorkflowServiceName(String ejbName)
ejbName - public int getHours()
public void setHours(int hours)
public int getMinutes()
public void setMinutes(int minutes)
public boolean isEnabled()
public void doCreate(javax.faces.event.ActionEvent event)
event - public void doEnable(javax.faces.event.ActionEvent event)
Exceptionpublic void doDisable(javax.faces.event.ActionEvent event)
public void doReschedule(javax.faces.event.ActionEvent event)
public void findTimerByID(String id)
id - public void loadTimer(javax.faces.event.ActionEvent event)
public ArrayList<org.imixs.workflow.ItemCollection> getTimers()
throws Exception
Exception
public Map getItem()
throws Exception
Exception
public Map getItemList()
throws Exception
Exception
public Map getItemListArray()
throws Exception
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||