uk.co.mullsoft.calendar
Class CalendarUtilities.WebpageETVListener

java.lang.Object
  extended by uk.co.mullsoft.calendar.CalendarUtilities.WebpageETVListener
All Implemented Interfaces:
ETVListener
Enclosing class:
CalendarUtilities

public class CalendarUtilities.WebpageETVListener
extends java.lang.Object
implements ETVListener


Constructor Summary
CalendarUtilities.WebpageETVListener()
           
 
Method Summary
 void postETV(JEANAPI api, java.lang.String etvName, ETVWrapper wrap)
          called after an ETV operation has occurred on this set of nodes
 ETVWrapper preETV(JEANAPI api, java.lang.String etvName, ETVWrapper wrap)
          check if an ETV operation is permitted on this set of nodes, and amend them first if appropriate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarUtilities.WebpageETVListener

public CalendarUtilities.WebpageETVListener()
Method Detail

preETV

public ETVWrapper preETV(JEANAPI api,
                         java.lang.String etvName,
                         ETVWrapper wrap)
check if an ETV operation is permitted on this set of nodes, and amend them first if appropriate

Specified by:
preETV in interface ETVListener
Parameters:
api - the JEAN API
etvName - the name of the ETV operation
nodes - an array of nodes
Returns:
the array of nodes to be used if the ETV operation can go ahead, null if it is not to go ahead

postETV

public void postETV(JEANAPI api,
                    java.lang.String etvName,
                    ETVWrapper wrap)
called after an ETV operation has occurred on this set of nodes

Specified by:
postETV in interface ETVListener
Parameters:
api - the JEAN API
etvName - the name of the ETV operation
nodes - an array of nodes