org.imixs.workflow.jee.adminclient
Class ScheduleWorkflowBean

java.lang.Object
  extended by org.imixs.workflow.jee.adminclient.ScheduleWorkflowBean

public class ScheduleWorkflowBean
extends Object


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

ScheduleWorkflowBean

public ScheduleWorkflowBean()
init method. initialize default scheduledWorkflowManager

Method Detail

isScheduledWorkflowServiceLoaded

public boolean isScheduledWorkflowServiceLoaded()
check if a ScheduledWorkflowManager was loaded

Returns:

getEjbScheduledWorkflowServiceName

public String getEjbScheduledWorkflowServiceName()
returns the current ScheduledWorkflowManager JNDI Name

Returns:

setEjbScheduledWorkflowServiceName

public void setEjbScheduledWorkflowServiceName(String ejbName)
set the current scheduledWorkflowService JNDI name and try to load the EJB from the initialContext

Parameters:
ejbName -

getHours

public int getHours()

setHours

public void setHours(int hours)

getMinutes

public int getMinutes()

setMinutes

public void setMinutes(int minutes)

isEnabled

public boolean isEnabled()
this method test if a timerinstance with the current id is found and running

Returns:

doCreate

public void doCreate(javax.faces.event.ActionEvent event)
creates a new timer service

Parameters:
event -

doEnable

public void doEnable(javax.faces.event.ActionEvent event)
This method starts the scheduled workflow Intervall is set to 10 min

Throws:
Exception

doDisable

public void doDisable(javax.faces.event.ActionEvent event)

doReschedule

public void doReschedule(javax.faces.event.ActionEvent event)

findTimerByID

public void findTimerByID(String id)
This method loads a specific timer by its ID

Parameters:
id -

loadTimer

public void loadTimer(javax.faces.event.ActionEvent event)

getTimers

public ArrayList<org.imixs.workflow.ItemCollection> getTimers()
                                                       throws Exception
Throws:
Exception

getItem

public Map getItem()
            throws Exception
Throws:
Exception

getItemList

public Map getItemList()
                throws Exception
Throws:
Exception

getItemListArray

public Map getItemListArray()
                     throws Exception
Throws:
Exception


Copyright © 2006-2011 Imixs Software Solutions GmbH. All Rights Reserved.