Uses of Class
com.broadleafcommerce.common.dataexport.domain.Export
Package
Description
-
Uses of Export in com.broadleafcommerce.common.dataexport.messaging
Modifier and TypeMethodDescriptionprotected ExportService<Export>
ExportOrphanCheckListener.getExportService()
protected ExportService<Export>
ProcessExportRequestListener.getExportService()
Modifier and TypeMethodDescriptionprotected void
ExportOrphanCheckListener.setHangingError
(Export export) ModifierConstructorDescriptionExportOrphanCheckListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, List<ExportDataRouteSupporting> dataRoutes, ExportService<Export> exportService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) ProcessExportRequestListener
(List<ExportDataRouteSupporting> dataRoutes, ExportService<Export> exportService, ExportManager exportManager) -
Uses of Export in com.broadleafcommerce.common.dataexport.service
Modifier and TypeClassDescriptionclass
DefaultExportService<P extends Export>
interface
ExportService<P extends Export>
Service API forExports
.Modifier and TypeMethodDescriptionprotected Export
DefaultExportManager.generateExportFromRequest
(ExportRequest request, String target) Builds anExport
and initializes its basic fields from the values in theExportRequest
.DefaultExportManager.initiateExport
(ExportRequest request, String target, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultExportManager.initiateExport
(ExportRequest request, String target, String filterString, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ExportManager.initiateExport
(ExportRequest request, String target, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) This method accepts an export request and the context of the request to build aExport
and persist it in the data store.ExportManager.initiateExport
(ExportRequest request, String target, String filterString, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated.Modifier and TypeMethodDescriptionprotected ExportService<Export>
DefaultExportManager.getExportService()
Modifier and TypeMethodDescriptionboolean
boolean
Returns whether the writer can support writing the file for the given export.boolean
Returns whether this processor can support performing the given export operation.protected void
DefaultExportManager.copyToStorageServiceAndFinishExport
(Path toCopy, Export toUpdate, ExportFileWriter<?> fileWriter) ExportProcessor.generateRows
(List<P> batchToProcess, Export export) Accepts a list of objects - this will be a batch subset of the full results returned inExportProcessor.readRecordsToProcess(Export)
.protected String
DefaultExportManager.generateStoragePath
(Export export, String fileExtension) protected Optional<ExportFileWriter<?>>
DefaultExportManager.getFileWriterForExport
(Export export) protected Optional<ExportProcessor<?>>
DefaultExportManager.getProcessorForExport
(Export export) protected void
DefaultExportManager.initializeContextFields
(Export target, ExportRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Initializes the context-related fields on the givenExport
, including the fields describing the context where the operation itself was initiated (such asgetApplicationId()
), and "exporting context" fields describing the context where the operation will be performed (such asgetExportingApplicationId()
).protected void
DefaultExportManager.initializeGeneralFields
(Export toInitialize) void
DefaultExportManager.processExport
(Export export) void
ExportManager.processExport
(Export export) protected <P,
C extends ExportFileWriteContext>
voidDefaultExportManager.processInBatches
(ExportProcessor<P> processor, ExportFileWriter<C> fileWriter, Export export, Path tempFile) ExportProcessor.readRecordsToProcess
(Export export) Returns the full stream of records from the data store that should be processed.protected void
DefaultExportManager.setTotalRecordsToProcess
(Export export) protected void
DefaultExportManager.validateCanBeExported
(Export export) protected void
DefaultExportManager.validateExportingContextAccessibility
(Export export) Builds aContextInfo
matching the exporting context fields fromexport
, and then evaluates whether the currently authenticated user is allowed to perform the operation in that context.ModifierConstructorDescriptionDefaultExportDownloadService
(ExportService<Export> exportService, StorageService storageService) DefaultExportManager
(ExportService<Export> exportService, ExportRequestValidator exportRequestValidator, List<ExportProcessor<?>> exportProcessors, List<ExportFileWriter<?>> exportFileWriters, StorageService storageService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ExportProcessingConfigurationProperties exportProcessingConfigurationProperties, com.broadleafcommerce.common.extension.data.DataRouteReference reference, List<com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator> contextRequestHydrators, com.broadleafcommerce.data.tracking.core.policy.trackable.TrackablePolicyUtils trackablePolicyUtils) -
Uses of Export in com.broadleafcommerce.common.dataexport.service.autoconfigure
Modifier and TypeMethodDescriptionExportServiceAutoConfiguration.exportService
(ExportRepository<com.broadleafcommerce.data.tracking.core.Identifiable> exportRepository, com.broadleafcommerce.data.tracking.core.service.RsqlMappableCrudEntityHelper helper, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager) Modifier and TypeMethodDescriptionExportServiceAutoConfiguration.exportDownloadService
(ExportService<Export> exportService, StorageService storageService) ExportServiceAutoConfiguration.exportManager
(ExportService<Export> exportService, ExportRequestValidator exportRequestValidator, List<ExportProcessor<?>> exportProcessors, List<ExportFileWriter<?>> exportFileWriters, StorageService storageService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ExportProcessingConfigurationProperties exportProcessingConfigurationProperties, List<com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator> contextRequestHydrators, com.broadleafcommerce.common.extension.data.DataRouteReference dataRouteReference, com.broadleafcommerce.data.tracking.core.policy.trackable.TrackablePolicyUtils trackablePolicyUtils) -
Uses of Export in com.broadleafcommerce.common.dataexport.service.specification
Modifier and TypeMethodDescriptionAbstractExportRowConverter.convertAndNormalize
(S source, Export export) Converts the given entity to aMap
row representation, then executes normalization on the result using all of theExportDataNormalizers
configured inExportSpecification.getExportDataNormalizers()
.Converts the given entity to aMap
row representation, then executes normalization on the result using all of theExportDataNormalizers
configured inExportSpecification.getExportDataNormalizers()
.void
Normalizes the data under certain headers fromExportDataNormalizer.getHeaderNamesToNormalize()
.void
protected void
AbstractExportRowConverter.normalizeExportDataRow
(Map<String, String> row, Export export, Map<String, Object> params) -
Uses of Export in com.broadleafcommerce.common.dataexport.util
Modifier and TypeMethodDescriptionstatic String
CommonExportUtils.getUserFriendlyFilenameForExport
(Export export) Creates the user friendly file name for the current export.static boolean
CommonExportUtils.isExportBelongsToCurrentApplication
(Export export, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines whether or not this export belongs to the application from the context.static boolean
CommonExportUtils.isExportBelongsToCurrentTenant
(Export export, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines whether or not this export belongs to the tenant from the context.static boolean
CommonExportUtils.isExportFinished
(Export export) Determines whether or not this export is finished.
ExportManager.initiateExport(ExportRequest, String, ContextInfo)
.