Interface PublisherService
- All Known Implementing Classes:
PublisherServiceImpl
public interface PublisherService
Main publication Service.
- Author:
- tiry
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns aMapwith tree name as key and tree title as value.getParametersFor(String treeConfigName) getPublicationTree(String treeName, CoreSession coreSession, Map<String, String> params) getPublicationTree(String treeName, CoreSession coreSession, Map<String, String> params, DocumentModel currentDocument) getPublicationTreeFor(DocumentModel doc, CoreSession coreSession) getRootSectionFinder(CoreSession session) booleanisPublishedDocument(DocumentModel documentModel) publish(DocumentModel doc, PublicationNode targetNode) publish(DocumentModel doc, PublicationNode targetNode, Map<String, String> params) voidunpublish(DocumentModel doc, PublicationNode targetNode) wrapToPublicationNode(DocumentModel documentModel, CoreSession coreSession)
-
Field Details
-
DOMAIN_NAME_KEY
- See Also:
-
-
Method Details
-
getAvailablePublicationTree
-
getAvailablePublicationTrees
Returns aMapwith tree name as key and tree title as value. -
getPublicationTree
PublicationTree getPublicationTree(String treeName, CoreSession coreSession, Map<String, String> params) -
getPublicationTree
PublicationTree getPublicationTree(String treeName, CoreSession coreSession, Map<String, String> params, DocumentModel currentDocument) -
publish
-
publish
-
unpublish
-
isPublishedDocument
-
getPublicationTreeFor
-
wrapToPublicationNode
-
getParametersFor
-
getRootSectionFinder
-