Uses of Class
com.broadleafcommerce.bulk.domain.BulkUpdate
Packages that use BulkUpdate
Package
Description
-
Uses of BulkUpdate in com.broadleafcommerce.bulk.messaging
Methods in com.broadleafcommerce.bulk.messaging that return types with arguments of type BulkUpdateModifier and TypeMethodDescriptionprotected BulkUpdateService<BulkUpdate>
BulkUpdateOrphanCheckListener.getBulkUpdateService()
protected BulkUpdateService<BulkUpdate>
ProcessBulkUpdateRequestListener.getBulkUpdateService()
Methods in com.broadleafcommerce.bulk.messaging with parameters of type BulkUpdateModifier and TypeMethodDescriptionprotected boolean
BulkUpdateOrphanCheckListener.isSandboxBulkUpdate
(BulkUpdate bulkUpdate) protected void
BulkUpdateOrphanCheckListener.setErrorsAndDeleteSandbox
(BulkUpdate hangingUpdate, List<BulkUpdateError> errors) Constructor parameters in com.broadleafcommerce.bulk.messaging with type arguments of type BulkUpdateModifierConstructorDescriptionBulkUpdateOrphanCheckListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, BulkUpdateService<BulkUpdate> bulkUpdateService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, List<BulkDataRouteSupporting> routes) ProcessBulkUpdateRequestListener
(BulkUpdateManager bulkUpdateManager, BulkUpdateService<BulkUpdate> bulkUpdateService, List<BulkDataRouteSupporting> routes) -
Uses of BulkUpdate in com.broadleafcommerce.bulk.service
Classes in com.broadleafcommerce.bulk.service with type parameters of type BulkUpdateModifier and TypeInterfaceDescriptioninterface
BulkUpdateService<P extends BulkUpdate>
Service API forBulkUpdates
.class
DefaultBulkUpdateService<P extends BulkUpdate>
Methods in com.broadleafcommerce.bulk.service that return BulkUpdateModifier and TypeMethodDescriptionprotected BulkUpdate
DefaultBulkUpdateManager.generateBulkUpdateFromRequest
(BulkUpdateRequest request) Builds aBulkUpdate
and initializes its basic fields from the values in theBulkUpdateRequest
.BulkUpdateManager.initiateBulkUpdate
(BulkUpdateRequest request, String target, String filterString, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) This method accepts a bulk update request and the context of the request to build aBulkUpdate
and persist it in the data store.DefaultBulkUpdateManager.initiateBulkUpdate
(BulkUpdateRequest request, String target, String filterString, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected BulkUpdate
DefaultBulkUpdateManager.notifyOfCreateSandboxRequest
(String bulkUpdateId) Methods in com.broadleafcommerce.bulk.service that return types with arguments of type BulkUpdateModifier and TypeMethodDescriptionprotected BulkUpdateService<BulkUpdate>
DefaultBulkUpdateManager.getBulkUpdateService()
Methods in com.broadleafcommerce.bulk.service with parameters of type BulkUpdateModifier and TypeMethodDescriptionboolean
BulkUpdateProcessor.canHandle
(BulkUpdate bulkUpdate) Returns whether this processor can support performing the given bulk update operation.protected Optional<BulkUpdateProcessor<?>>
DefaultBulkUpdateManager.getProcessorForUpdate
(BulkUpdate bulkUpdate) protected void
DefaultBulkUpdateManager.initializeContextFields
(BulkUpdate target, BulkUpdateRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Initializes the context-related fields on the givenBulkUpdate
, including the fields describing the context where the operation itself was initiated (such asgetApplicationId()
), and "updating context" fields describing the context where the operation will be performed (such asgetUpdatingApplicationId()
).protected void
DefaultBulkUpdateManager.initializeGeneralFields
(BulkUpdate toInitialize) protected boolean
DefaultBulkUpdateManager.isSandboxBulkUpdate
(BulkUpdate bulkUpdate) BulkUpdateProcessor.modifyAndPersist
(List<P> batchToProcess, BulkUpdate bulkUpdate) Accepts a list of objects - this will be a batch subset of the full results returned inBulkUpdateProcessor.readRecordsToProcess(BulkUpdate)
.void
BulkUpdateManager.processBulkUpdate
(BulkUpdate bulkUpdate) Performs aBulkUpdate
, processing the requested records in batches and updating the status for theBulkUpdate
as it goes.void
DefaultBulkUpdateManager.processBulkUpdate
(BulkUpdate bulkUpdate) protected <P> void
DefaultBulkUpdateManager.processInBatches
(BulkUpdateProcessor<P> processor, BulkUpdate bulkUpdate) BulkUpdateProcessor.readRecordsToProcess
(BulkUpdate bulkUpdate) Returns the full stream of records from the data store that should be processed.protected void
DefaultBulkUpdateManager.setTotalRecordsToProcess
(BulkUpdate update) protected void
DefaultBulkUpdateManager.validateCanPerformBulkUpdate
(BulkUpdate update) protected void
DefaultBulkUpdateManager.validateUpdatingContextAccessibility
(BulkUpdate update) Builds aContextInfo
matching the updating context fields fromupdate
, and then evaluates whether the currently authenticated user is allowed to perform the operation in that context.Constructor parameters in com.broadleafcommerce.bulk.service with type arguments of type BulkUpdateModifierConstructorDescriptionDefaultBulkUpdateManager
(BulkUpdateService<BulkUpdate> bulkUpdateService, BulkUpdateRequestValidator bulkUpdateRequestValidator, List<BulkUpdateProcessor<?>> bulkUpdateProcessors, com.broadleafcommerce.common.extension.TypeFactory typeFactory, 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, int batchSize) -
Uses of BulkUpdate in com.broadleafcommerce.bulk.service.autoconfigure
Methods in com.broadleafcommerce.bulk.service.autoconfigure that return types with arguments of type BulkUpdateModifier and TypeMethodDescriptionBulkServiceAutoConfiguration.bulkUpdateService
(BulkUpdateRepository<com.broadleafcommerce.data.tracking.core.Identifiable> bulkUpdateRepository, com.broadleafcommerce.common.messaging.repository.ResourceLockRepository<?, ?> resourceLockRepository, com.broadleafcommerce.data.tracking.core.service.MappableCrudEntityHelper helper, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager) Method parameters in com.broadleafcommerce.bulk.service.autoconfigure with type arguments of type BulkUpdateModifier and TypeMethodDescriptionBulkServiceAutoConfiguration.bulkUpdateManager
(BulkUpdateService<BulkUpdate> bulkUpdateService, BulkUpdateRequestValidator bulkUpdateRequestValidator, List<BulkUpdateProcessor<?>> bulkUpdateProcessors, com.broadleafcommerce.common.extension.TypeFactory typeFactory, BulkUpdateProcessingConfigurationProperties bulkUpdateProcessingConfigProps, com.broadleafcommerce.common.extension.data.DataRouteReference dataRouteReference, List<com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator> contextRequestHydrators, com.broadleafcommerce.data.tracking.core.policy.trackable.TrackablePolicyUtils trackablePolicyUtils)