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)
AMImageCounter
countExpectedAMImageEntries
in interface AMImageCounter
protected 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.PortalException
protected java.lang.String[] getMimeTypes()