public class WCMPublicationServiceImpl extends WCMPublicationServiceImpl
cmsService, listenerService, publicationService, STATEVERSION_LIFECYCLE_NAMEUPDATE_EVENT| Constructor and Description |
|---|
WCMPublicationServiceImpl(org.exoplatform.container.xml.InitParams initParams)
Instantiates a new WCM publication service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enrollNodeInLifecycle(javax.jcr.Node node,
String siteName,
String remoteUser)
This default implementation uses "States and versions based publication" as
a default lifecycle for all sites and "Simple Publishing" for the root
user.
|
javax.jcr.Node |
getCurrentRevision(NodeLocation currentRevisionLocation) |
void |
updateLifecyleOnChangeContent(javax.jcr.Node node,
String siteName,
String remoteUser,
String newState)
This default implementation checks if the state is valid then delegates the
update to the node WebpagePublicationPlugin.
|
addPublicationPlugin, enrollNodeInLifecycle, getContentState, getWebpagePublicationPlugins, isEnrolledInWCMLifecycle, start, stop, unsubcribeLifecycle, updateLifecyleOnChangeContentpublic WCMPublicationServiceImpl(org.exoplatform.container.xml.InitParams initParams)
public void enrollNodeInLifecycle(javax.jcr.Node node,
String siteName,
String remoteUser)
enrollNodeInLifecycle in interface WCMPublicationServiceenrollNodeInLifecycle in class WCMPublicationServiceImplpublic javax.jcr.Node getCurrentRevision(NodeLocation currentRevisionLocation)
public void updateLifecyleOnChangeContent(javax.jcr.Node node,
String siteName,
String remoteUser,
String newState)
throws Exception
updateLifecyleOnChangeContent in interface WCMPublicationServiceupdateLifecyleOnChangeContent in class WCMPublicationServiceImplExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.