org.mmbase.module.builders.vwms
Interface VwmServiceInterface

All Superinterfaces:
MMBaseObserver, VwmInterface
All Known Implementing Classes:
ImageMaster, PageMaster

public interface VwmServiceInterface
extends VwmInterface

Interface for VWMs that handle file servicing. This interface is used for VWMs that need to be invoked by the scancache module whenever a file is to be cached through the CACHE PAGE directive. VWMS implementing this interface keep track of filechanges and update the filecache when needed.

Version:
$Id: VwmServiceInterface.java 35335 2009-05-21 08:14:41Z michiel $
Author:
Daniel Ockeloen, Pierre van Rooden (javadocs)
See Also:
PageMaster
Application:
SCAN

Method Summary
 boolean fileChange(String number, String ctype)
          Handles a service-request on a file, registered in the netfiles builder.
 boolean fileChange(String service, String subservice, String filename)
          Handles a service-request on a file, registered in the netfiles builder.
 
Methods inherited from interface org.mmbase.module.builders.vwms.VwmInterface
addClient, init, releaseClient
 
Methods inherited from interface org.mmbase.module.core.MMBaseObserver
nodeLocalChanged, nodeRemoteChanged
 

Method Detail

fileChange

boolean fileChange(String number,
                   String ctype)
Handles a service-request on a file, registered in the netfiles builder.

Parameters:
number - Number of the node in the netfiles buidler than contain service request information.
ctype - the type of change to that node
Returns:
true if the request was succesfully handled

fileChange

boolean fileChange(String service,
                   String subservice,
                   String filename)
Handles a service-request on a file, registered in the netfiles builder.

Parameters:
service - the service to be performed
subservice - the subservice to be performed
filename - the filename to service
Returns:
true if the request was handled


MMBase 2.0-SNAPSHOT - null