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
ConstructorsConstructorDescriptionActionResponseBean(boolean success) ActionResponseBean(boolean success, String title) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetFlags()@Nullable StringgetTitle()booleansetMessage(String message) voidsetNotificationKey(String notificationKey) setResult(ResultBean result)
-
Constructor Details
-
ActionResponseBean
public ActionResponseBean(boolean success) -
ActionResponseBean
-
-
Method Details
-
isSuccess
public boolean isSuccess()- Specified by:
isSuccessin interfaceNotificationTaskResult
-
getTitle
-
setTitle
-
getMessage
- Specified by:
getMessagein interfaceNotificationTaskResult
-
setMessage
-
getParams
-
addParam
-
getResult
- Specified by:
getResultin interfaceNotificationTaskResult
-
setResult
-
getNotificationKey
-
setNotificationKey
-
getFlags
-
setFlags
-