@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) |
getFormattedPath
public static final String PUBLICATION_TREE_PLUGIN_NAME
@Create public void create()
@Factory(value="defaultPublishingRoots", scope=EVENT) public DocumentModelList getSectionRoots() throws ClientException
ClientException
public String getCurrentSectionRootId()
public DocumentTreeNode getCurrentSectionsTree() throws ClientException
ClientException
public void setCurrentSectionRootId(String currentSectionRootId)
public boolean canAddSection(DocumentModel section) throws ClientException
ClientException
public String addSection(String sectionId) throws ClientException
ClientException
public DocumentModelList getSelectedSections() throws ClientException
ClientException
public String removeSection(String sectionId) throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.