Package org.opencms.ade.detailpage
Class CmsDetailPageConfigurationWriter
java.lang.Object
org.opencms.ade.detailpage.CmsDetailPageConfigurationWriter
Class for writing detail page information to an XML configuration file.
- Since:
- 8.0.0
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreates a new detail page configuration writer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
updateAndSave
(List<CmsDetailPageInfo> infos, CmsUUID newId) Writes the new detail page information to the configuration file.
-
Field Details
-
N_DETAIL_PAGE
The detail page node.- See Also:
-
N_PAGE
The name of the node containing the reference to the actual detail page.- See Also:
-
N_TYPE
The name of the node which contains the type which the detail page renders.- See Also:
-
-
Constructor Details
-
CmsDetailPageConfigurationWriter
Creates a new detail page configuration writer.- Parameters:
cms
- the current CMS contextres
- the configuration file resource
-
-
Method Details
-
updateAndSave
Writes the new detail page information to the configuration file.- Parameters:
infos
- the new detail page informationnewId
- the id to use for new pages- Throws:
CmsException
- if something goes wrong
-