public class RootSectionsManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SCHEMA_PUBLISHING |
static String |
SECTIONS_PROPERTY_NAME |
Constructor and Description |
---|
RootSectionsManager(CoreSession coreSession) |
Modifier and Type | Method and Description |
---|---|
String |
addSection(String sectionId,
DocumentModel currentDocument) |
boolean |
canAddSection(DocumentModel section,
DocumentModel currentDocument) |
String |
removeSection(String sectionId,
DocumentModel currentDocument) |
public static final String SCHEMA_PUBLISHING
public static final String SECTIONS_PROPERTY_NAME
public RootSectionsManager(CoreSession coreSession)
public boolean canAddSection(DocumentModel section, DocumentModel currentDocument) throws ClientException
ClientException
public String addSection(String sectionId, DocumentModel currentDocument) throws ClientException
ClientException
public String removeSection(String sectionId, DocumentModel currentDocument) throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.