|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wcm.extensions.publication.impl.PublicationManagerImpl
public class PublicationManagerImpl
PublicationManager is to manage the publication.
| Constructor Summary | |
|---|---|
PublicationManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
addContext(org.exoplatform.container.component.ComponentPlugin plugin)
Add publication plugin context to the publication service. |
void |
addLifecycle(org.exoplatform.container.component.ComponentPlugin plugin)
Add publication plugin to the publication service. |
List<javax.jcr.Node> |
getContents(String fromstate,
String tostate,
String date,
String user,
String lang,
String workspace)
Get all the nodes. |
ContextConfig.Context |
getContext(String name)
Get a specific context with the given names. |
List<ContextConfig.Context> |
getContexts()
Get all the contexts which were added to service instances. |
LifecyclesConfig.Lifecycle |
getLifecycle(String name)
Get a specific lifecycle with the given name. |
List<LifecyclesConfig.Lifecycle> |
getLifecycles()
Get all the lifecycles which were added to service instances. |
List<LifecyclesConfig.Lifecycle> |
getLifecyclesFromUser(String remoteUser,
String state)
Get all the Lifecycle of a specific user. |
void |
removeContext(org.exoplatform.container.component.ComponentPlugin plugin)
Remove publication plugin context from the publication service. |
void |
removeLifecycle(org.exoplatform.container.component.ComponentPlugin plugin)
Remove publication plugin from the publication service. |
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PublicationManagerImpl()
| Method Detail |
|---|
public void addLifecycle(org.exoplatform.container.component.ComponentPlugin plugin)
PublicationManager
addLifecycle in interface PublicationManagerplugin - The Lifecycle as component plugin to add.public void removeLifecycle(org.exoplatform.container.component.ComponentPlugin plugin)
PublicationManager
removeLifecycle in interface PublicationManagerplugin - The Lifecycle as component plugin to remove.public void addContext(org.exoplatform.container.component.ComponentPlugin plugin)
PublicationManager
addContext in interface PublicationManagerplugin - The Context as component plugin to add.public void removeContext(org.exoplatform.container.component.ComponentPlugin plugin)
PublicationManager
removeContext in interface PublicationManagerplugin - The Context as component plugin to remove.public void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startablepublic ContextConfig.Context getContext(String name)
PublicationManager
getContext in interface PublicationManagername - The name of the wanted lifecycle.
public List<ContextConfig.Context> getContexts()
PublicationManager
getContexts in interface PublicationManagerpublic LifecyclesConfig.Lifecycle getLifecycle(String name)
PublicationManager
getLifecycle in interface PublicationManagerpublic List<LifecyclesConfig.Lifecycle> getLifecycles()
PublicationManager
getLifecycles in interface PublicationManager
public List<LifecyclesConfig.Lifecycle> getLifecyclesFromUser(String remoteUser,
String state)
PublicationManager
getLifecyclesFromUser in interface PublicationManagerremoteUser - The current user of publication service.state - The current state of the node.
public List<javax.jcr.Node> getContents(String fromstate,
String tostate,
String date,
String user,
String lang,
String workspace)
throws Exception
PublicationManager
getContents in interface PublicationManagerfromstate - The current range state of node.tostate - The current range state of node.date - The date of the node.user - The last user of node.lang - The node's language.workspace - The Workspace of the node's location.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||