@Name(value="publishActions")
@Scope(value=CONVERSATION)
@Install(precedence=31)
public class ToutaticePublishActionsBean
extends org.nuxeo.ecm.platform.publisher.web.PublishActionsBean
| Constructor and Description |
|---|
ToutaticePublishActionsBean() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
advisedNodeOpened(org.richfaces.component.UITree tree)
To expand by default all nodes of Rich Tree
|
boolean |
canUnpublishProxy(org.nuxeo.ecm.core.api.DocumentModel proxy) |
protected List<String> |
filterEmptyTrees(Collection<String> trees)
Type of tree changed (RootSectionsPublicationTree to ToutaticeRootSectionsPublicationTree)
to be coherent with publisher-task-contrib.xml.
|
boolean |
getCanPublish() |
boolean |
getCanPublish(org.nuxeo.ecm.core.api.DocumentModel document) |
boolean |
getCanPublishSelection() |
boolean |
getCanUnpublish() |
boolean |
getCanUnpublish(org.nuxeo.ecm.core.api.DocumentModel document) |
boolean |
getCanUnPublishSelection() |
protected org.nuxeo.ecm.webapp.action.DeleteActions |
getDeleteActions() |
String |
getIconPath(Object node) |
protected void |
getPathFragments(org.nuxeo.ecm.core.api.DocumentModel document,
List<String> pathFragments) |
protected ToutaticeDocumentActionsBean |
getToutaticeDocumentActionBean() |
boolean |
hasRemoteProxy() |
boolean |
isPending() |
boolean |
isPending(org.nuxeo.ecm.core.api.DocumentModel document) |
boolean |
isRemoteProxy(org.nuxeo.ecm.core.api.DocumentModel proxy) |
approveDocument, canManagePublishing, canPublishTo, canRepublish, canUnpublish, create, destroy, documentChanged, doPublish, doPublish, filterEmptyTrees, getAvailablePublicationTrees, getCurrentPublicationTreeForPublishing, getCurrentPublicationTreeIconCollapsed, getCurrentPublicationTreeIconExpanded, getCurrentPublicationTreeNameForPublishing, getCurrentPublicationTreesForPublishing, getDocumentModelFor, getDomainName, getFormattedPath, getPublicationParameters, getPublishedDocuments, getPublishedDocumentsFor, getPublishingComment, getSectionTypes, getTypeNamesForFacet, hasReadRight, hasValidationTask, isFileSystemPublishedDocument, isLocalPublishedDocument, isPublishedDocument, isRemotePublishedDocument, notifyEvent, notifyEvent, publishDocumentList, publishWorkList, rejectDocument, rePublish, resetCache, setCurrentPublicationTreeNameForPublishing, setPublishingComment, unpublish, unPublish, unpublishDocumentsFromCurrentSelectionprotected ToutaticeDocumentActionsBean getToutaticeDocumentActionBean()
protected org.nuxeo.ecm.webapp.action.DeleteActions getDeleteActions()
public boolean getCanPublish()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic boolean getCanPublish(org.nuxeo.ecm.core.api.DocumentModel document)
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic boolean getCanUnpublish()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic boolean canUnpublishProxy(org.nuxeo.ecm.core.api.DocumentModel proxy)
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic boolean getCanUnpublish(org.nuxeo.ecm.core.api.DocumentModel document)
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic boolean getCanPublishSelection()
public boolean getCanUnPublishSelection()
public boolean isRemoteProxy(org.nuxeo.ecm.core.api.DocumentModel proxy)
protected void getPathFragments(org.nuxeo.ecm.core.api.DocumentModel document,
List<String> pathFragments)
throws org.nuxeo.ecm.core.api.ClientException
getPathFragments in class org.nuxeo.ecm.platform.publisher.web.AbstractPublishActionsorg.nuxeo.ecm.core.api.ClientExceptionpublic String getIconPath(Object node) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic Boolean advisedNodeOpened(org.richfaces.component.UITree tree)
tree - public boolean isPending()
throws org.nuxeo.ecm.core.api.ClientException
isPending in class org.nuxeo.ecm.platform.publisher.web.PublishActionsBeanorg.nuxeo.ecm.core.api.ClientExceptionpublic boolean isPending(org.nuxeo.ecm.core.api.DocumentModel document)
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic boolean hasRemoteProxy()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionprotected List<String> filterEmptyTrees(Collection<String> trees) throws org.nuxeo.ecm.platform.publisher.api.PublicationTreeNotAvailable, org.nuxeo.ecm.core.api.ClientException
filterEmptyTrees in class org.nuxeo.ecm.platform.publisher.web.PublishActionsBeanorg.nuxeo.ecm.platform.publisher.api.PublicationTreeNotAvailableorg.nuxeo.ecm.core.api.ClientExceptionCopyright © 2020. All rights reserved.