|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.ecm.publication.PublicationPlugin
org.exoplatform.services.wcm.publication.WebpagePublicationPlugin
org.exoplatform.services.wcm.publication.lifecycle.stageversion.StageAndVersionPublicationPlugin
public class StageAndVersionPublicationPlugin
The Class StageAndVersionPublicationPlugin.
| Field Summary |
|---|
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
|---|
desc, name |
| Constructor Summary | |
|---|---|
StageAndVersionPublicationPlugin()
Instantiates a new stage and version publication plugin. |
|
| Method Summary | |
|---|---|
void |
addMixin(javax.jcr.Node node)
|
boolean |
canAddMixin(javax.jcr.Node node)
|
void |
changeState(javax.jcr.Node node,
java.lang.String newState,
java.util.HashMap<java.lang.String,java.lang.String> context)
|
java.lang.String |
getLifecycleType()
Gets the lifecycle type. |
java.util.List<java.lang.String> |
getListPageNavigationUri(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
Gets the list page navigation uri. |
java.lang.String |
getLocalizedAndSubstituteMessage(java.util.Locale locale,
java.lang.String key,
java.lang.String[] values)
|
javax.jcr.Node |
getNodeView(javax.jcr.Node node,
java.util.Map<java.lang.String,java.lang.Object> context)
|
java.lang.String[] |
getPossibleStates()
|
byte[] |
getStateImage(javax.jcr.Node arg0,
java.util.Locale arg1)
|
org.exoplatform.webui.form.UIForm |
getStateUI(javax.jcr.Node node,
org.exoplatform.webui.core.UIComponent component)
|
java.lang.String |
getUserInfo(javax.jcr.Node arg0,
java.util.Locale arg1)
|
void |
publishContentToCLV(javax.jcr.Node content,
org.exoplatform.portal.config.model.Page page,
java.lang.String clvPortletId,
java.lang.String portalOwnerName,
java.lang.String remoteUser)
Publish content node to a portal page. |
void |
publishContentToSCV(javax.jcr.Node content,
org.exoplatform.portal.config.model.Page page,
java.lang.String portalOwnerName)
Publish content node to a portal page. |
void |
suspendPublishedContentFromPage(javax.jcr.Node content,
org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
Suspend published content from a portal page. |
void |
updateLifecycleOnChangeNavigation(org.exoplatform.portal.config.model.PageNavigation pageNavigation,
java.lang.String remoteUser)
Update lifecyle state of the any content relates to a navigation when the navigation is changed. |
void |
updateLifecycleOnRemovePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
Update lifecyle state of the any content relates to the page when page is removed. |
void |
updateLifecyleOnChangeContent(javax.jcr.Node node,
java.lang.String remoteUser)
In this publication process, we put the content in Draft state when editing it. |
void |
updateLifecyleOnChangeContent(javax.jcr.Node node,
java.lang.String remoteUser,
java.lang.String newState)
In this publication process, we put the content in Draft state when editing it. |
void |
updateLifecyleOnChangePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
Update lifecyle state of the any content relates to the page when page is changed. |
void |
updateLifecyleOnCreateNavigation(org.exoplatform.portal.config.model.PageNavigation pageNavigation)
Update lifecyle state of the any content relates to a navigation when the navigation is created. |
void |
updateLifecyleOnCreatePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
Update lifecyle state of the any content relates to the page when page is created. |
void |
updateLifecyleOnRemoveNavigation(org.exoplatform.portal.config.model.PageNavigation pageNavigation)
Update lifecyle state of the any content relates to a navigation when the navigation is removed. |
| Methods inherited from class org.exoplatform.services.ecm.publication.PublicationPlugin |
|---|
getLifecycleName, getNodeLifecycleDesc |
| Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin |
|---|
getDescription, getName, setDescription, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StageAndVersionPublicationPlugin()
| Method Detail |
|---|
public java.lang.String getLifecycleType()
WebpagePublicationPlugin
getLifecycleType in class WebpagePublicationPlugin
public void addMixin(javax.jcr.Node node)
throws java.lang.Exception
addMixin in class org.exoplatform.services.ecm.publication.PublicationPluginjava.lang.Exception
public boolean canAddMixin(javax.jcr.Node node)
throws java.lang.Exception
canAddMixin in class org.exoplatform.services.ecm.publication.PublicationPluginjava.lang.Exception
public void changeState(javax.jcr.Node node,
java.lang.String newState,
java.util.HashMap<java.lang.String,java.lang.String> context)
throws org.exoplatform.services.ecm.publication.IncorrectStateUpdateLifecycleException,
java.lang.Exception
changeState in class org.exoplatform.services.ecm.publication.PublicationPluginorg.exoplatform.services.ecm.publication.IncorrectStateUpdateLifecycleException
java.lang.Exception
public java.lang.String getLocalizedAndSubstituteMessage(java.util.Locale locale,
java.lang.String key,
java.lang.String[] values)
throws java.lang.Exception
getLocalizedAndSubstituteMessage in class org.exoplatform.services.ecm.publication.PublicationPluginjava.lang.Exception
public javax.jcr.Node getNodeView(javax.jcr.Node node,
java.util.Map<java.lang.String,java.lang.Object> context)
throws java.lang.Exception
getNodeView in class org.exoplatform.services.ecm.publication.PublicationPluginjava.lang.Exceptionpublic java.lang.String[] getPossibleStates()
getPossibleStates in class org.exoplatform.services.ecm.publication.PublicationPlugin
public byte[] getStateImage(javax.jcr.Node arg0,
java.util.Locale arg1)
throws java.io.IOException,
java.io.FileNotFoundException,
java.lang.Exception
getStateImage in class org.exoplatform.services.ecm.publication.PublicationPluginjava.io.IOException
java.io.FileNotFoundException
java.lang.Exception
public org.exoplatform.webui.form.UIForm getStateUI(javax.jcr.Node node,
org.exoplatform.webui.core.UIComponent component)
throws java.lang.Exception
getStateUI in class org.exoplatform.services.ecm.publication.PublicationPluginjava.lang.Exception
public java.lang.String getUserInfo(javax.jcr.Node arg0,
java.util.Locale arg1)
throws java.lang.Exception
getUserInfo in class org.exoplatform.services.ecm.publication.PublicationPluginjava.lang.Exception
public void publishContentToSCV(javax.jcr.Node content,
org.exoplatform.portal.config.model.Page page,
java.lang.String portalOwnerName)
throws java.lang.Exception
WebpagePublicationPlugin
publishContentToSCV in class WebpagePublicationPlugincontent - the jcr content nodepage - the portal pageportalOwnerName - the portal owner name
java.lang.Exception - the exception
public void publishContentToCLV(javax.jcr.Node content,
org.exoplatform.portal.config.model.Page page,
java.lang.String clvPortletId,
java.lang.String portalOwnerName,
java.lang.String remoteUser)
throws java.lang.Exception
WebpagePublicationPlugin
publishContentToCLV in class WebpagePublicationPlugincontent - the contentpage - the pageclvPortletId - the clv portlet idportalOwnerName - the portal owner nameremoteUser - the remote user
java.lang.Exception - the exception
public void suspendPublishedContentFromPage(javax.jcr.Node content,
org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
throws java.lang.Exception
WebpagePublicationPlugin
suspendPublishedContentFromPage in class WebpagePublicationPlugincontent - the contentpage - the pageremoteUser - the remote user
java.lang.Exception - the exception
public void updateLifecycleOnChangeNavigation(org.exoplatform.portal.config.model.PageNavigation pageNavigation,
java.lang.String remoteUser)
throws java.lang.Exception
WebpagePublicationPlugin
updateLifecycleOnChangeNavigation in class WebpagePublicationPluginpageNavigation - the navigationremoteUser - the remote user
java.lang.Exception - the exception
public void updateLifecycleOnRemovePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
throws java.lang.Exception
WebpagePublicationPlugin
updateLifecycleOnRemovePage in class WebpagePublicationPluginpage - the pageremoteUser - the remote user
java.lang.Exception - the exception
public void updateLifecyleOnChangePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
throws java.lang.Exception
WebpagePublicationPlugin
updateLifecyleOnChangePage in class WebpagePublicationPluginpage - the pageremoteUser - the remote user
java.lang.Exception - the exception
public void updateLifecyleOnCreateNavigation(org.exoplatform.portal.config.model.PageNavigation pageNavigation)
throws java.lang.Exception
WebpagePublicationPlugin
updateLifecyleOnCreateNavigation in class WebpagePublicationPluginpageNavigation - the navigation
java.lang.Exception - the exception
public void updateLifecyleOnCreatePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
throws java.lang.Exception
WebpagePublicationPlugin
updateLifecyleOnCreatePage in class WebpagePublicationPluginpage - the pageremoteUser - the remote user
java.lang.Exception - the exception
public void updateLifecyleOnRemoveNavigation(org.exoplatform.portal.config.model.PageNavigation pageNavigation)
throws java.lang.Exception
WebpagePublicationPlugin
updateLifecyleOnRemoveNavigation in class WebpagePublicationPluginpageNavigation - the navigation
java.lang.Exception - the exception
public java.util.List<java.lang.String> getListPageNavigationUri(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
throws java.lang.Exception
getListPageNavigationUri in class WebpagePublicationPluginpage - the pageremoteUser - the remote user
java.lang.Exception - the exception
public void updateLifecyleOnChangeContent(javax.jcr.Node node,
java.lang.String remoteUser)
throws java.lang.Exception
updateLifecyleOnChangeContent in class WebpagePublicationPluginnode - the noderemoteUser - the remote user
java.lang.Exception - the exceptionPostCreateContentEventListener,
PostEditContentEventListener
public void updateLifecyleOnChangeContent(javax.jcr.Node node,
java.lang.String remoteUser,
java.lang.String newState)
throws java.lang.Exception
updateLifecyleOnChangeContent in class WebpagePublicationPluginnode - the noderemoteUser - the remote usernewState - the new state
java.lang.Exception - the exceptionPostCreateContentEventListener,
PostEditContentEventListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||