Class DistinctInventoryItemResource

java.lang.Object
dev.getelements.elements.rest.inventory.DistinctInventoryItemResource

@Path("inventory/distinct") @Produces("application/json") public class DistinctInventoryItemResource extends Object
  • 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}") public DistinctInventoryItem updateDistinctInventoryItem(@PathParam("distinctInventoryItemId") String distinctInventoryItemId, UpdateDistinctInventoryItemRequest updateInventoryItemRequest)
    • createDistinctInventoryItem

      @POST public DistinctInventoryItem createDistinctInventoryItem(CreateDistinctInventoryItemRequest createDistinctInventoryItemRequest)
    • deleteDistinctInventoryItem

      @DELETE @Path("{distinctInventoryItemId}") public void deleteDistinctInventoryItem(@PathParam("distinctInventoryItemId") String inventoryItemId)
    • getValidationHelper

      public ValidationHelper getValidationHelper()
    • setValidationHelper

      @Inject public void setValidationHelper(ValidationHelper validationHelper)
    • getDistinctInventoryItemService

      public DistinctInventoryItemService getDistinctInventoryItemService()
    • setDistinctInventoryItemService

      @Inject public void setDistinctInventoryItemService(DistinctInventoryItemService advancedInventoryItemService)