@Name(value="publishActions")
@Scope(value=CONVERSATION)
@Install(precedence=132)
public class CNSPublishActionsBean
extends fr.toutatice.ecm.platform.web.publication.ToutaticePublishActionsBean
| Constructor and Description |
|---|
CNSPublishActionsBean() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPublishTo(org.nuxeo.ecm.platform.publisher.api.PublicationNode publicationNode)
GR: can not published non approved document.
|
boolean |
canRepublish(org.nuxeo.ecm.platform.publisher.api.PublishedDocument publishedDocument)
We can republish only if current document
is approved.
|
protected List<String> |
filterEmptyTrees(Collection<String> trees)
Type of tree changed (ToutaticeRootSectionsPublicationTree to CNSRootSectionsPublicationTree)
to be coherent with publisher-task-contrib.xml.
|
advisedNodeOpened, canUnpublishProxy, getCanPublish, getCanPublish, getCanPublishSelection, getCanUnpublish, getCanUnpublish, getCanUnPublishSelection, getIconPath, getPathFragments, hasRemoteProxy, isPending, isPending, isRemoteProxyapproveDocument, canManagePublishing, 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, unpublishDocumentsFromCurrentSelectionpublic boolean canPublishTo(org.nuxeo.ecm.platform.publisher.api.PublicationNode publicationNode)
throws org.nuxeo.ecm.core.api.ClientException
canPublishTo in class org.nuxeo.ecm.platform.publisher.web.PublishActionsBeanorg.nuxeo.ecm.core.api.ClientExceptionpublic boolean canRepublish(org.nuxeo.ecm.platform.publisher.api.PublishedDocument publishedDocument)
throws org.nuxeo.ecm.core.api.ClientException
canRepublish in class org.nuxeo.ecm.platform.publisher.web.PublishActionsBeanorg.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 fr.toutatice.ecm.platform.web.publication.ToutaticePublishActionsBeanorg.nuxeo.ecm.platform.publisher.api.PublicationTreeNotAvailableorg.nuxeo.ecm.core.api.ClientExceptionCopyright © 2016. All rights reserved.