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 ClassesModifier and TypeClassDescriptionstatic enumstatic final record -
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 PreCheckResponseBean.EntitiesBean@Nullable Stringbooleanstatic PreCheckResponseBeansuccess()withCustomTitle(String customTitle) withDefaultAction(PreCheckResponseBean.Action defaultAction) withEntities(Iterable<Entity> entities, TemporaryFilterService temporaryFilterService)
-
Constructor Details
-
PreCheckResponseBean
public PreCheckResponseBean() -
PreCheckResponseBean
-
-
Method Details
-
success
-
confirm
-
failed
-
acknowledge
-
withDefaultAction
-
withCustomTitle
-
withEntities
public PreCheckResponseBean withEntities(Iterable<Entity> entities, TemporaryFilterService temporaryFilterService) -
isSuccess
public boolean isSuccess() -
getMessage
-
getConfirmMessage
-
getCustomTitle
-
getDefaultAction
-
getEntities
-