Class DistinctInventoryItemResource
java.lang.Object
dev.getelements.elements.rest.inventory.DistinctInventoryItemResource
@Path("inventory/distinct")
@Produces("application/json")
public class DistinctInventoryItemResource
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDistinctInventoryItem(CreateDistinctInventoryItemRequest createDistinctInventoryItemRequest) voiddeleteDistinctInventoryItem(String inventoryItemId) getDistinctInventoryItem(String itemNameOrId) getDistinctInventoryItems(int offset, int count, String userId, String profileId, String search) voidsetDistinctInventoryItemService(DistinctInventoryItemService advancedInventoryItemService) voidsetValidationHelper(ValidationHelper validationHelper) updateDistinctInventoryItem(String distinctInventoryItemId, UpdateDistinctInventoryItemRequest updateInventoryItemRequest)
-
Constructor Details
-
DistinctInventoryItemResource
public DistinctInventoryItemResource()
-
-
Method Details
-
getDistinctInventoryItem
@GET @Path("{inventoryItemId}") public DistinctInventoryItem getDistinctInventoryItem(@PathParam("inventoryItemId") String itemNameOrId) -
getDistinctInventoryItems
@GET public Pagination<DistinctInventoryItem> getDistinctInventoryItems(@QueryParam("offset") @DefaultValue("0") int offset, @QueryParam("count") @DefaultValue("20") int count, @QueryParam("userId") String userId, @QueryParam("profileId") String profileId, @QueryParam("search") String search) -
updateDistinctInventoryItem
@PUT @Path("{distinctInventoryItemId}") @Consumes("application/json") @Produces("application/json") public DistinctInventoryItem updateDistinctInventoryItem(@PathParam("distinctInventoryItemId") String distinctInventoryItemId, UpdateDistinctInventoryItemRequest updateInventoryItemRequest) -
createDistinctInventoryItem
@POST @Consumes("application/json") @Produces("application/json") public DistinctInventoryItem createDistinctInventoryItem(CreateDistinctInventoryItemRequest createDistinctInventoryItemRequest) -
deleteDistinctInventoryItem
@DELETE @Path("{distinctInventoryItemId}") public void deleteDistinctInventoryItem(@PathParam("distinctInventoryItemId") String inventoryItemId) -
getValidationHelper
-
setValidationHelper
-
getDistinctInventoryItemService
-
setDistinctInventoryItemService
@Inject public void setDistinctInventoryItemService(DistinctInventoryItemService advancedInventoryItemService)
-