Uses of Class
com.broadleafcommerce.asset.storage.provider.service.ResourceWithMetadata
Packages that use ResourceWithMetadata
Package
Description
-
Uses of ResourceWithMetadata in com.broadleafcommerce.asset.service
Methods in com.broadleafcommerce.asset.service that return ResourceWithMetadataModifier and TypeMethodDescriptionprotected ResourceWithMetadata
DefaultStorageService.storeMultipartFileResource
(String url, org.springframework.web.multipart.MultipartFile file, boolean optimizeImg) protected ResourceWithMetadata
DefaultStorageService.storeResource
(String url, InputStream inputStream, String fileName) Methods in com.broadleafcommerce.asset.service with parameters of type ResourceWithMetadataModifier and TypeMethodDescriptionvoid
DefaultStorageService.addAttributesToAsset
(@NonNull Asset asset, @NonNull ResourceWithMetadata resource) Responsible for adding any attributes to the asset that are derived from the uploadedResource
.void
StorageService.addAttributesToAsset
(Asset asset, ResourceWithMetadata resource) Add attributes to the asset based on the resource.DefaultStorageService.getAssetDimensions
(@NonNull ResourceWithMetadata videoResource) Gets dimensions for given assetResourceWithMetadata
DefaultStorageService.getImageDimensions
(@NonNull ResourceWithMetadata imageResource) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ResourceWithMetadata in com.broadleafcommerce.asset.service.image
Methods in com.broadleafcommerce.asset.service.image that return ResourceWithMetadataModifier and TypeMethodDescriptionDoNothingImageOperationService.applyEffectsAndStoreModifiedResource
(ResourceWithMetadata imageResource, String targetUrl, org.springframework.util.MultiValueMap<String, String> imageEffectsTags) ImageMagickImageOperationService.applyEffectsAndStoreModifiedResource
(ResourceWithMetadata imageResource, String targetUrl, org.springframework.util.MultiValueMap<String, String> imageEffectsTags) ImageOperationService.applyEffectsAndStoreModifiedResource
(ResourceWithMetadata imageResource, String targetUrl, org.springframework.util.MultiValueMap<String, String> imageEffectsTags) Apply the effects to theimageResource
and store the new resource to thetargetUrl
Methods in com.broadleafcommerce.asset.service.image with parameters of type ResourceWithMetadataModifier and TypeMethodDescriptionDoNothingImageOperationService.applyEffects
(ResourceWithMetadata imageResource, org.springframework.util.MultiValueMap<String, String> imageEffectsTags) ImageMagickImageOperationService.applyEffects
(ResourceWithMetadata imageResource, org.springframework.util.MultiValueMap<String, String> imageEffectsTags) ImageOperationService.applyEffects
(ResourceWithMetadata imageResource, org.springframework.util.MultiValueMap<String, String> imageEffectsTags) Apply the effects to theimageResource
and save it to the temp file.DoNothingImageOperationService.applyEffectsAndStoreModifiedResource
(ResourceWithMetadata imageResource, String targetUrl, org.springframework.util.MultiValueMap<String, String> imageEffectsTags) ImageMagickImageOperationService.applyEffectsAndStoreModifiedResource
(ResourceWithMetadata imageResource, String targetUrl, org.springframework.util.MultiValueMap<String, String> imageEffectsTags) ImageOperationService.applyEffectsAndStoreModifiedResource
(ResourceWithMetadata imageResource, String targetUrl, org.springframework.util.MultiValueMap<String, String> imageEffectsTags) Apply the effects to theimageResource
and store the new resource to thetargetUrl
-
Uses of ResourceWithMetadata in com.broadleafcommerce.asset.storage.provider.service
Methods in com.broadleafcommerce.asset.storage.provider.service that return ResourceWithMetadataModifier and TypeMethodDescriptionprotected ResourceWithMetadata
GoogleCloudStorageProvider.getResourceWithMetadata
(@NonNull com.google.cloud.storage.Blob blob) Methods in com.broadleafcommerce.asset.storage.provider.service that return types with arguments of type ResourceWithMetadataModifier and TypeMethodDescriptionContentResolverService.readResourceWithMetadata
(@NonNull String url, org.springframework.util.MultiValueMap<String, String> imageEffectsTags, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) This method will accept a URL and then return a handle to stream the resource from theStorageProvider
.DefaultContentResolver.readResourceWithMetadata
(@NonNull String url, org.springframework.util.MultiValueMap<String, String> imageEffectsTags, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultFilesystemContentResolver.readResourceWithMetadata
(@NonNull String url, org.springframework.util.MultiValueMap<String, String> imageEffectsTags, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated, for removal: This API element is subject to removal in a future version.GoogleCloudStorageProvider.readStreamableResourcesWithMetadata
(@NonNull Iterable<String> paths) default Iterable<ResourceWithMetadata>
StorageProvider.readStreamableResourcesWithMetadata
(Iterable<String> paths) Retrieves theresources
in the configured storage provider at the given path strings if they exist.FilesystemStorageProvider.readStreamableResourceWithMetadata
(@NonNull String path) GoogleCloudStorageProvider.readStreamableResourceWithMetadata
(@NonNull String path) StorageProvider.readStreamableResourceWithMetadata
(String path) Retrieves theresource
in the configured storage provider at the given path string if it exists. -
Uses of ResourceWithMetadata in com.broadleafcommerce.asset.web.endpoint
Methods in com.broadleafcommerce.asset.web.endpoint with parameters of type ResourceWithMetadataModifier and TypeMethodDescriptionprotected void
ContentResolverEndpoint.applyContentDisposition
(ResourceWithMetadata resourceWithMetadata, org.springframework.http.ResponseEntity.BodyBuilder responseBuilder, Asset asset)
DefaultStorageService.getAssetDimensions(ResourceWithMetadata)