Class DataFeedPublicationEndpoint
java.lang.Object
com.broadleafcommerce.datafeed.web.endpoint.DataFeedPublicationEndpoint
@FrameworkRestController
@FrameworkMapping("/publications")
@DataRouteByKey("datafeed")
public class DataFeedPublicationEndpoint
extends Object
- Author:
- Dima Myroniuk (dmyroniuk)
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDataFeedPublicationEndpoint
(DataFeedPublicationService<DataFeedPublication> dataFeedPublicationService, DataFeedProcessExecutionService<DataFeedProcessExecution> processExecutionService, DataFeedPublicationConfigurationService publicationConfigurationService, com.broadleafcommerce.common.extension.TypeFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionprotected DataFeedPublicationService<DataFeedPublication>
protected com.broadleafcommerce.common.extension.TypeFactory
protected DataFeedPublicationConfigurationService
protected DataFeedPublicationResponse
mapDataFeedPublicationResponse
(DataFeedPublication publication) org.springframework.data.domain.Page<DataFeedPublicationResponse>
readAllDataFeedPublications
(String dataFeedProcessExecutionId, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) readDataFeedPublication
(String publicationId, String dataFeedProcessExecutionId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-
Field Details
-
BASE_URI
- See Also:
-
-
Constructor Details
-
DataFeedPublicationEndpoint
public DataFeedPublicationEndpoint(DataFeedPublicationService<DataFeedPublication> dataFeedPublicationService, DataFeedProcessExecutionService<DataFeedProcessExecution> processExecutionService, DataFeedPublicationConfigurationService publicationConfigurationService, com.broadleafcommerce.common.extension.TypeFactory factory)
-
-
Method Details
-
readAllDataFeedPublications
@FrameworkGetMapping @Policy(permissionRoots="DATA_FEED_PROCESS") public org.springframework.data.domain.Page<DataFeedPublicationResponse> readAllDataFeedPublications(@RequestParam("dataFeedProcessExecutionId") String dataFeedProcessExecutionId, 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) -
readDataFeedPublication
@FrameworkGetMapping("/{id}") @Policy(permissionRoots="DATA_FEED_PROCESS") public DataFeedPublicationResponse readDataFeedPublication(@PathVariable("id") String publicationId, @RequestParam("dataFeedProcessExecutionId") String dataFeedProcessExecutionId, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
mapDataFeedPublicationResponse
protected DataFeedPublicationResponse mapDataFeedPublicationResponse(DataFeedPublication publication) -
getDataFeedPublicationService
-
getProcessExecutionService
-
getPublicationConfigurationService
-
getFactory
protected com.broadleafcommerce.common.extension.TypeFactory getFactory()
-