Class ProductBundleResource

java.lang.Object
dev.getelements.elements.rest.goods.ProductBundleResource

@Path("product/bundle") public class ProductBundleResource extends Object
  • Constructor Details

    • ProductBundleResource

      public ProductBundleResource()
  • Method Details

    • getProductBundles

      @GET @Produces("application/json") public Pagination<ProductBundle> getProductBundles(@QueryParam("applicationNameOrId") String applicationNameOrId, @QueryParam("schema") String schema, @QueryParam("productId") String productId, @QueryParam("tag") List<String> tags, @QueryParam("offset") @DefaultValue("0") int offset, @QueryParam("count") @DefaultValue("20") int count)
    • getProductBundle

      @GET @Path("{id}") @Produces("application/json") public ProductBundle getProductBundle(@PathParam("id") String id)
    • getProductBundleByKey

      @GET @Path("{applicationNameOrId}/{schema}/{productId}") @Produces("application/json") public ProductBundle getProductBundleByKey(@PathParam("applicationNameOrId") String applicationNameOrId, @PathParam("schema") String schema, @PathParam("productId") String productId)
    • createProductBundle

      @POST @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response createProductBundle(ProductBundle bundle)
    • updateProductBundle

      @PUT @Path("{id}") @Consumes("application/json") @Produces("application/json") public ProductBundle updateProductBundle(@PathParam("id") String id, ProductBundle bundle)
    • deleteProductBundle

      @DELETE @Path("{id}") public void deleteProductBundle(@PathParam("id") String id)
    • getProductBundleService

      public ProductBundleService getProductBundleService()
    • setProductBundleService

      @Inject public void setProductBundleService(ProductBundleService productBundleService)