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
- Version:
- $Revision: 27753 $
- Author:
- Olivier Dedieu
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
ANY_PSTATUS
public static final int ANY_PSTATUS
- See Also:
- Constant Field Values
channel
protected Channel channel
pubId
protected String pubId
sourcePstatus
protected int sourcePstatus
targetPstatus
protected int targetPstatus
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
toString
public String toString()
- Overrides:
toString
in class 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 class TransactionalAlarmListener
- Parameters:
entry
- the AlarmEntry which has been triggered.
Copyright © 2001-2010 Jalios SA. All Rights Reserved.