Class BulkDeletionResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.rest.entity.impl.resources.bulkdeletion.BulkDeletionResource
- All Implemented Interfaces:
RestResource
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionBulkDeletionResource
(DataModel dataModel, Context context, QueryBuilderFactory queryBuilderFactory, BulkDeletionService bulkDeletionService) -
Method Summary
Modifier and TypeMethodDescriptiongetDeletionStatus
(long deletion) jakarta.ws.rs.core.Response
submitDeletionRequest
(EntityIdArgumentBean bulkDeletionArgumentBean) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
BulkDeletionResource
public BulkDeletionResource(DataModel dataModel, Context context, QueryBuilderFactory queryBuilderFactory, BulkDeletionService bulkDeletionService)
-
-
Method Details
-
submitDeletionRequest
@POST @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response submitDeletionRequest(EntityIdArgumentBean bulkDeletionArgumentBean) -
getDeletionStatus
@GET @Produces("application/json") @Path("/{deletion}") public BulkDeletionStatusBean getDeletionStatus(@PathParam("deletion") long deletion)
-