public class ComplexPublicationServiceImpl extends Object implements ComplexPublicationService
ComplexPublicationService.AggregatedPublicationInfo, ComplexPublicationService.FullPublicationInfo| Constructor and Description |
|---|
ComplexPublicationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ComplexPublicationService.AggregatedPublicationInfo |
getAggregatedPublicationInfo(String nodeIdentifier,
String language,
boolean subNodes,
boolean references,
JCRSessionWrapper sourceSession)
Get aggregated publication info about a JCR node.
|
Collection<ComplexPublicationService.FullPublicationInfo> |
getFullPublicationInfos(Collection<String> nodeIdentifiers,
Collection<String> languages,
boolean allSubTree,
JCRSessionWrapper sourceSession)
Get full publication info about JCR nodes.
|
Collection<ComplexPublicationService.FullPublicationInfo> |
getFullUnpublicationInfos(Collection<String> nodeIdentifiers,
Collection<String> languages,
boolean allSubTree,
JCRSessionWrapper session)
Get full un-publication info about JCR nodes.
|
void |
publish(Collection<String> nodeIdentifiers,
Collection<String> languages,
JCRSessionWrapper session)
Publish JCR nodes (along with their translation sub-nodes when appropriate) in certain languages.
|
void |
setPublicationService(JCRPublicationService publicationService) |
void |
setSchedulerService(SchedulerService schedulerService) |
void |
setSessionFactory(JCRSessionFactory sessionFactory) |
void |
setWorkflowService(WorkflowService workflowService) |
public void setSessionFactory(JCRSessionFactory sessionFactory)
sessionFactory - Associated JCR session factorypublic void setPublicationService(JCRPublicationService publicationService)
publicationService - Associated JCR publication servicepublic void setWorkflowService(WorkflowService workflowService)
workflowService - Associated workflow servicepublic void setSchedulerService(SchedulerService schedulerService)
schedulerService - Associated scheduler servicepublic ComplexPublicationService.AggregatedPublicationInfo getAggregatedPublicationInfo(String nodeIdentifier, String language, boolean subNodes, boolean references, JCRSessionWrapper sourceSession)
ComplexPublicationServicegetAggregatedPublicationInfo in interface ComplexPublicationServicenodeIdentifier - The UUID of the node that must exist in the EDIT workspacelanguage - Publication languagesubNodes - Whether to take sub-nodes of the node into account when calculating the aggregated publication statusreferences - Whether to take references into account when calculating the aggregated publication statussourceSession - Session representing the publication source workspace (the target workspace is always LIVE)public Collection<ComplexPublicationService.FullPublicationInfo> getFullPublicationInfos(Collection<String> nodeIdentifiers, Collection<String> languages, boolean allSubTree, JCRSessionWrapper sourceSession)
ComplexPublicationServicegetFullPublicationInfos in interface ComplexPublicationServicenodeIdentifiers - UUIDs of the nodeslanguages - Publication languagessourceSession - Session representing the publication source workspace (the target workspace is always LIVE)public Collection<ComplexPublicationService.FullPublicationInfo> getFullUnpublicationInfos(Collection<String> nodeIdentifiers, Collection<String> languages, boolean allSubTree, JCRSessionWrapper session)
ComplexPublicationServicegetFullUnpublicationInfos in interface ComplexPublicationServicenodeIdentifiers - UUIDs of the nodeslanguages - Publication languagespublic void publish(Collection<String> nodeIdentifiers, Collection<String> languages, JCRSessionWrapper session)
ComplexPublicationServicepublish in interface ComplexPublicationServicenodeIdentifiers - UUIDs of the nodeslanguages - Publication languagesCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.