|
||||||||||
| 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)
Adds definitions of a context to the publication plugin. |
void |
addLifecycle(org.exoplatform.container.component.ComponentPlugin plugin)
Adds definitions of a lifecycle to the publication plugin. |
List<javax.jcr.Node> |
getContents(String fromstate,
String tostate,
String date,
String user,
String lang,
String workspace)
Gets all content nodes. |
ContextConfig.Context |
getContext(String name)
Gets a context by a given name. |
List<ContextConfig.Context> |
getContexts()
Gets all contexts. |
LifecyclesConfig.Lifecycle |
getLifecycle(String name)
Gets a lifecycle by a given name. |
List<LifecyclesConfig.Lifecycle> |
getLifecycles()
Gets all lifecycles. |
List<LifecyclesConfig.Lifecycle> |
getLifecyclesFromUser(String remoteUser,
String state)
Gets all lifecycles of a user by a specified state. |
void |
removeContext(org.exoplatform.container.component.ComponentPlugin plugin)
Removes definitions of a context from the publication plugin. |
void |
removeLifecycle(org.exoplatform.container.component.ComponentPlugin plugin)
Removes definitions of a lifecycle from the publication plugin. |
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 component plugin that defines the lifecycle.public void removeLifecycle(org.exoplatform.container.component.ComponentPlugin plugin)
PublicationManager
removeLifecycle in interface PublicationManagerplugin - The component plugin that defines the lifecycle.public void addContext(org.exoplatform.container.component.ComponentPlugin plugin)
PublicationManager
addContext in interface PublicationManagerplugin - The component plugin that defines the context.public void removeContext(org.exoplatform.container.component.ComponentPlugin plugin)
PublicationManager
removeContext in interface PublicationManagerplugin - The component plugin that defines the context.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 - Name of the context.
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 given user.state - The specified state by which all lifecycles are got.
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 state of the content.tostate - The state by which lifecycles are retrieved from a user.date - Any given date.
The publication dates of returned content nodes are smaller than this given date.user - The last user who changes the state.lang - Language of the content nodes.workspace - The workspace where content nodes are got.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||