Interface AMImageOptimizer
- All Known Implementing Classes:
BaseAMImageOptimizer
@ProviderType
public interface AMImageOptimizer
Provides an interface that generates missing adaptive media images for an
application or use case.
Implementations of this interface should generate adaptive media images for every image of the application or use case that doesn't have an adaptive media image.
Each use case or application that stores images and uses Adaptive Media
should create a new implementation of this class and register it as an OSGi
component with the property adaptive.media.key and a key that
represents the use case or application.
-
Method Summary
Modifier and TypeMethodDescriptionvoidoptimize(long companyId) Generates missing adaptive media images for an application or use case in a company for every enabled image configuration entry.voidGenerates missing adaptive media images for an application or use case in a company for the specified image configuration entry.
-
Method Details
-
optimize
void optimize(long companyId) Generates missing adaptive media images for an application or use case in a company for every enabled image configuration entry.- Parameters:
companyId- the primary key of the company
-
optimize
Generates missing adaptive media images for an application or use case in a company for the specified image configuration entry.- Parameters:
companyId- the primary key of the companyconfigurationEntryUuid- the image configuration entry's UUID
-