Class FulfillmentDestinationEndpoint
java.lang.Object
com.broadleafcommerce.fulfillment.web.endpoint.FulfillmentDestinationEndpoint
@FrameworkRestController
@FrameworkMapping("/destinations")
@DataRouteByExample(FulfillmentDestination.class)
public class FulfillmentDestinationEndpoint
extends Object
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFulfillmentDestinationEndpoint
(FulfillmentDestinationService<FulfillmentDestination> fulfillmentDestinationService) -
Method Summary
Modifier and TypeMethodDescriptionaddDestination
(FulfillmentDestination destination, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) void
deletePriceDestination
(String destinationId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) readAllDestinations
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) readSingleDestination
(String destinationId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) updateDestination
(String destinationId, FulfillmentDestination destination, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
Field Details
-
BASE_URI
- See Also:
-
-
Constructor Details
-
FulfillmentDestinationEndpoint
public FulfillmentDestinationEndpoint(FulfillmentDestinationService<FulfillmentDestination> fulfillmentDestinationService)
-
-
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) -
getFulfillmentDestinationService
-