public class RootSectionsManager extends Object
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
coreSession |
static String |
SCHEMA_PUBLISHING |
protected static String |
SECTION_ROOT_DOCUMENT_TYPE |
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
protected static final String SECTION_ROOT_DOCUMENT_TYPE
protected CoreSession coreSession
public RootSectionsManager(CoreSession coreSession)
public boolean canAddSection(DocumentModel section, DocumentModel currentDocument)
public String addSection(String sectionId, DocumentModel currentDocument)
public String removeSection(String sectionId, DocumentModel currentDocument)
Copyright © 2015 Nuxeo SA. All rights reserved.