Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.publisher.web
Class AdministrationPublishActions

java.lang.Object
  extended by org.nuxeo.ecm.platform.publisher.web.AbstractPublishActions
      extended by org.nuxeo.ecm.platform.publisher.web.AdministrationPublishActions
All Implemented Interfaces:
Serializable

@Name(value="adminPublishActions")
@Scope(value=CONVERSATION)
public class AdministrationPublishActions
extends AbstractPublishActions
implements Serializable

Author:
Thomas Roger
See Also:
Serialized Form

Field Summary
static String PUBLICATION_TREE_PLUGIN_NAME
           
 
Constructor Summary
AdministrationPublishActions()
           
 
Method Summary
 String addSection(String sectionId)
           
 boolean canAddSection(DocumentModel section)
           
 void create()
           
 String getCurrentSectionRootId()
           
 DocumentTreeNode getCurrentSectionsTree()
           
 String getFormattedPath(DocumentModel documentModel)
           
 DocumentModelList getSectionRoots()
           
 DocumentModelList getSelectedSections()
           
 String removeSection(String sectionId)
           
 void setCurrentSectionRootId(String currentSectionRootId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PUBLICATION_TREE_PLUGIN_NAME

public static final String PUBLICATION_TREE_PLUGIN_NAME
See Also:
Constant Field Values
Constructor Detail

AdministrationPublishActions

public AdministrationPublishActions()
Method Detail

create

@Create
public void create()

getSectionRoots

@Factory(value="defaultPublishingRoots",
         scope=EVENT)
public DocumentModelList getSectionRoots()
                                  throws ClientException
Throws:
ClientException

getCurrentSectionRootId

public String getCurrentSectionRootId()

getCurrentSectionsTree

public DocumentTreeNode getCurrentSectionsTree()
                                        throws ClientException
Throws:
ClientException

setCurrentSectionRootId

public void setCurrentSectionRootId(String currentSectionRootId)

canAddSection

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

addSection

public String addSection(String sectionId)
                  throws ClientException
Throws:
ClientException

getSelectedSections

public DocumentModelList getSelectedSections()
                                      throws ClientException
Throws:
ClientException

removeSection

public String removeSection(String sectionId)
                     throws ClientException
Throws:
ClientException

getFormattedPath

public String getFormattedPath(DocumentModel documentModel)
                        throws ClientException
Overrides:
getFormattedPath in class AbstractPublishActions
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.