org.opencms.staticexport
Class CmsOnDemandHtmlSubTreeHandler

java.lang.Object
  extended by org.opencms.staticexport.A_CmsStaticExportHandler
      extended by org.opencms.staticexport.A_CmsOnDemandStaticExportHandler
          extended by org.opencms.staticexport.CmsOnDemandHtmlSubTreeHandler
All Implemented Interfaces:
I_CmsStaticExportHandler

public class CmsOnDemandHtmlSubTreeHandler
extends A_CmsOnDemandStaticExportHandler

Concrete OnDemandExportHandler.

The published files and folders are purged, as also all the html files in each subtree.

Since:
6.0.0
Version:
$Revision: 1.15 $
Author:
Michael Moossen
See Also:
I_CmsStaticExportHandler

Field Summary
 
Fields inherited from class org.opencms.staticexport.A_CmsStaticExportHandler
m_busy
 
Constructor Summary
CmsOnDemandHtmlSubTreeHandler()
           
 
Method Summary
protected  java.util.List getRelatedFilesToPurge(java.lang.String exportFileName, java.lang.String vfsName)
          Returns a list of related files to purge.
 
Methods inherited from class org.opencms.staticexport.A_CmsOnDemandStaticExportHandler
performEventPublishProject
 
Methods inherited from class org.opencms.staticexport.A_CmsStaticExportHandler
addMovedLinkSources, getSiblingsList, isBusy, purgeFile, scrubExportFolders, scrubResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsOnDemandHtmlSubTreeHandler

public CmsOnDemandHtmlSubTreeHandler()
Method Detail

getRelatedFilesToPurge

protected java.util.List getRelatedFilesToPurge(java.lang.String exportFileName,
                                                java.lang.String vfsName)
Description copied from class: A_CmsStaticExportHandler
Returns a list of related files to purge.

Specified by:
getRelatedFilesToPurge in class A_CmsStaticExportHandler
Parameters:
exportFileName - the previous exported rfs filename (already purged)
vfsName - the vfs name of the resource (to be used to compute more sofisticated sets of related files to purge
Returns:
a list of related files to purge
See Also:
A_CmsStaticExportHandler.getRelatedFilesToPurge(java.lang.String, java.lang.String)