com.silverpeas.workflow.engine.model
Class TimeOutActionImpl

java.lang.Object
  extended by com.silverpeas.workflow.engine.model.TimeOutActionImpl
All Implemented Interfaces:
TimeOutAction, Serializable

public class TimeOutActionImpl
extends Object
implements TimeOutAction, Serializable

Representation of the <timeoutAction> element of a Process Model.

Author:
Ludovic Bertin
See Also:
Serialized Form

Constructor Summary
TimeOutActionImpl()
           
 
Method Summary
 String castor_getOrder()
          Get the timeout action order
 void castor_setOrder(String order)
          Set the timeout action order
 Action getAction()
          return the Action to be launch
 Item getDateItem()
          Get date item from data folder used to determine when the action is launched.
 String getDelay()
          Get delay after which the action is launched.
 int getOrder()
          Get timeoutAction order.
 void setAction(Action action)
           
 void setDateItem(Item dateItem)
           
 void setDelay(String delay)
           
 void setOrder(int order)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeOutActionImpl

public TimeOutActionImpl()
Method Detail

getAction

public Action getAction()
Description copied from interface: TimeOutAction
return the Action to be launch

Specified by:
getAction in interface TimeOutAction
Returns:
the action

setAction

public void setAction(Action action)

setDelay

public void setDelay(String delay)

setOrder

public void setOrder(int order)

setDateItem

public void setDateItem(Item dateItem)
Parameters:
dateItem - the dateItem to set

getDelay

public String getDelay()
Description copied from interface: TimeOutAction
Get delay after which the action is launched. (format : #d delay in days, #h delay in hours)

Specified by:
getDelay in interface TimeOutAction
Returns:
delay as String

getOrder

public int getOrder()
Description copied from interface: TimeOutAction
Get timeoutAction order. As several timeout might be defined, an order is set.

Specified by:
getOrder in interface TimeOutAction
Returns:
timeout order

getDateItem

public Item getDateItem()
Description copied from interface: TimeOutAction
Get date item from data folder used to determine when the action is launched.

Specified by:
getDateItem in interface TimeOutAction
Returns:
item

castor_getOrder

public String castor_getOrder()
Get the timeout action order

Returns:
order (as a String)

castor_setOrder

public void castor_setOrder(String order)
Set the timeout action order

Parameters:
order - timeout order


Copyright © 2016 Silverpeas. All Rights Reserved.