Package org.opencms.staticexport
Class CmsStaticExportData
java.lang.Object
org.opencms.staticexport.CmsStaticExportData
Provides a data structure for the result of an export request.
- Since:
- 6.0.0
-
Constructor Summary
ConstructorDescriptionCmsStaticExportData
(String vfsName, String rfsName, CmsResource resource, String parameters) Creates a new static export data object. -
Method Summary
Modifier and TypeMethodDescriptionReturn the parameters of the resource to export.Returns the resource to export.Returns the rfs name of the resource to export.Returns the vfs name of the resource to export.boolean
Returns true if this is the static export data for a detail page.protected void
setIsDetailPage
(boolean isDetailPage) Changes the 'is detail page' flag in this export data instance.protected void
setParameters
(String parameters) Sets the parameters.protected void
setRfsName
(String rfsName) Sets the RFS name.toString()
-
Constructor Details
-
CmsStaticExportData
Creates a new static export data object.- Parameters:
vfsName
- the vfs name of the resourcerfsName
- the rfs name of the resourceresource
- the resource objectparameters
- the parameter string of a resource
-
-
Method Details
-
getParameters
Return the parameters of the resource to export.- Returns:
- the parameter map
-
getResource
Returns the resource to export.- Returns:
- the resource to export
-
getRfsName
Returns the rfs name of the resource to export.- Returns:
- the rfs name of the resource to export
-
getVfsName
Returns the vfs name of the resource to export.- Returns:
- the vfs name of the resource to export
-
isDetailPage
Returns true if this is the static export data for a detail page.- Returns:
- true if this is the static export data for a detail page
-
toString
-
setIsDetailPage
Changes the 'is detail page' flag in this export data instance.- Parameters:
isDetailPage
- the new value for the flag
-
setParameters
Sets the parameters.- Parameters:
parameters
- the parameters to set
-
setRfsName
Sets the RFS name.- Parameters:
rfsName
- the RFS name to set
-