Class RestoreEntityActionResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.synchronisation.impl.action.RestoreEntityActionResource
- All Implemented Interfaces:
RestResource
@Path("/synchronisation/actions/restoreEntity/{modelName}")
public class RestoreEntityActionResource
extends AbstractRestResource
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
static final record
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionRestoreEntityActionResource
(Context context, SelectionService selectionService, SynchronisationManager synchronisationManager) -
Method Summary
Modifier and TypeMethodDescriptiongetRestoreActions
(String modelName) jakarta.ws.rs.core.Response
restoreSelectedOptions
(RestoreEntityActionResource.RestoreEntitySelectionBean restoreEntitySelectionBean) void
setOptions
(List<RestoreOptionBean> optionBeans) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
RestoreEntityActionResource
public RestoreEntityActionResource(Context context, SelectionService selectionService, SynchronisationManager synchronisationManager)
-
-
Method Details
-
getRestoreActions
@GET @Produces("application/json") public RestoreEntityActionResource.RestoreBean getRestoreActions(@PathParam("modelName") String modelName) -
restoreSelectedOptions
@POST @Consumes("application/json") public jakarta.ws.rs.core.Response restoreSelectedOptions(RestoreEntityActionResource.RestoreEntitySelectionBean restoreEntitySelectionBean) -
setOptions
-