Class ActionResponseBean
java.lang.Object
ch.tocco.nice2.rest.core.spi.beans.HalBean
ch.tocco.nice2.rest.action.spi.beans.ActionResponseBean
- All Implemented Interfaces:
NotificationTaskResult
,Serializable
Response bean for action resources (returned by
AbstractActionResource
).- See Also:
-
Constructor Summary
ConstructorDescriptionActionResponseBean
(boolean success) ActionResponseBean
(boolean success, String title) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getFlags()
getTitle()
boolean
setMessage
(String message) void
setNotificationKey
(String notificationKey) setResult
(ResultBean result)
-
Constructor Details
-
ActionResponseBean
public ActionResponseBean(boolean success) -
ActionResponseBean
-
-
Method Details
-
isSuccess
public boolean isSuccess()- Specified by:
isSuccess
in interfaceNotificationTaskResult
-
getTitle
-
setTitle
-
getMessage
- Specified by:
getMessage
in interfaceNotificationTaskResult
-
setMessage
-
getParams
-
addParam
-
getResult
- Specified by:
getResult
in interfaceNotificationTaskResult
-
setResult
-
getNotificationKey
-
setNotificationKey
-
getFlags
-
setFlags
-