|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.publish.shared.CmsWorkflowResponse
public class CmsWorkflowResponse
The result of a workflow action.
| Constructor Summary | |
|---|---|
protected |
CmsWorkflowResponse()
Constructor needed for serialization only. |
|
CmsWorkflowResponse(boolean isSuccess,
java.lang.String message,
java.util.List<CmsPublishResource> resources,
java.util.List<CmsWorkflowAction> availableActions,
CmsUUID workflowId)
Creates a new workflow response object. |
| Method Summary | |
|---|---|
java.util.List<CmsWorkflowAction> |
getAvailableActions()
Returns the list of actions which are available next. |
java.lang.String |
getMessage()
Gets the message which should be displayed to the user in case of failure. |
java.util.List<CmsPublishResource> |
getResources()
Gets the list of resources which should be presented to the user in case of failure. |
CmsUUID |
getWorkflowId()
Gets the internal workflow id. |
boolean |
isSuccess()
Returns true if the action for which this object is the workflow response was successful or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsWorkflowResponse(boolean isSuccess,
java.lang.String message,
java.util.List<CmsPublishResource> resources,
java.util.List<CmsWorkflowAction> availableActions,
CmsUUID workflowId)
isSuccess - a flag indicating whether the workflow action was successfulmessage - the message which should be displayed to the user in case of failureresources - the resources which should be presented to the user in case of failureavailableActions - the actions which should be possible for the user in case of failureworkflowId - the internal workflow idprotected CmsWorkflowResponse()
| Method Detail |
|---|
public java.util.List<CmsWorkflowAction> getAvailableActions()
public java.lang.String getMessage()
public java.util.List<CmsPublishResource> getResources()
public CmsUUID getWorkflowId()
public boolean isSuccess()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||