public class WCMPublicationServiceImpl
extends org.exoplatform.services.wcm.publication.WCMPublicationServiceImpl
| 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(org.exoplatform.services.wcm.core.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.
|
public WCMPublicationServiceImpl(org.exoplatform.container.xml.InitParams initParams)
public void enrollNodeInLifecycle(javax.jcr.Node node,
String siteName,
String remoteUser)
enrollNodeInLifecycle in interface org.exoplatform.services.wcm.publication.WCMPublicationServiceenrollNodeInLifecycle in class org.exoplatform.services.wcm.publication.WCMPublicationServiceImplpublic javax.jcr.Node getCurrentRevision(org.exoplatform.services.wcm.core.NodeLocation currentRevisionLocation)
public void updateLifecyleOnChangeContent(javax.jcr.Node node,
String siteName,
String remoteUser,
String newState)
throws Exception
updateLifecyleOnChangeContent in interface org.exoplatform.services.wcm.publication.WCMPublicationServiceupdateLifecyleOnChangeContent in class org.exoplatform.services.wcm.publication.WCMPublicationServiceImplExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.