Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class RootSectionsManager
extends Object

Author:
Thomas Roger

Field Summary
static String SCHEMA_PUBLISHING
           
static String SECTIONS_PROPERTY_NAME
           
 
Constructor Summary
RootSectionsManager(CoreSession coreSession)
           
 
Method Summary
 String addSection(String sectionId, DocumentModel currentDocument)
           
 boolean canAddSection(DocumentModel section, DocumentModel currentDocument)
           
 String removeSection(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 String SCHEMA_PUBLISHING
See Also:
Constant Field Values

SECTIONS_PROPERTY_NAME

public static final 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 String addSection(String sectionId,
                         DocumentModel currentDocument)
                  throws ClientException
Throws:
ClientException

removeSection

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.