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 existingFileUploadStatematching 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 TypeClassDescriptionclassDefaultFileUploadStateService<P extends FileUploadState>interfaceFileUploadStateService<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.fileUploadStateServiceMethods in com.broadleafcommerce.asset.service that return FileUploadStateModifier and TypeMethodDescriptionprotected FileUploadStateDefaultFileUploadStateHydrationService.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 ofAssetsthat 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 FileUploadStateDefaultFileUploadStateHydrationService.applyHydration(FileUploadState state, Map<String, Asset> foundAssetsById) DefaultFileUploadStateHydrationService.determineReferencedAssetIds(FileUploadState state) protected voidDefaultStorageService.handleExceptionWithZipFile(FileUploadState uploadState, String zipFileName, Exception e, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidDefaultStorageService.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 ofAssetsthat 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 voidDefaultStorageService.processZipExtractionResult(DefaultStorageService.ZipExtractionResult zipExtractionResult, FileUploadState uploadState, Asset assetRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, boolean optimizeImg) Deprecated.protected voidDefaultStorageService.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 necessaryFoldersin the data store, uploads the extracted files to the storage provider (after optimizing them if necessary), and createsAssetsin the data store for all successfully uploaded files.protected voidDefaultStorageService.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.fileUploadStateServiceMethods 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)