|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.opencms.staticexport.A_CmsOnDemandStaticExportHandler
Abstract implementation for the interface.I_CmsStaticExportHandler
This handler is most suitable for dynamic sites that use the static export as optimization for non-dynamic content.
I_CmsStaticExportHandler| Field Summary | |
protected boolean |
m_busy
Indicates if this content handler is busy. |
| Constructor Summary | |
A_CmsOnDemandStaticExportHandler()
|
|
| Method Summary | |
protected abstract List |
getRelatedFilesToPurge(String exportFileName)
Returns a list of related files to purge. |
boolean |
isBusy()
Returns true if this static export handler is currently
performing a static export operation. |
void |
performEventPublishProject(CmsUUID publishHistoryId,
I_CmsReport report)
Scrubs files from the export folder that might have been changed. |
void |
scrubExportFolders(CmsUUID publishHistoryId)
Scrubs all files from the export folder that might have been changed, so that the export is newly created after the next request to the resource. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean m_busy
| Constructor Detail |
public A_CmsOnDemandStaticExportHandler()
| Method Detail |
public boolean isBusy()
I_CmsStaticExportHandlertrue if this static export handler is currently
performing a static export operation.
isBusy in interface I_CmsStaticExportHandlertrue if this static export handler is currently
performing a static export operationI_CmsStaticExportHandler.isBusy()
public void performEventPublishProject(CmsUUID publishHistoryId,
I_CmsReport report)
I_CmsStaticExportHandler
performEventPublishProject in interface I_CmsStaticExportHandlerpublishHistoryId - the CmsUUID of the published projectreport - an I_CmsReport instance to print output message,
or null to write messages to the log fileI_CmsStaticExportHandler.performEventPublishProject(org.opencms.util.CmsUUID, org.opencms.report.I_CmsReport)public void scrubExportFolders(CmsUUID publishHistoryId)
publishHistoryId - id of the last published projectprotected abstract List getRelatedFilesToPurge(String exportFileName)
exportFileName - the previous exported rfs filename (already purged)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||