Uses of Class
com.broadleafcommerce.datafeed.service.publisher.file.AbstractFileFeedPublisher.FilePublishContext
Package
Description
-
Uses of AbstractFileFeedPublisher.FilePublishContext in com.broadleafcommerce.datafeed.feedprovider.google.sftp.publisher.file
Modifier and TypeMethodDescriptionMerchantCenterSFTPSubmitter.buildSftpConfiguration
(AbstractFileFeedPublisher.FilePublishContext filePublishContext) protected void
CollectedProductJsonArrayToMerchantCenterXMLFileTransformer.writePostDefinition
(BufferedWriter bufferedWriter, com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper, AbstractFileFeedPublisher.FilePublishContext filePublishContext) protected void
CollectedProductJsonArrayToMerchantCenterXMLFileTransformer.writePreDefinition
(BufferedWriter bufferedWriter, com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper, AbstractFileFeedPublisher.FilePublishContext filePublishContext) -
Uses of AbstractFileFeedPublisher.FilePublishContext in com.broadleafcommerce.datafeed.feedprovider.meta.api.publisher.file
Modifier and TypeMethodDescriptionprotected DataFeedFileSubmitResponseDetails
CommerceManagerFeedAPISubmitter.handleFailedResponse
(AbstractFileFeedPublisher.FilePublishContext filePublishContext, Exception e) Handle an exception occurring during submissionCommerceManagerFeedAPISubmitter.submit
(AbstractFileFeedPublisher.FilePublishContext filePublishContext) -
Uses of AbstractFileFeedPublisher.FilePublishContext in com.broadleafcommerce.datafeed.service.publisher.file
Modifier and TypeMethodDescriptionAbstractFileFeedPublisher.preparePublishContext
(DataFeedPublishRequestDetails publishRequest) Modifier and TypeMethodDescriptionprotected DataFeedFileSubmitResponseDetails
AbstractFileFeedPublisher.engageFileSubmission
(AbstractFileFeedPublisher.FilePublishContext publishContext) Engage the submission/upload step to takegetLocalOutputFile()
and send it to the appropriate destination.protected DataFeedFileTransformResponseDetails
AbstractFileFeedPublisher.engageFileTransformation
(AbstractFileFeedPublisher.FilePublishContext publishContext) Engage the transformation step to read fromDataFeedPublishRequestDetails.getQueriedDataFileLocalCopy()
and transform + serialize those elements togetLocalOutputFile()
. -
Uses of AbstractFileFeedPublisher.FilePublishContext in com.broadleafcommerce.datafeed.service.publisher.file.submitter
Modifier and TypeMethodDescriptionprotected abstract AbstractSFTPSubmitter.SFTPUploadConfiguration
AbstractSFTPSubmitter.buildSftpConfiguration
(AbstractFileFeedPublisher.FilePublishContext filePublishContext) Build a validAbstractSFTPSubmitter.SFTPUploadConfiguration
from theAbstractFileFeedPublisher.FilePublishContext
.protected void
AbstractSFTPSubmitter.initializeSSHClient
(net.schmizz.sshj.SSHClient sshClient, AbstractSFTPSubmitter.SFTPUploadConfiguration sftpUploadConfiguration, AbstractFileFeedPublisher.FilePublishContext filePublishContext) AbstractSFTPSubmitter.submit
(AbstractFileFeedPublisher.FilePublishContext filePublishContext) Reference: SSHJ SFTP upload exampleDataFeedFileSubmitter.submit
(AbstractFileFeedPublisher.FilePublishContext filePublishContext) SubmitsgetLocalOutputFile()
to the appropriate destination. -
Uses of AbstractFileFeedPublisher.FilePublishContext in com.broadleafcommerce.datafeed.service.publisher.file.transformer
Modifier and TypeMethodDescriptionAbstractJsonArrayToCSVFileTransformer.transform
(AbstractFileFeedPublisher.FilePublishContext publishContext) For reference, see this article on writing CSV with JacksonAbstractJsonArrayToXMLFileTransformer.transform
(AbstractFileFeedPublisher.FilePublishContext publishContext) For reference, see this article on writing XML with JacksonDataFeedFileTransformer.transform
(AbstractFileFeedPublisher.FilePublishContext filePublishContext) Prepares thegetLocalOutputFile()
such that it is ready for submission.protected abstract void
AbstractJsonArrayToXMLFileTransformer.writePostDefinition
(BufferedWriter bufferedWriter, com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper, AbstractFileFeedPublisher.FilePublishContext filePublishContext) This is a hook point allowing implementations to write anything to the output file after the main elements are serialized.protected abstract void
AbstractJsonArrayToXMLFileTransformer.writePreDefinition
(BufferedWriter bufferedWriter, com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper, AbstractFileFeedPublisher.FilePublishContext filePublishContext) This is a hook point allowing implementations to write anything to the output file before the main elements are serialized.