public class CmsDetailPageConfigurationWriter
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
N_DETAIL_PAGE
The detail page node.
|
static java.lang.String |
N_PAGE
The name of the node containing the reference to the actual detail page.
|
static java.lang.String |
N_TYPE
The name of the node which contains the type which the detail page renders.
|
| 构造器和说明 |
|---|
CmsDetailPageConfigurationWriter(CmsObject cms,
CmsResource res)
Creates a new detail page configuration writer.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
updateAndSave(java.util.List<CmsDetailPageInfo> infos,
CmsUUID newId)
Writes the new detail page information to the configuration file.
|
public static final java.lang.String N_DETAIL_PAGE
public static final java.lang.String N_PAGE
public static final java.lang.String N_TYPE
public CmsDetailPageConfigurationWriter(CmsObject cms, CmsResource res)
cms - the current CMS contextres - the configuration file resourcepublic void updateAndSave(java.util.List<CmsDetailPageInfo> infos, CmsUUID newId) throws CmsException
infos - the new detail page informationnewId - the id to use for new pagesCmsException - if something goes wrong