Uses of Class
com.broadleafcommerce.asset.domain.FileUploadState
Packages that use FileUploadState
Package
Description
-
Uses of FileUploadState in com.broadleafcommerce.asset.autoconfigure
Methods in com.broadleafcommerce.asset.autoconfigure that return types with arguments of type FileUploadStateModifier and TypeMethodDescriptionprotected Optional<FileUploadState>
InitialDataAutoConfiguration.getFileUploadState
(String path, com.broadleafcommerce.data.tracking.core.context.ContextRequest contextRequest) Looks for an existingFileUploadState
matching the path or creates one if none found.protected FileUploadStateService<FileUploadState>
InitialDataAutoConfiguration.getFileUploadStateService()
Constructor parameters in com.broadleafcommerce.asset.autoconfigure with type arguments of type FileUploadStateModifierConstructorDescriptionInitialDataAutoConfiguration
(StorageService storageService, FileUploadStateService<FileUploadState> fileUploadStateService, org.springframework.core.io.ResourceLoader resourceLoader, InitialDataAutoConfiguration.InitialDataProperties initialDataProperties) -
Uses of FileUploadState in com.broadleafcommerce.asset.service
Classes in com.broadleafcommerce.asset.service with type parameters of type FileUploadStateModifier and TypeClassDescriptionclass
DefaultFileUploadStateService<P extends FileUploadState>
interface
FileUploadStateService<P extends FileUploadState>
Base service API forFileUploadState
.Fields in com.broadleafcommerce.asset.service with type parameters of type FileUploadStateModifier and TypeFieldDescriptionprotected final FileUploadStateService<FileUploadState>
DefaultStorageService.fileUploadStateService
Methods in com.broadleafcommerce.asset.service that return FileUploadStateModifier and TypeMethodDescriptionprotected FileUploadState
DefaultFileUploadStateHydrationService.applyHydration
(FileUploadState state, Map<String, Asset> foundAssetsById) DefaultFileUploadStateHydrationService.hydrate
(FileUploadState unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) FileUploadStateHydrationService.hydrate
(FileUploadState unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs ofAssets
that are referenced byunhydrated
, finds the corresponding items in the data store, and then replaces each reference with the fully populated representation of the item.Methods in com.broadleafcommerce.asset.service with parameters of type FileUploadStateModifier and TypeMethodDescriptionprotected FileUploadState
DefaultFileUploadStateHydrationService.applyHydration
(FileUploadState state, Map<String, Asset> foundAssetsById) DefaultFileUploadStateHydrationService.determineReferencedAssetIds
(FileUploadState state) protected void
DefaultStorageService.handleExceptionWithZipFile
(FileUploadState uploadState, String zipFileName, Exception e, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
DefaultStorageService.handleFailedValidationWithZipFile
(FileUploadState uploadState, String zipFileName, String errorMessage, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultFileUploadStateHydrationService.hydrate
(FileUploadState unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) FileUploadStateHydrationService.hydrate
(FileUploadState unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs ofAssets
that are referenced byunhydrated
, finds the corresponding items in the data store, and then replaces each reference with the fully populated representation of the item.protected void
DefaultStorageService.processZipExtractionResult
(DefaultStorageService.ZipExtractionResult zipExtractionResult, FileUploadState uploadState, Asset assetRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, boolean optimizeImg) Deprecated.protected void
DefaultStorageService.processZipExtractionResult
(DefaultStorageService.ZipExtractionResult zipExtractionResult, FileUploadState uploadState, Asset assetRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, boolean optimizeImg, boolean ignoreFolderName) Given aDefaultStorageService.ZipExtractionResult
, creates all of the necessaryFolders
in the data store, uploads the extracted files to the storage provider (after optimizing them if necessary), and createsAssets
in the data store for all successfully uploaded files.protected void
DefaultStorageService.setUploadStatus
(FileUploadState uploadState, BulkAddResourcesResponse bulkAddResourcesResponse) Constructor parameters in com.broadleafcommerce.asset.service with type arguments of type FileUploadStateModifierConstructorDescriptionDefaultStorageService
(AssetService<Asset> assetService, FolderService<Folder> folderService, jakarta.servlet.MultipartConfigElement multipartConfigElement, StorageProvider storageProvider, InternalAssetProperties internalAssetProperties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ImageOperationService imageOperationService, FileUploadStateService<FileUploadState> fileUploadStateService, jakarta.activation.FileTypeMap mimeFileTypeMap, AssetUrlGenerationHelper assetUrlGenerationHelper, com.broadleafcommerce.common.extension.data.DataRouteReference reference) -
Uses of FileUploadState in com.broadleafcommerce.asset.service.autoconfigure
Methods in com.broadleafcommerce.asset.service.autoconfigure that return types with arguments of type FileUploadStateModifier and TypeMethodDescriptionAssetServiceAutoConfiguration.fileUploadStateService
(FileUploadStateRepository<com.broadleafcommerce.data.tracking.core.Trackable> fileUploadStateRepository, com.broadleafcommerce.data.tracking.core.service.CrudEntityHelper helper, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of FileUploadState in com.broadleafcommerce.asset.web.endpoint
Fields in com.broadleafcommerce.asset.web.endpoint with type parameters of type FileUploadStateModifier and TypeFieldDescriptionprotected final FileUploadStateService<FileUploadState>
FileUploadEndpoint.fileUploadStateService
Methods in com.broadleafcommerce.asset.web.endpoint that return FileUploadStateModifier and TypeMethodDescriptionFileUploadEndpoint.getFileUploadState
(String stateId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) FileUploadEndpoint.uploadMultiFile
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, org.springframework.web.multipart.MultipartFile file, Asset asset, Boolean optimizeImg) Constructor parameters in com.broadleafcommerce.asset.web.endpoint with type arguments of type FileUploadStateModifierConstructorDescriptionFileUploadEndpoint
(StorageService storageService, FileUploadStateService<FileUploadState> fileUploadStateService, @NonNull FileUploadStateHydrationService fileUploadStateHydrationService)