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)
    • 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()