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 intANY_PSTATUSprotected Channelchannelprotected java.lang.StringpubIdprotected intsourcePstatusprotected inttargetPstatus
-
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 voidhandleTransactionalAlarm(AlarmEntry entry)Method to be implemented by subclass.java.lang.StringtoString()-
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:
toStringin classjava.lang.Object
-
handleTransactionalAlarm
public void handleTransactionalAlarm(AlarmEntry entry)
Description copied from class:TransactionalAlarmListenerMethod to be implemented by subclass.Invoked when an alarm is triggered.
- Specified by:
handleTransactionalAlarmin classTransactionalAlarmListener- Parameters:
entry- the AlarmEntry which has been triggered.
-
-