Class DataFeedProcessManagementEndpoint

java.lang.Object
com.broadleafcommerce.datafeed.web.endpoint.DataFeedProcessManagementEndpoint

@FrameworkRestController @FrameworkMapping("/processes") @DataRouteByKey("datafeed") public class DataFeedProcessManagementEndpoint extends Object
Author:
Dima Myroniuk (dmyroniuk)
  • Field Details

  • Constructor Details

  • Method Details

    • readDataFeedProcesses

      @FrameworkGetMapping @Policy(permissionRoots="DATA_FEED_PROCESS") public org.springframework.data.domain.Page<DataFeedProcessResponse> readDataFeedProcesses(@RequestParam(value="q",required=false) String query, @RequestParam(value="hydrate",defaultValue="true") boolean hydrate, cz.jirutka.rsql.parser.ast.Node filters, @PageableDefault(size=50) org.springframework.data.domain.Pageable page, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    • readDataFeedProcessById

      @FrameworkGetMapping("/{id}") @Policy(permissionRoots="DATA_FEED_PROCESS") public DataFeedProcessResponse readDataFeedProcessById(@PathVariable("id") String processId, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    • createDataFeedProcess

      @FrameworkPostMapping(consumes="application/json") @Policy(permissionRoots="DATA_FEED_PROCESS") public DataFeedProcessResponse createDataFeedProcess(@RequestBody DataFeedProcess process, @ContextOperation(CREATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    • replaceDataFeedProcess

      @FrameworkPutMapping(value="/{id}", consumes="application/json") @Policy(permissionRoots="DATA_FEED_PROCESS") public DataFeedProcessResponse replaceDataFeedProcess(@PathVariable("id") String processId, @RequestBody DataFeedProcess request, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    • deleteDataFeedProcess

      @FrameworkDeleteMapping("/{id}") @Policy(permissionRoots="DATA_FEED_PROCESS") public void deleteDataFeedProcess(@PathVariable("id") String processId, @ContextOperation(DELETE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    • mapDataFeedProcessResponse

      protected DataFeedProcessResponse mapDataFeedProcessResponse(DataFeedProcess process)
    • getProcessService

      protected DataFeedProcessService<DataFeedProcess> getProcessService()
    • getDataFeedProcessHydrationService

      protected DataFeedProcessHydrationService getDataFeedProcessHydrationService()
    • getFactory

      protected com.broadleafcommerce.common.extension.TypeFactory getFactory()