public interface PublisherService
Modifier and Type | Field and Description |
---|---|
static String |
DOMAIN_NAME_KEY |
static final String DOMAIN_NAME_KEY
Map<String,String> getAvailablePublicationTrees()
Map
with tree name as key and tree title as value.PublicationTree getPublicationTree(String treeName, CoreSession coreSession, Map<String,String> params) throws ClientException, PublicationTreeNotAvailable
PublicationTree getPublicationTree(String treeName, CoreSession coreSession, Map<String,String> params, DocumentModel currentDocument) throws ClientException, PublicationTreeNotAvailable
PublishedDocument publish(DocumentModel doc, PublicationNode targetNode) throws ClientException
ClientException
PublishedDocument publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params) throws ClientException
ClientException
void unpublish(DocumentModel doc, PublicationNode targetNode) throws ClientException
ClientException
boolean isPublishedDocument(DocumentModel documentModel)
PublicationTree getPublicationTreeFor(DocumentModel doc, CoreSession coreSession) throws ClientException
ClientException
PublicationNode wrapToPublicationNode(DocumentModel documentModel, CoreSession coreSession) throws ClientException, PublicationTreeNotAvailable
void releaseAllTrees(String sessionId)
RootSectionFinder getRootSectionFinder(CoreSession session)
Copyright © 2015 Nuxeo SA. All rights reserved.