Class ActionResult
- java.lang.Object
-
- com.jalios.jcms.uicomponent.action.ActionResult
-
public class ActionResult extends java.lang.Object
The result of an action, usually used in javascript to display the result of the action the member has performed- Since:
- jplatform-10.0.7
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActionResult.ActionStatus
-
Constructor Summary
Constructors Constructor Description ActionResult()
ActionResult(ActionResult.ActionStatus actionStatus)
ActionResult(ActionResult.ActionStatus actionStatus, java.lang.String message)
ActionResult(ActionResult.ActionStatus actionStatus, java.lang.String message, java.util.Map<java.lang.String,java.lang.Object> data)
ActionResult(ActionResult.ActionStatus actionStatus, java.util.Map<java.lang.String,java.lang.Object> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionResult.ActionStatus
getActionStatus()
int
getActionStatusCode()
java.util.Map<java.lang.String,java.lang.Object>
getData()
java.lang.String
getMessage()
void
setActionStatus(ActionResult.ActionStatus actionStatus)
void
setData(java.util.Map<java.lang.String,java.lang.Object> data)
void
setMessage(java.lang.String message)
-
-
-
Constructor Detail
-
ActionResult
public ActionResult()
-
ActionResult
public ActionResult(ActionResult.ActionStatus actionStatus)
-
ActionResult
public ActionResult(ActionResult.ActionStatus actionStatus, java.lang.String message)
-
ActionResult
public ActionResult(ActionResult.ActionStatus actionStatus, java.util.Map<java.lang.String,java.lang.Object> data)
-
ActionResult
public ActionResult(ActionResult.ActionStatus actionStatus, java.lang.String message, java.util.Map<java.lang.String,java.lang.Object> data)
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
-
setMessage
public void setMessage(java.lang.String message)
-
getActionStatus
public ActionResult.ActionStatus getActionStatus()
-
getActionStatusCode
public int getActionStatusCode()
-
setActionStatus
public void setActionStatus(ActionResult.ActionStatus actionStatus)
-
getData
public java.util.Map<java.lang.String,java.lang.Object> getData()
-
setData
public void setData(java.util.Map<java.lang.String,java.lang.Object> data)
-
-