public interface ComplexPublicationService
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ComplexPublicationService.AggregatedPublicationInfo
Aggregated (un-)publication info about a JCR node.
|
static interface |
ComplexPublicationService.FullPublicationInfo |
| 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.
|
ComplexPublicationService.AggregatedPublicationInfo getAggregatedPublicationInfo(String nodeIdentifier, String language, boolean subNodes, boolean references, JCRSessionWrapper sourceSession)
nodeIdentifier - 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)Collection<ComplexPublicationService.FullPublicationInfo> getFullPublicationInfos(Collection<String> nodeIdentifiers, Collection<String> languages, boolean allSubTree, JCRSessionWrapper sourceSession)
nodeIdentifiers - UUIDs of the nodeslanguages - Publication languagesallSubTree - sourceSession - Session representing the publication source workspace (the target workspace is always LIVE)Collection<ComplexPublicationService.FullPublicationInfo> getFullUnpublicationInfos(Collection<String> nodeIdentifiers, Collection<String> languages, boolean allSubTree, JCRSessionWrapper session)
nodeIdentifiers - UUIDs of the nodeslanguages - Publication languagesallSubTree - session - void publish(Collection<String> nodeIdentifiers, Collection<String> languages, JCRSessionWrapper session)
nodeIdentifiers - UUIDs of the nodeslanguages - Publication languagessession - Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.