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
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPreCheckResponseBean(boolean success, @Nullable String message, @Nullable String confirmMessage) -
Method Summary
Modifier and TypeMethodDescriptionstatic PreCheckResponseBeanacknowledge(String message) static PreCheckResponseBeanstatic PreCheckResponseBean@Nullable String@Nullable String@Nullable Stringbooleanstatic PreCheckResponseBeansuccess()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
-