public abstract class BaseAMImageCounter extends java.lang.Object implements AMImageCounter
| Modifier and Type | Field and Description |
|---|---|
protected AMImageMimeTypeProvider |
amImageMimeTypeProvider |
protected AMImageValidator |
amImageValidator |
protected com.liferay.document.library.configuration.DLFileEntryConfigurationProvider |
dlFileEntryConfigurationProvider |
| Constructor and Description |
|---|
BaseAMImageCounter() |
| Modifier and Type | Method and Description |
|---|---|
int |
countExpectedAMImageEntries(long companyId)
Returns the number of images in the application that should have an
adaptive media image in a particular company, including images that are
not generated yet.
|
protected abstract void |
forEachFileEntry(long companyId,
java.util.function.Consumer<com.liferay.document.library.kernel.model.DLFileEntry> consumer) |
protected java.lang.String[] |
getMimeTypes() |
protected AMImageMimeTypeProvider amImageMimeTypeProvider
protected AMImageValidator amImageValidator
protected com.liferay.document.library.configuration.DLFileEntryConfigurationProvider dlFileEntryConfigurationProvider
public int countExpectedAMImageEntries(long companyId)
AMImageCountercountExpectedAMImageEntries in interface AMImageCounterprotected abstract void forEachFileEntry(long companyId,
java.util.function.Consumer<com.liferay.document.library.kernel.model.DLFileEntry> consumer)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected java.lang.String[] getMimeTypes()