Class ProductBundleResource
java.lang.Object
dev.getelements.elements.rest.goods.ProductBundleResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsecreateProductBundle(ProductBundle bundle) voidgetProductBundleByKey(String applicationNameOrId, String schema, String productId) getProductBundles(String applicationNameOrId, String schema, String productId, List<String> tags, int offset, int count) voidsetProductBundleService(ProductBundleService productBundleService) updateProductBundle(String id, ProductBundle bundle)
-
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
-
getProductBundleService
-
setProductBundleService
-