Class FulfillmentDestinationEndpoint

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

@FrameworkRestController @FrameworkMapping("/destinations") @DataRouteByExample(FulfillmentDestination.class) public class FulfillmentDestinationEndpoint extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • readAllDestinations

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

      @FrameworkPostMapping @Policy(permissionRoots="FULFILLMENT", operationTypes=CREATE) public FulfillmentDestination addDestination(@RequestBody FulfillmentDestination destination, @ContextOperation(CREATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • readSingleDestination

      @FrameworkGetMapping("/{destinationId}") @Policy(permissionRoots="FULFILLMENT", operationTypes=READ) public FulfillmentDestination readSingleDestination(@PathVariable("destinationId") String destinationId, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • updateDestination

      @FrameworkPutMapping("/{destinationId}") @Policy(permissionRoots="FULFILLMENT", operationTypes=UPDATE) public FulfillmentDestination updateDestination(@PathVariable("destinationId") String destinationId, @RequestBody FulfillmentDestination destination, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • deletePriceDestination

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

      protected void clearUnnecessaryFields(FulfillmentDestination destination)
    • getFulfillmentDestinationService

      protected FulfillmentDestinationService<FulfillmentDestination> getFulfillmentDestinationService()