Class DataFeedProcessExecutionEndpoint
java.lang.Object
com.broadleafcommerce.datafeed.web.endpoint.DataFeedProcessExecutionEndpoint
@FrameworkRestController
@FrameworkMapping("/process-executions")
@DataRouteByKey("datafeed")
public class DataFeedProcessExecutionEndpoint
extends Object
- Author:
- Dima Myroniuk (dmyroniuk)
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDataFeedProcessExecutionEndpoint
(DataFeedProcessService<DataFeedProcess> processService, DataFeedProcessExecutionService<DataFeedProcessExecution> processExecutionService, com.broadleafcommerce.common.extension.TypeFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.common.extension.TypeFactory
protected DataFeedProcessService<DataFeedProcess>
protected DataFeedProcessExecutionResponse
readDataFeedProcessExecution
(String executionId, String dataFeedProcessId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) org.springframework.data.domain.Page<DataFeedProcessExecutionResponse>
readDataFeedProcessExecutions
(String dataFeedProcessId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-
Field Details
-
BASE_URI
- See Also:
-
-
Constructor Details
-
DataFeedProcessExecutionEndpoint
public DataFeedProcessExecutionEndpoint(DataFeedProcessService<DataFeedProcess> processService, DataFeedProcessExecutionService<DataFeedProcessExecution> processExecutionService, com.broadleafcommerce.common.extension.TypeFactory factory)
-
-
Method Details
-
readDataFeedProcessExecutions
@FrameworkGetMapping @Policy(permissionRoots="DATA_FEED_PROCESS") public org.springframework.data.domain.Page<DataFeedProcessExecutionResponse> readDataFeedProcessExecutions(@RequestParam("dataFeedProcessId") String dataFeedProcessId, 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) -
readDataFeedProcessExecution
@FrameworkGetMapping("/{id}") @Policy(permissionRoots="DATA_FEED_PROCESS") public DataFeedProcessExecutionResponse readDataFeedProcessExecution(@PathVariable("id") String executionId, @RequestParam("dataFeedProcessId") String dataFeedProcessId, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
mapDataFeedProcessExecutionResponse
protected DataFeedProcessExecutionResponse mapDataFeedProcessExecutionResponse(DataFeedProcessExecution execution) -
getProcessService
-
getProcessExecutionService
-
getFactory
protected com.broadleafcommerce.common.extension.TypeFactory getFactory()
-