Interface PublisherService
- All Known Implementing Classes:
PublisherServiceImpl
public interface PublisherService
Main publication Service.
- Author:
- tiry
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns aMap
with 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) boolean
isPublishedDocument
(DocumentModel documentModel) publish
(DocumentModel doc, PublicationNode targetNode) publish
(DocumentModel doc, PublicationNode targetNode, Map<String, String> params) void
unpublish
(DocumentModel doc, PublicationNode targetNode) wrapToPublicationNode
(DocumentModel documentModel, CoreSession coreSession)
-
Field Details
-
DOMAIN_NAME_KEY
- See Also:
-
-
Method Details
-
getAvailablePublicationTree
-
getAvailablePublicationTrees
Returns aMap
with 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
-