Class BaseAMImageCounter
java.lang.Object
com.liferay.adaptive.media.image.counter.BaseAMImageCounter
- All Implemented Interfaces:
AMImageCounter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AMImageMimeTypeProviderprotected AMImageValidatorprotected com.liferay.portal.kernel.service.ClassNameLocalServiceprotected com.liferay.document.library.configuration.DLFileEntryConfigurationProviderprotected com.liferay.document.library.kernel.service.DLFileEntryLocalService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcountExpectedAMImageEntries(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 String
-
Field Details
-
amImageMimeTypeProvider
-
amImageValidator
-
classNameLocalService
protected com.liferay.portal.kernel.service.ClassNameLocalService classNameLocalService -
dlFileEntryConfigurationProvider
protected com.liferay.document.library.configuration.DLFileEntryConfigurationProvider dlFileEntryConfigurationProvider -
dlFileEntryLocalService
protected com.liferay.document.library.kernel.service.DLFileEntryLocalService dlFileEntryLocalService
-
-
Constructor Details
-
BaseAMImageCounter
public BaseAMImageCounter()
-
-
Method Details
-
countExpectedAMImageEntries
public int countExpectedAMImageEntries(long companyId) Description copied from interface:AMImageCounterReturns 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.- Specified by:
countExpectedAMImageEntriesin interfaceAMImageCounter- Returns:
- the number of images in the application that should have an adaptive media image in a particular company
-
getClassName
-