com.jalios.jcms
Class WFExpressAlarmListener

java.lang.Object
  extended by com.jalios.jcms.db.TransactionalAlarmListener
      extended by 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

Field Summary
static int ANY_PSTATUS
           
protected  Channel channel
           
protected  String pubId
           
static String REVISION
           
protected  int sourcePstatus
           
protected  int targetPstatus
           
 
Constructor Summary
WFExpressAlarmListener(Publication pub, int sourcePstatus, int targetPstatus)
          Constructs a new WFExpressAlarmListener
 
Method Summary
 void handleTransactionalAlarm(AlarmEntry entry)
          Method to be implemented by subclass.
 String toString()
           
 
Methods inherited from class com.jalios.jcms.db.TransactionalAlarmListener
handleAlarm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

WFExpressAlarmListener

public WFExpressAlarmListener(Publication pub,
                              int sourcePstatus,
                              int targetPstatus)
Constructs a new WFExpressAlarmListener

Parameters:
pub - the publication to managed
sourcePstatus - the pstatus the publication must have to be updated
targetPstatus - the pstatus the publication will have after update
Method Detail

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.