Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.publisher.helper
Class RootSectionsManager

java.lang.Object
  extended by org.nuxeo.ecm.platform.publisher.helper.RootSectionsManager

public class RootSectionsManager
extends java.lang.Object

Author:
Thomas Roger

Field Summary
static java.lang.String SCHEMA_PUBLISHING
           
static java.lang.String SECTIONS_PROPERTY_NAME
           
 
Constructor Summary
RootSectionsManager(CoreSession coreSession)
           
 
Method Summary
 java.lang.String addSection(java.lang.String sectionId, DocumentModel currentDocument)
           
 boolean canAddSection(DocumentModel section, DocumentModel currentDocument)
           
 java.lang.String removeSection(java.lang.String sectionId, DocumentModel currentDocument)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCHEMA_PUBLISHING

public static final java.lang.String SCHEMA_PUBLISHING
See Also:
Constant Field Values

SECTIONS_PROPERTY_NAME

public static final java.lang.String SECTIONS_PROPERTY_NAME
See Also:
Constant Field Values
Constructor Detail

RootSectionsManager

public RootSectionsManager(CoreSession coreSession)
Method Detail

canAddSection

public boolean canAddSection(DocumentModel section,
                             DocumentModel currentDocument)
                      throws ClientException
Throws:
ClientException

addSection

public java.lang.String addSection(java.lang.String sectionId,
                                   DocumentModel currentDocument)
                            throws ClientException
Throws:
ClientException

removeSection

public java.lang.String removeSection(java.lang.String sectionId,
                                      DocumentModel currentDocument)
                               throws ClientException
Throws:
ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.