@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() |
List<DocumentTreeNode> |
getCurrentSectionsTree() |
String |
getDomainNameFor(DocumentModel sectionRoot) |
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 List<DocumentTreeNode> getCurrentSectionsTree() throws ClientException
ClientExceptionpublic void setCurrentSectionRootId(String currentSectionRootId)
public String getDomainNameFor(DocumentModel sectionRoot) throws ClientException
ClientExceptionpublic 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 © 2014 Nuxeo SA. All rights reserved.