@ProviderType
public interface AMImageOptimizer
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.
Modifier and Type | Method and Description |
---|---|
void |
optimize(long companyId)
Generates missing adaptive media images for an application or use case in
a company for every enabled image configuration entry.
|
void |
optimize(long companyId,
java.lang.String configurationEntryUuid)
Generates missing adaptive media images for an application or use case in
a company for the specified image configuration entry.
|
void optimize(long companyId)
companyId
- the primary key of the companyvoid optimize(long companyId, java.lang.String configurationEntryUuid)
companyId
- the primary key of the companyconfigurationEntryUuid
- the image configuration entry's UUID