Class FulfillmentOriginEndpoint
java.lang.Object
com.broadleafcommerce.fulfillment.web.endpoint.FulfillmentOriginEndpoint
@FrameworkRestController
@FrameworkMapping("/origins")
@DataRouteByExample(FulfillmentOrigin.class)
public class FulfillmentOriginEndpoint
extends Object
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFulfillmentOriginEndpoint
(FulfillmentOriginService<FulfillmentOrigin> fulfillmentOriginService) -
Method Summary
Modifier and TypeMethodDescriptionaddOrigin
(FulfillmentOrigin origin, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) void
deleteOrigin
(String originId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected FulfillmentOriginService<FulfillmentOrigin>
readAllOrigins
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) readSingleOrigin
(String originId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) updateOrigin
(String originId, FulfillmentOrigin origin, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
Field Details
-
BASE_URI
- See Also:
-
-
Constructor Details
-
FulfillmentOriginEndpoint
public FulfillmentOriginEndpoint(FulfillmentOriginService<FulfillmentOrigin> fulfillmentOriginService)
-
-
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
-