|
||||||||||
| 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
public abstract class WebpagePublicationPlugin
Base class of Webpage Publication plugins. Webpage publication plugins implement a publication lifecycle. Each time a new custom lifecycle needs to be defined, a new plugin has to be implemented and registered with the Publication Service.
| Field Summary |
|---|
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
|---|
desc, name |
| Constructor Summary | |
|---|---|
WebpagePublicationPlugin()
|
|
| Method Summary | |
|---|---|
abstract java.lang.String |
getLifecycleType()
Gets the lifecycle type. |
abstract java.util.List<java.lang.String> |
getListPageNavigationUri(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
Gets the list page navigation uri. |
abstract 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. |
abstract void |
publishContentToSCV(javax.jcr.Node content,
org.exoplatform.portal.config.model.Page page,
java.lang.String portalOwnerName)
Publish content node to a portal page. |
abstract void |
suspendPublishedContentFromPage(javax.jcr.Node content,
org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
Suspend published content from a portal page. |
abstract void |
updateLifecycleOnChangeNavigation(org.exoplatform.portal.config.model.PageNavigation navigation,
java.lang.String remoteUser)
Update lifecyle state of the any content relates to a navigation when the navigation is changed. |
abstract 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. |
abstract void |
updateLifecyleOnChangeContent(javax.jcr.Node node,
java.lang.String remoteUser)
Update the lifecycle of the content depending of its current state. |
abstract void |
updateLifecyleOnChangeContent(javax.jcr.Node node,
java.lang.String remoteUser,
java.lang.String newState)
Update the lifecycle of the content depending of its current state. |
abstract 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. |
abstract void |
updateLifecyleOnCreateNavigation(org.exoplatform.portal.config.model.PageNavigation navigation)
Update lifecyle state of the any content relates to a navigation when the navigation is created. |
abstract 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. |
abstract void |
updateLifecyleOnRemoveNavigation(org.exoplatform.portal.config.model.PageNavigation navigation)
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 |
|---|
addMixin, canAddMixin, changeState, getLifecycleName, getLocalizedAndSubstituteMessage, getNodeLifecycleDesc, getNodeView, getPossibleStates, getStateImage, getStateUI, getUserInfo |
| 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 WebpagePublicationPlugin()
| Method Detail |
|---|
public abstract void publishContentToSCV(javax.jcr.Node content,
org.exoplatform.portal.config.model.Page page,
java.lang.String portalOwnerName)
throws java.lang.Exception
content - the jcr content nodepage - the portal pageportalOwnerName - the portal owner name
java.lang.Exception - the exception
public abstract 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
content - the contentpage - the pageclvPortletId - the clv portlet idportalOwnerName - the portal owner nameremoteUser - the remote user
java.lang.Exception - the exception
public abstract void suspendPublishedContentFromPage(javax.jcr.Node content,
org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
throws java.lang.Exception
content - the contentpage - the pageremoteUser - the remote user
java.lang.Exception - the exception
public abstract void updateLifecyleOnCreatePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
throws java.lang.Exception
page - the pageremoteUser - the remote user
java.lang.Exception - the exception
public abstract void updateLifecyleOnChangePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
throws java.lang.Exception
page - the pageremoteUser - the remote user
java.lang.Exception - the exception
public abstract void updateLifecycleOnRemovePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
throws java.lang.Exception
page - the pageremoteUser - the remote user
java.lang.Exception - the exception
public abstract void updateLifecyleOnCreateNavigation(org.exoplatform.portal.config.model.PageNavigation navigation)
throws java.lang.Exception
navigation - the navigation
java.lang.Exception - the exception
public abstract void updateLifecycleOnChangeNavigation(org.exoplatform.portal.config.model.PageNavigation navigation,
java.lang.String remoteUser)
throws java.lang.Exception
navigation - the navigationremoteUser - the remote user
java.lang.Exception - the exception
public abstract void updateLifecyleOnRemoveNavigation(org.exoplatform.portal.config.model.PageNavigation navigation)
throws java.lang.Exception
navigation - the navigation
java.lang.Exception - the exception
public abstract void updateLifecyleOnChangeContent(javax.jcr.Node node,
java.lang.String remoteUser)
throws java.lang.Exception
node - the noderemoteUser - the remote user
java.lang.Exception - the exceptionPostCreateContentEventListener,
PostEditContentEventListener
public abstract void updateLifecyleOnChangeContent(javax.jcr.Node node,
java.lang.String remoteUser,
java.lang.String newState)
throws java.lang.Exception
node - the noderemoteUser - the remote usernewState - the new state
java.lang.Exception - the exceptionPostCreateContentEventListener,
PostEditContentEventListenerpublic abstract java.lang.String getLifecycleType()
public abstract java.util.List<java.lang.String> getListPageNavigationUri(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
throws java.lang.Exception
page - the pageremoteUser - the remote user
java.lang.Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||