Class PreCheckResponseBean
java.lang.Object
ch.tocco.nice2.rest.action.spi.beans.PreCheckResponseBean
- All Implemented Interfaces:
PreActionResponseContent
Response bean for action resources (returned by
AbstractActionResource
).-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionPreCheckResponseBean
(boolean success, @Nullable String message, @Nullable String confirmMessage) -
Method Summary
Modifier and TypeMethodDescriptionstatic PreCheckResponseBean
acknowledge
(String message) static PreCheckResponseBean
static PreCheckResponseBean
@Nullable String
@Nullable String
@Nullable String
boolean
static PreCheckResponseBean
success()
withCustomTitle
(String customTitle) withDefaultAction
(PreCheckResponseBean.Action defaultAction) withEntities
(Iterable<Entity> entities)
-
Constructor Details
-
PreCheckResponseBean
public PreCheckResponseBean() -
PreCheckResponseBean
-
-
Method Details
-
success
-
confirm
-
failed
-
acknowledge
-
withDefaultAction
-
withCustomTitle
-
withEntities
-
isSuccess
public boolean isSuccess() -
getMessage
-
getConfirmMessage
-
getCustomTitle
-
getDefaultAction
-
getEntities
-