|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.wcm.extensions.component.rest.LifecycleConnector
public class LifecycleConnector
Return a list of content during a given state range of the publication lifecycle.
| Constructor Summary | |
|---|---|
LifecycleConnector()
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
byDate(java.lang.String fromstate,
java.lang.String date,
java.lang.String lang,
java.lang.String workspace,
java.lang.String json)
Return a list of content from the given beginning to published state and before the given date. |
javax.ws.rs.core.Response |
byState(java.lang.String fromstate,
java.lang.String user,
java.lang.String lang,
java.lang.String workspace,
java.lang.String json)
Return a list of content from a given to the last state. |
javax.ws.rs.core.Response |
toState(java.lang.String fromstate,
java.lang.String tostate,
java.lang.String user,
java.lang.String lang,
java.lang.String workspace,
java.lang.String json)
Return a list of content from the beginning to the last state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LifecycleConnector()
| Method Detail |
|---|
public javax.ws.rs.core.Response byState(java.lang.String fromstate,
java.lang.String user,
java.lang.String lang,
java.lang.String workspace,
java.lang.String json)
throws java.lang.Exception
fromstate - The beginning state of the content.user - The author of the content.lang - The language of the content.workspace - The workspace name which contains the content.json - The format of the returned data.path -
java.lang.Exception
public javax.ws.rs.core.Response toState(java.lang.String fromstate,
java.lang.String tostate,
java.lang.String user,
java.lang.String lang,
java.lang.String workspace,
java.lang.String json)
throws java.lang.Exception
fromstate - The beginning state of the content.tostate - The destination state of the content.user - The author of the content.lang - The language of the content.workspace - The workspace name which contains the content.json - The format of the returned data.path -
java.lang.Exception
public javax.ws.rs.core.Response byDate(java.lang.String fromstate,
java.lang.String date,
java.lang.String lang,
java.lang.String workspace,
java.lang.String json)
throws java.lang.Exception
fromstate - The beginning state of the content.date - The date before when the content is published.workspace - The workspace name which contains the content.lang - The language of the content.json - The format of the returned data.path -
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||