|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencms.staticexport.A_CmsOnDemandStaticExportHandler
public abstract class 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,
String vfsName)
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 project
protected abstract List getRelatedFilesToPurge(String exportFileName,
String vfsName)
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||