public class AuthoringPublicationPlugin
extends org.exoplatform.services.wcm.publication.WebpagePublicationPlugin
| Constructor and Description |
|---|
AuthoringPublicationPlugin()
Instantiates a new stage and version publication plugin.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMixin(javax.jcr.Node node) |
boolean |
canAddMixin(javax.jcr.Node node) |
void |
changeState(javax.jcr.Node node,
String newState,
HashMap<String,String> context) |
String |
getLifecycleName() |
String |
getLifecycleType() |
List<String> |
getListUserNavigationUri(org.exoplatform.portal.config.model.Page page,
String remoteUser) |
String |
getLocalizedAndSubstituteMessage(Locale locale,
String key,
String[] values) |
javax.jcr.Node |
getNodeView(javax.jcr.Node node,
Map<String,Object> context) |
String[] |
getPossibleStates() |
byte[] |
getStateImage(javax.jcr.Node node,
Locale locale) |
org.exoplatform.webui.form.UIForm |
getStateUI(javax.jcr.Node node,
org.exoplatform.webui.core.UIComponent component) |
String |
getUserInfo(javax.jcr.Node node,
Locale locale) |
void |
updateLifecyleOnChangeContent(javax.jcr.Node node,
String remoteUser) |
void |
updateLifecyleOnChangeContent(javax.jcr.Node node,
String remoteUser,
String newState)
In this publication process, we put the content in Draft state when editing
it.
|
getNodeLifecycleDescpublic AuthoringPublicationPlugin()
public void changeState(javax.jcr.Node node,
String newState,
HashMap<String,String> context)
throws org.exoplatform.services.ecm.publication.IncorrectStateUpdateLifecycleException,
Exception
changeState in class org.exoplatform.services.ecm.publication.PublicationPluginorg.exoplatform.services.ecm.publication.IncorrectStateUpdateLifecycleExceptionExceptionpublic String[] getPossibleStates()
getPossibleStates in class org.exoplatform.services.ecm.publication.PublicationPluginpublic String getLifecycleName()
getLifecycleName in class org.exoplatform.services.ecm.publication.PublicationPluginpublic String getLifecycleType()
getLifecycleType in class org.exoplatform.services.wcm.publication.WebpagePublicationPluginpublic org.exoplatform.webui.form.UIForm getStateUI(javax.jcr.Node node,
org.exoplatform.webui.core.UIComponent component)
throws Exception
getStateUI in class org.exoplatform.services.ecm.publication.PublicationPluginExceptionpublic void addMixin(javax.jcr.Node node)
throws Exception
addMixin in class org.exoplatform.services.ecm.publication.PublicationPluginExceptionpublic boolean canAddMixin(javax.jcr.Node node)
throws Exception
canAddMixin in class org.exoplatform.services.ecm.publication.PublicationPluginExceptionpublic void updateLifecyleOnChangeContent(javax.jcr.Node node,
String remoteUser,
String newState)
throws Exception
updateLifecyleOnChangeContent in class org.exoplatform.services.wcm.publication.WebpagePublicationPluginExceptionpublic javax.jcr.Node getNodeView(javax.jcr.Node node,
Map<String,Object> context)
throws Exception
getNodeView in class org.exoplatform.services.ecm.publication.PublicationPluginExceptionpublic void updateLifecyleOnChangeContent(javax.jcr.Node node,
String remoteUser)
throws Exception
updateLifecyleOnChangeContent in class org.exoplatform.services.wcm.publication.WebpagePublicationPluginExceptionpublic List<String> getListUserNavigationUri(org.exoplatform.portal.config.model.Page page, String remoteUser) throws Exception
getListUserNavigationUri in class org.exoplatform.services.wcm.publication.WebpagePublicationPluginExceptionpublic byte[] getStateImage(javax.jcr.Node node,
Locale locale)
throws IOException,
FileNotFoundException,
Exception
getStateImage in class org.exoplatform.services.ecm.publication.PublicationPluginIOExceptionFileNotFoundExceptionExceptionpublic String getUserInfo(javax.jcr.Node node, Locale locale) throws Exception
getUserInfo in class org.exoplatform.services.ecm.publication.PublicationPluginExceptionCopyright © 2003–2021 eXo Platform SAS. All rights reserved.