uk.co.mullsoft.jean
Interface ETVListener

All Known Implementing Classes:
Bookings2Utilities.BookingsETVListener, BookingsUtilities.BookingsETVListener, CalendarUtilities.CalendarETVListener, CalendarUtilities.WebpageETVListener, FreelancerUtilities.FreelancerETVListener, NotesUtilities.NotesETVListener, NotesUtilities.WebpageETVListener

public interface ETVListener


Method Summary
 void postETV(JEANAPI api, java.lang.String etvName, ETVWrapper wrap)
          modify as appropriate a set of nodes after a successful ETV operation
 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
 

Method Detail

preETV

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

Parameters:
api - a JEANAPI
etvName - the name of the ETV operation
nodes - an array of nodes
Returns:
a wrapper containing the nodes on which the ETV operation can go ahead and any parameter to pass to the transformer, null if it should not go ahead

postETV

void postETV(JEANAPI api,
             java.lang.String etvName,
             ETVWrapper wrap)
modify as appropriate a set of nodes after a successful ETV operation

Parameters:
api - a JEANAPI
etvName - the name of the ETV operation
nodes - an array of nodes