Class DataFeedPublicationConfigurationEndpoint
java.lang.Object
com.broadleafcommerce.datafeed.web.endpoint.DataFeedPublicationConfigurationEndpoint
@FrameworkRestController
@FrameworkMapping("/publication-configurations")
@DataRouteByKey("datafeed")
public class DataFeedPublicationConfigurationEndpoint
extends Object
- Author:
- Dima Myroniuk (dmyroniuk)
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDataFeedPublicationConfigurationEndpoint
(DataFeedPublicationConfigurationService publicationConfigurationService) -
Method Summary
Modifier and TypeMethodDescriptionprotected DataFeedPublicationConfigurationService
readPublicationConfigurationById
(String configurationId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) readPublicationConfigurations
(String feedProcessType, String applicationId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-
Field Details
-
BASE_URI
- See Also:
-
-
Constructor Details
-
DataFeedPublicationConfigurationEndpoint
public DataFeedPublicationConfigurationEndpoint(DataFeedPublicationConfigurationService publicationConfigurationService)
-
-
Method Details
-
readPublicationConfigurations
@FrameworkGetMapping @Policy(permissionRoots="DATA_FEED_PROCESS") public List<DataFeedPublicationConfigurationResponse> readPublicationConfigurations(@RequestParam("feedProcessType") String feedProcessType, @RequestParam("applicationId") String applicationId, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
readPublicationConfigurationById
@FrameworkGetMapping("/{configurationId}") @Policy(permissionRoots="DATA_FEED_PROCESS") public DataFeedPublicationConfigurationResponse readPublicationConfigurationById(@PathVariable("configurationId") String configurationId, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
getDataFeedPublicationConfigurationResponseMapper
protected Function<DataFeedPublicationConfiguration,DataFeedPublicationConfigurationResponse> getDataFeedPublicationConfigurationResponseMapper() -
getPublicationConfigurationService
-