public interface PublisherService
| Modifier and Type | Field and Description |
|---|---|
static String |
DOMAIN_NAME_KEY |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAvailablePublicationTree() |
Map<String,String> |
getAvailablePublicationTrees()
Returns a
Map with tree name as key and tree title as value. |
Map<String,String> |
getParametersFor(String treeConfigName) |
PublicationTree |
getPublicationTree(String treeName,
CoreSession coreSession,
Map<String,String> params) |
PublicationTree |
getPublicationTree(String treeName,
CoreSession coreSession,
Map<String,String> params,
DocumentModel currentDocument) |
PublicationTree |
getPublicationTreeFor(DocumentModel doc,
CoreSession coreSession) |
boolean |
isPublishedDocument(DocumentModel documentModel) |
PublishedDocument |
publish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
void |
unpublish(DocumentModel doc,
PublicationNode targetNode) |
PublicationNode |
wrapToPublicationNode(DocumentModel documentModel,
CoreSession coreSession) |
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
ClientExceptionPublishedDocument publish(DocumentModel doc, PublicationNode targetNode, Map<String,String> params) throws ClientException
ClientExceptionvoid unpublish(DocumentModel doc, PublicationNode targetNode) throws ClientException
ClientExceptionboolean isPublishedDocument(DocumentModel documentModel)
PublicationTree getPublicationTreeFor(DocumentModel doc, CoreSession coreSession) throws ClientException
ClientExceptionPublicationNode wrapToPublicationNode(DocumentModel documentModel, CoreSession coreSession) throws ClientException, PublicationTreeNotAvailable
Copyright © 2011 Nuxeo SA. All Rights Reserved.