Class FulfillmentOriginEndpoint

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

@FrameworkRestController @FrameworkMapping("/origins") @DataRouteByExample(FulfillmentOrigin.class) public class FulfillmentOriginEndpoint extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • readAllOrigins

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

      @FrameworkPostMapping @Policy(permissionRoots="FULFILLMENT", operationTypes=CREATE) public FulfillmentOrigin addOrigin(@RequestBody FulfillmentOrigin origin, @ContextOperation(CREATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • readSingleOrigin

      @FrameworkGetMapping("/{originId}") @Policy(permissionRoots="FULFILLMENT", operationTypes=READ) public FulfillmentOrigin readSingleOrigin(@PathVariable("originId") String originId, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • updateOrigin

      @FrameworkPutMapping("/{originId}") @Policy(permissionRoots="FULFILLMENT", operationTypes=UPDATE) public FulfillmentOrigin updateOrigin(@PathVariable("originId") String originId, @RequestBody FulfillmentOrigin origin, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • deleteOrigin

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

      protected FulfillmentOriginService<FulfillmentOrigin> getFulfillmentOriginService()