Class FulfillmentCalculatorConfigEndpoint

java.lang.Object
com.broadleafcommerce.fulfillment.web.endpoint.FulfillmentCalculatorConfigEndpoint

@FrameworkRestController @FrameworkMapping("/calculator-configs") @DataRouteByExample(FulfillmentCalculatorConfig.class) public class FulfillmentCalculatorConfigEndpoint extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • readAllCalculatorConfigs

      @FrameworkGetMapping @Policy(permissionRoots="FULFILLMENT", operationTypes=READ) public List<FulfillmentCalculatorConfig> readAllCalculatorConfigs(@ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • readAllCalculatorConfigsByPage

      @FrameworkGetMapping("/page") @Policy(permissionRoots="FULFILLMENT", operationTypes=READ) public org.springframework.data.domain.Page<FulfillmentCalculatorConfig> readAllCalculatorConfigsByPage(@Nullable cz.jirutka.rsql.parser.ast.Node filters, @RequestParam(value="q",required=false) String query, @PageableDefault(size=50,sort="name",direction=ASC) org.springframework.data.domain.Pageable page, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    • addCalculatorConfig

      @FrameworkPostMapping @Policy(permissionRoots="FULFILLMENT", operationTypes=CREATE) public FulfillmentCalculatorConfig addCalculatorConfig(@RequestBody FulfillmentCalculatorConfig calculatorConfig, @ContextOperation(CREATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • readSingleConfig

      @FrameworkGetMapping("/{calculatorConfigId}") @Policy(permissionRoots="FULFILLMENT", operationTypes=READ) public FulfillmentCalculatorConfig readSingleConfig(@PathVariable("calculatorConfigId") String calculatorConfigId, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • updateCalculatorConfig

      @FrameworkPutMapping("/{calculatorConfigId}") @Policy(permissionRoots="FULFILLMENT", operationTypes=UPDATE) public FulfillmentCalculatorConfig updateCalculatorConfig(@PathVariable("calculatorConfigId") String calculatorConfigId, @RequestBody FulfillmentCalculatorConfig calculatorConfig, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • deleteCalculatorConfig

      @FrameworkDeleteMapping("/{calculatorConfigId}") @Policy(permissionRoots="FULFILLMENT", operationTypes=DELETE) public void deleteCalculatorConfig(@PathVariable("calculatorConfigId") String calculatorConfigId, @ContextOperation(DELETE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • getFulfillmentCalculatorConfigService

      protected FulfillmentCalculatorConfigService<FulfillmentCalculatorConfig> getFulfillmentCalculatorConfigService()