@Name(value="adminPublishActions") @Scope(value=CONVERSATION) public class AdministrationPublishActions extends AbstractPublishActions implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
PUBLICATION_TREE_PLUGIN_NAME |
| Constructor and Description |
|---|
AdministrationPublishActions() |
| Modifier and Type | Method and Description |
|---|---|
String |
addSection(String sectionId) |
boolean |
canAddSection(DocumentModel section) |
void |
create() |
String |
getCurrentSectionRootId() |
DocumentTreeNode |
getCurrentSectionsTree() |
DocumentModelList |
getSectionRoots() |
DocumentModelList |
getSelectedSections() |
String |
removeSection(String sectionId) |
void |
setCurrentSectionRootId(String currentSectionRootId) |
getFormattedPathpublic static final String PUBLICATION_TREE_PLUGIN_NAME
@Create public void create()
@Factory(value="defaultPublishingRoots", scope=EVENT) public DocumentModelList getSectionRoots() throws ClientException
ClientExceptionpublic String getCurrentSectionRootId()
public DocumentTreeNode getCurrentSectionsTree() throws ClientException
ClientExceptionpublic void setCurrentSectionRootId(String currentSectionRootId)
public boolean canAddSection(DocumentModel section) throws ClientException
ClientExceptionpublic String addSection(String sectionId) throws ClientException
ClientExceptionpublic DocumentModelList getSelectedSections() throws ClientException
ClientExceptionpublic String removeSection(String sectionId) throws ClientException
ClientExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.