Package com.jalios.jcms
Class WFExpressAlarmListener
- java.lang.Object
-
- com.jalios.jcms.db.TransactionalAlarmListener
-
- com.jalios.jcms.WFExpressAlarmListener
-
- All Implemented Interfaces:
AlarmListener
public class WFExpressAlarmListener extends TransactionalAlarmListener
This class is the AlarmListener used in the Workflow Express (status change at expiration time if no change in between)- Since:
- jcms-2.2
- Author:
- Olivier Dedieu
-
-
Field Summary
Fields Modifier and Type Field Description static int
ANY_PSTATUS
protected Channel
channel
protected java.lang.String
pubId
protected int
sourcePstatus
protected int
targetPstatus
-
Constructor Summary
Constructors Constructor Description WFExpressAlarmListener(Publication pub, int sourcePstatus, int targetPstatus)
Constructs a new WFExpressAlarmListener
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleTransactionalAlarm(AlarmEntry entry)
Method to be implemented by subclass.java.lang.String
toString()
-
Methods inherited from class com.jalios.jcms.db.TransactionalAlarmListener
handleAlarm
-
-
-
-
Field Detail
-
ANY_PSTATUS
public static final int ANY_PSTATUS
- See Also:
- Constant Field Values
-
channel
protected Channel channel
-
pubId
protected java.lang.String pubId
-
sourcePstatus
protected int sourcePstatus
-
targetPstatus
protected int targetPstatus
-
-
Constructor Detail
-
WFExpressAlarmListener
public WFExpressAlarmListener(Publication pub, int sourcePstatus, int targetPstatus)
Constructs a new WFExpressAlarmListener- Parameters:
pub
- the publication to managedsourcePstatus
- the pstatus the publication must have to be updatedtargetPstatus
- the pstatus the publication will have after update
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
handleTransactionalAlarm
public void handleTransactionalAlarm(AlarmEntry entry)
Description copied from class:TransactionalAlarmListener
Method to be implemented by subclass.Invoked when an alarm is triggered.
- Specified by:
handleTransactionalAlarm
in classTransactionalAlarmListener
- Parameters:
entry
- the AlarmEntry which has been triggered.
-
-