|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.ade.detailpage.CmsDetailPageConfigurationWriter
public class CmsDetailPageConfigurationWriter
Class for writing detail page information to an XML configuration file.
Field Summary | |
---|---|
static String |
N_DETAIL_PAGE
The detail page node. |
static String |
N_PAGE
The name of the node containing the reference to the actual detail page. |
static String |
N_TYPE
The name of the node which contains the type which the detail page renders. |
Constructor Summary | |
---|---|
CmsDetailPageConfigurationWriter(CmsObject cms,
CmsResource res)
Creates a new detail page configuration writer. |
Method Summary | |
---|---|
void |
updateAndSave(List<CmsDetailPageInfo> infos,
CmsUUID newId)
Writes the new detail page information to the configuration file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String N_DETAIL_PAGE
public static final String N_PAGE
public static final String N_TYPE
Constructor Detail |
---|
public CmsDetailPageConfigurationWriter(CmsObject cms, CmsResource res)
cms
- the current CMS contextres
- the configuration file resourceMethod Detail |
---|
public void updateAndSave(List<CmsDetailPageInfo> infos, CmsUUID newId) throws CmsException
infos
- the new detail page informationnewId
- the id to use for new pages
CmsException
- if something goes wrong
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |