|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WCMPublicationService
Created by The eXo Platform SAS Author : Hoa Pham (hoa.pham@exoplatform.com) Sep 29, 2008 Modified : Jul 29, 2009 - Benjamin Paillereau (benjamin.paillereau@exoplatform.com) - added enrollNodeInLifecycle by context - added updateLifecyleOnChangeContent by context
| Method Summary | |
|---|---|
void |
addPublicationPlugin(WebpagePublicationPlugin p)
Add a Web Publication Plugin to the service. |
void |
enrollNodeInLifecycle(javax.jcr.Node node,
java.lang.String lifecycleName)
Enroll in a web page publication lifecycle. |
void |
enrollNodeInLifecycle(javax.jcr.Node node,
java.lang.String siteName,
java.lang.String remoteUser)
Enroll this node in the default publication lifecycle. |
java.lang.String |
getContentState(javax.jcr.Node node)
returns the current state of the content. |
java.util.Map<java.lang.String,WebpagePublicationPlugin> |
getWebpagePublicationPlugins()
Retrieves all added web page publication plugins. |
boolean |
isEnrolledInWCMLifecycle(javax.jcr.Node node)
Checks if is enrolled in wcm lifecycle. |
void |
publishContentCLV(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 to a portal page when the node is in a publication lifecyle. |
void |
publishContentSCV(javax.jcr.Node content,
org.exoplatform.portal.config.model.Page page,
java.lang.String portalOwnerName)
Publish content to a portal page when the node is in a publication lifecyle. |
void |
suspendPublishedContentFromPage(javax.jcr.Node content,
org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
Suspend a published content from a portal page. |
void |
unsubcribeLifecycle(javax.jcr.Node node)
Unsubcribe node from a lifecycle plugin. |
void |
updateLifecycleOnChangeNavigation(org.exoplatform.portal.config.model.PageNavigation navigation,
java.lang.String remoteUser)
Retrieves all web page lifecycles and update the publication lifecycle when a navigation is changed. |
void |
updateLifecycleOnRemovePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
Retrieves all web page lifecycles and update the publication lifecycle when a page is removed. |
void |
updateLifecyleOnChangeContent(javax.jcr.Node node,
java.lang.String siteName,
java.lang.String remoteUser)
Called by create and edit listeners. |
void |
updateLifecyleOnChangeContent(javax.jcr.Node node,
java.lang.String siteName,
java.lang.String remoteUser,
java.lang.String newState)
It allows to update the lifecycle of the content with a new state. |
void |
updateLifecyleOnChangePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
Retrieves all web page lifecycles and update the publication lifecycle when a page is changed. |
void |
updateLifecyleOnCreateNavigation(org.exoplatform.portal.config.model.PageNavigation navigation)
Retrieves all web page lifecycles and update the publication lifecycle when a navigation is created. |
void |
updateLifecyleOnCreatePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
Retrieves all web page lifecycles and update the publication lifecycle when a page is created. |
void |
updateLifecyleOnRemoveNavigation(org.exoplatform.portal.config.model.PageNavigation navigation)
Retrieves all web page lifecycles and update the publication lifecycle when a navigation is removed. |
| Method Detail |
|---|
void addPublicationPlugin(WebpagePublicationPlugin p)
p - the plugin to add
void publishContentSCV(javax.jcr.Node content,
org.exoplatform.portal.config.model.Page page,
java.lang.String portalOwnerName)
throws org.exoplatform.services.ecm.publication.NotInPublicationLifecycleException,
java.lang.Exception
content - the contentpage - the pageportalOwnerName -
org.exoplatform.services.ecm.publication.NotInPublicationLifecycleException - the not in publication lifecycle exception
java.lang.Exception - the exception
void publishContentCLV(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
void suspendPublishedContentFromPage(javax.jcr.Node content,
org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
throws org.exoplatform.services.ecm.publication.NotInPublicationLifecycleException,
java.lang.Exception
content - the jcr content nodepage - the portal pageremoteUser -
org.exoplatform.services.ecm.publication.NotInPublicationLifecycleException - the not in publication lifecycle exception
java.lang.Exception - the exceptionjava.util.Map<java.lang.String,WebpagePublicationPlugin> getWebpagePublicationPlugins()
boolean isEnrolledInWCMLifecycle(javax.jcr.Node node)
throws org.exoplatform.services.ecm.publication.NotInPublicationLifecycleException,
java.lang.Exception
node - the node
org.exoplatform.services.ecm.publication.NotInPublicationLifecycleException - the not in publication lifecycle exception
java.lang.Exception - the exception
void enrollNodeInLifecycle(javax.jcr.Node node,
java.lang.String lifecycleName)
throws java.lang.Exception
node - the nodelifecycleName - the lifecycle name
java.lang.Exception - the exception
void enrollNodeInLifecycle(javax.jcr.Node node,
java.lang.String siteName,
java.lang.String remoteUser)
throws java.lang.Exception
node - siteName - author -
java.lang.Exception
void unsubcribeLifecycle(javax.jcr.Node node)
throws org.exoplatform.services.ecm.publication.NotInPublicationLifecycleException,
java.lang.Exception
node - the node
org.exoplatform.services.ecm.publication.NotInPublicationLifecycleException - the not in publication lifecycle exception
java.lang.Exception - the exception
void updateLifecyleOnCreatePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
throws java.lang.Exception
page - the pageremoteUser -
java.lang.Exception - the exception
void updateLifecyleOnChangePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
throws java.lang.Exception
page - the pageremoteUser -
java.lang.Exception - the exception
void updateLifecycleOnRemovePage(org.exoplatform.portal.config.model.Page page,
java.lang.String remoteUser)
throws java.lang.Exception
page - the pageremoteUser -
java.lang.Exception - the exception
void updateLifecyleOnCreateNavigation(org.exoplatform.portal.config.model.PageNavigation navigation)
throws java.lang.Exception
navigation - the navigation
java.lang.Exception - the exception
void updateLifecycleOnChangeNavigation(org.exoplatform.portal.config.model.PageNavigation navigation,
java.lang.String remoteUser)
throws java.lang.Exception
navigation - the navigationremoteUser -
java.lang.Exception - the exception
void updateLifecyleOnRemoveNavigation(org.exoplatform.portal.config.model.PageNavigation navigation)
throws java.lang.Exception
navigation - the navigation
java.lang.Exception - the exception
void updateLifecyleOnChangeContent(javax.jcr.Node node,
java.lang.String siteName,
java.lang.String remoteUser)
throws java.lang.Exception
node - currentSite - remoteUser -
java.lang.ExceptionPostCreateContentEventListener,
PostEditContentEventListener
void updateLifecyleOnChangeContent(javax.jcr.Node node,
java.lang.String siteName,
java.lang.String remoteUser,
java.lang.String newState)
throws java.lang.Exception
node - currentSite - remoteUser - newState -
java.lang.Exception
java.lang.String getContentState(javax.jcr.Node node)
throws java.lang.Exception
node -
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||