JBoss.orgCommunity Documentation
PublicationService is to manage the publication.
| Method | Param | Return | Description |
|---|---|---|---|
| addLifecycle(ComponentPlugin plugin) | plugin | void | Add publication plugin to the publication service. |
| removeLifecycle(ComponentPlugin plugin) | plugin
|
void
| Remove publication plugin from the publication service. |
| addContext(ComponentPlugin plugin) | plugin
|
void
| Add publication plugin context to the publication service. |
| removeContext(ComponentPlugin plugin) | plugin
|
void
| Remove publication plugin context from the publication service. |
| getLifecycle(String name) | name - The name of the wanted lifecycle. | Lifecycle | Get a specific lifecycle with the given name. |
| getLifecycles() |
N/A
| List<Lifecycle> | Get all the lifecycles which were added to service instances. |
| getContext(String name) | name | Context | Get a specific context with the given names. |
| getContexts() |
N/A | List<Context> | Get all the contexts which were added to service instances. |
| getContents(String fromstate, String tostate, String date, String user, String lang , String workspace) throws Exception; |
| List<Node> | Get all the nodes. |
| getLifecyclesFromUser(String remoteUser, String state); |
| List<Lifecycle> | Get all the Lifecycle of a specific user. |