|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PublicationManager
Manages lifecycle and context of the publication.
| 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. |
| Method Detail |
|---|
void addLifecycle(org.exoplatform.container.component.ComponentPlugin plugin)
plugin - The component plugin that defines the lifecycle.void removeLifecycle(org.exoplatform.container.component.ComponentPlugin plugin)
plugin - The component plugin that defines the lifecycle.void addContext(org.exoplatform.container.component.ComponentPlugin plugin)
plugin - The component plugin that defines the context.void removeContext(org.exoplatform.container.component.ComponentPlugin plugin)
plugin - The component plugin that defines the context.List<LifecyclesConfig.Lifecycle> getLifecycles()
List<ContextConfig.Context> getContexts()
ContextConfig.Context getContext(String name)
name - Name of the context.
LifecyclesConfig.Lifecycle getLifecycle(String name)
List<LifecyclesConfig.Lifecycle> getLifecyclesFromUser(String remoteUser,
String state)
remoteUser - The given user.state - The specified state by which all lifecycles are got.
List<javax.jcr.Node> getContents(String fromstate,
String tostate,
String date,
String user,
String lang,
String workspace)
throws Exception
fromstate - 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 | |||||||||