Class MarketplaceApplicationCatalogEndpoint
java.lang.Object
com.broadleafcommerce.tenant.web.endpoint.MarketplaceApplicationCatalogEndpoint
@FrameworkRestController
@FrameworkMapping("/marketplace-application-catalogs")
@DataRouteByExample(MarketplaceApplicationCatalog.class)
public class MarketplaceApplicationCatalogEndpoint
extends Object
Supports management of a
MarketplaceApplicationCatalog
for
marketplace applications
.- Author:
- Jeff Fischer
-
Constructor Summary
ConstructorDescriptionMarketplaceApplicationCatalogEndpoint
(MarketplaceApplicationCatalogService<MarketplaceApplicationCatalog> applicationCatalogService) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, MarketplaceApplicationCatalog applicationCatalog) void
deleteApplicationCatalogRef
(String applicationCatalogId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) org.springframework.data.domain.Page<MarketplaceApplicationCatalog>
readAll
(cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, org.springframework.data.domain.Pageable page, boolean hydrateResponse) replace
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, MarketplaceApplicationCatalog req) update
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, MarketplaceApplicationCatalog req)
-
Constructor Details
-
MarketplaceApplicationCatalogEndpoint
public MarketplaceApplicationCatalogEndpoint(MarketplaceApplicationCatalogService<MarketplaceApplicationCatalog> applicationCatalogService)
-
-
Method Details
-
readAll
@FrameworkGetMapping @Policy(permissionRoots="TENANT") public org.springframework.data.domain.Page<MarketplaceApplicationCatalog> readAll(cz.jirutka.rsql.parser.ast.Node filters, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, @PageableDefault(size=50) org.springframework.data.domain.Pageable page, @RequestParam(value="hydrateResponse",defaultValue="false") boolean hydrateResponse) -
read
@FrameworkGetMapping("/{id}") @Policy(permissionRoots="TENANT") public MarketplaceApplicationCatalog read(@PathVariable("id") String id, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
create
@FrameworkPostMapping(consumes="application/json") @Policy(permissionRoots="TENANT") public MarketplaceApplicationCatalog create(@ContextOperation(CREATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, @RequestBody MarketplaceApplicationCatalog applicationCatalog) -
update
@FrameworkPatchMapping(value="/{id}", consumes="application/json") @Policy(permissionRoots="TENANT") public MarketplaceApplicationCatalog update(jakarta.servlet.http.HttpServletRequest request, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @PathVariable("id") String id, @RequestBody MarketplaceApplicationCatalog req) -
replace
@FrameworkPutMapping(value="/{id}", consumes="application/json") @Policy(permissionRoots="TENANT") public MarketplaceApplicationCatalog replace(jakarta.servlet.http.HttpServletRequest request, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @PathVariable("id") String id, @RequestBody MarketplaceApplicationCatalog req) -
deleteApplicationCatalogRef
@FrameworkDeleteMapping("/{id}") @Policy(permissionRoots="TENANT") public void deleteApplicationCatalogRef(@PathVariable("id") String applicationCatalogId, @ContextOperation(DELETE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
getApplicationCatalogService
protected MarketplaceApplicationCatalogService<MarketplaceApplicationCatalog> getApplicationCatalogService()
-