Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AdaptiveMedia<T> - Interface in com.liferay.adaptive.media
-
Represents content (images, audio, video, and other types of content) along with a set of attributes which characterize the content.
- AMAsyncProcessor<M,
T> - Interface in com.liferay.adaptive.media.processor -
Generates a specific type of media asynchronously.
- AMAsyncProcessorLocator - Interface in com.liferay.adaptive.media.processor
-
Locates the available
AMAsyncProcessor. - AMAttribute<T,
V> - Class in com.liferay.adaptive.media -
Represents a characteristic of an
AdaptiveMediainstance (e.g., its width, size, etc.). - AMAttribute(String, Function<String, V>, AMDistanceComparator<V>) - Constructor for class com.liferay.adaptive.media.AMAttribute
-
Creates a new attribute.
- AMAttributeConverterUtil - Class in com.liferay.adaptive.media.util
-
Provides a set of functions for converting data into
AMAttributevalues. - AMAttributeConverterUtil() - Constructor for class com.liferay.adaptive.media.util.AMAttributeConverterUtil
- AMAttributeFormatException() - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.AMAttributeFormatException
- AMAttributeFormatException(String) - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.AMAttributeFormatException
- AMAttributeFormatException(String, Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.AMAttributeFormatException
- AMAttributeFormatException(Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.AMAttributeFormatException
- AMDistanceComparator<T> - Interface in com.liferay.adaptive.media
-
Compares two values, returning a long value representing the distance between them.
- AMException - Exception in com.liferay.adaptive.media.exception
- AMException.AMNotFound - Exception in com.liferay.adaptive.media.exception
-
This exception is raised when a requested media type or instance is not found.
- AMFinder<B extends AMQueryBuilder<M,
T>, M, T> - Interface in com.liferay.adaptive.media.finder -
An
AMFinderis responsible for locating and returning media related to a model. - AMImageConfigurationException - Exception in com.liferay.adaptive.media.exception
- AMImageConfigurationException.DuplicateAMImageConfigurationNameException - Exception in com.liferay.adaptive.media.exception
-
This exception is raised when a configuration with the same name already exists.
- AMImageConfigurationException.DuplicateAMImageConfigurationUuidException - Exception in com.liferay.adaptive.media.exception
-
This exception is raised when a configuration with the same uuid already exists.
- AMImageConfigurationException.InvalidHeightException - Exception in com.liferay.adaptive.media.exception
-
This exception is raised when the height value is not valid.
- AMImageConfigurationException.InvalidNameException - Exception in com.liferay.adaptive.media.exception
-
This exception is raised when the name of the configuration is not valid.
- AMImageConfigurationException.InvalidStateAMImageConfigurationException - Exception in com.liferay.adaptive.media.exception
- AMImageConfigurationException.InvalidUuidException - Exception in com.liferay.adaptive.media.exception
-
This exception is raised when the uuid of the configuration is not valid.
- AMImageConfigurationException.InvalidWidthException - Exception in com.liferay.adaptive.media.exception
-
This exception is raised when the height value is not valid.
- AMImageConfigurationException.NoSuchAMImageConfigurationException - Exception in com.liferay.adaptive.media.exception
-
This exception is raised when a configuration does not exist.
- AMImageConfigurationException.RequiredWidthOrHeightException - Exception in com.liferay.adaptive.media.exception
-
This exception is raised when the configuration does not contain either a valid height value nor a valid width value.
- AMNotFound() - Constructor for exception com.liferay.adaptive.media.exception.AMException.AMNotFound
- AMNotFound(String) - Constructor for exception com.liferay.adaptive.media.exception.AMException.AMNotFound
- AMNotFound(String, Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMException.AMNotFound
- AMNotFound(Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMException.AMNotFound
- AMOptimizeImagesBackgroundTaskConstants - Class in com.liferay.adaptive.media.constants
- AMOptimizeImagesBackgroundTaskConstants() - Constructor for class com.liferay.adaptive.media.constants.AMOptimizeImagesBackgroundTaskConstants
- AMProcessor<M> - Interface in com.liferay.adaptive.media.processor
-
Generates a particular type of media.
- AMQuery<M,
T> - Interface in com.liferay.adaptive.media.finder -
A marker interface that
AMQueryBuilderimplementations must return to indicate valid or final results. - AMQueryBuilder<M,
T> - Interface in com.liferay.adaptive.media.finder - AMRequestHandler<T> - Interface in com.liferay.adaptive.media.handler
-
Handles upcoming requests for a particular kind of media (i.e., media generated by one type of processor).
- AMRuntimeException - Exception in com.liferay.adaptive.media.exception
- AMRuntimeException.AMAttributeFormatException - Exception in com.liferay.adaptive.media.exception
-
This exception is thrown when a value serialized as a
Stringcannot be converted by anAMAttribute. - AMRuntimeException.InvalidConfiguration - Exception in com.liferay.adaptive.media.exception
-
This exception is thrown when there is a processor configuration error.
- AMRuntimeException.IOException - Exception in com.liferay.adaptive.media.exception
-
This exception wraps
IOExceptioninstances. - AMRuntimeException.UnsupportedEncodingException - Exception in com.liferay.adaptive.media.exception
-
This exception wraps
UnsupportedEncodingExceptioninstances. - AMURIResolver - Interface in com.liferay.adaptive.media
C
- CLASS_NAME - Static variable in class com.liferay.adaptive.media.constants.AMOptimizeImagesBackgroundTaskConstants
- cleanUp(M) - Method in interface com.liferay.adaptive.media.processor.AMProcessor
-
Completely removes any generated media for the model.
- com.liferay.adaptive.media - package com.liferay.adaptive.media
- com.liferay.adaptive.media.constants - package com.liferay.adaptive.media.constants
- com.liferay.adaptive.media.exception - package com.liferay.adaptive.media.exception
- com.liferay.adaptive.media.finder - package com.liferay.adaptive.media.finder
- com.liferay.adaptive.media.handler - package com.liferay.adaptive.media.handler
- com.liferay.adaptive.media.processor - package com.liferay.adaptive.media.processor
- com.liferay.adaptive.media.util - package com.liferay.adaptive.media.util
- COMPANY_ID - Static variable in class com.liferay.adaptive.media.constants.AMOptimizeImagesBackgroundTaskConstants
- compare(T, T) - Method in interface com.liferay.adaptive.media.AMDistanceComparator
-
Compare the two values, returning a long value representing how far they are from each other.
- compare(V, V) - Method in class com.liferay.adaptive.media.AMAttribute
-
Compares the two arguments for order.
- CONFIGURATION_ENTRY_UUID - Static variable in class com.liferay.adaptive.media.constants.AMOptimizeImagesBackgroundTaskConstants
- convert(String) - Method in class com.liferay.adaptive.media.AMAttribute
-
Returns the value converted to the correct type.
- COUNT - Static variable in class com.liferay.adaptive.media.constants.AMOptimizeImagesBackgroundTaskConstants
D
- distance(V, V) - Method in class com.liferay.adaptive.media.AMAttribute
-
Returns the distance between the two values.
- DuplicateAMImageConfigurationNameException() - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.DuplicateAMImageConfigurationNameException
- DuplicateAMImageConfigurationNameException(String) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.DuplicateAMImageConfigurationNameException
- DuplicateAMImageConfigurationNameException(String, Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.DuplicateAMImageConfigurationNameException
- DuplicateAMImageConfigurationNameException(Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.DuplicateAMImageConfigurationNameException
- DuplicateAMImageConfigurationUuidException() - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.DuplicateAMImageConfigurationUuidException
- DuplicateAMImageConfigurationUuidException(String) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.DuplicateAMImageConfigurationUuidException
- DuplicateAMImageConfigurationUuidException(String, Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.DuplicateAMImageConfigurationUuidException
- DuplicateAMImageConfigurationUuidException(Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.DuplicateAMImageConfigurationUuidException
E
- ERRORS - Static variable in class com.liferay.adaptive.media.constants.AMOptimizeImagesBackgroundTaskConstants
G
- getAdaptiveMedias(Function<B, AMQuery<M, T>>) - Method in interface com.liferay.adaptive.media.finder.AMFinder
-
Returns all
AdaptiveMediainstances for the model that matches the query. - getAllowedAMAttributes() - Static method in class com.liferay.adaptive.media.AMAttribute
-
Returns a string-attribute map containing the available name-attribute pairs.
- getConfigurationUuidAMAttribute() - Static method in class com.liferay.adaptive.media.AMAttribute
-
Returns a generic attribute representing the configuration UUID used to generate the media.
- getContentLengthAMAttribute() - Static method in class com.liferay.adaptive.media.AMAttribute
-
Returns a generic attribute representing the length of the media's content.
- getContentTypeAMAttribute() - Static method in class com.liferay.adaptive.media.AMAttribute
-
Returns a generic attribute representing the media's content type.
- getFileNameAMAttribute() - Static method in class com.liferay.adaptive.media.AMAttribute
-
Returns a generic attribute representing the media's file name (if any).
- getInputStream() - Method in interface com.liferay.adaptive.media.AdaptiveMedia
-
Returns an
InputStreamwith the raw contents of thisAdaptiveMediainstance. - getName() - Method in class com.liferay.adaptive.media.AMAttribute
-
Returns this
AdaptiveMediainstance's globally unique name. - getURI() - Method in interface com.liferay.adaptive.media.AdaptiveMedia
-
Returns the URI of this
AdaptiveMediainstance. - getValue(AMAttribute<T, V>) - Method in interface com.liferay.adaptive.media.AdaptiveMedia
H
- handleRequest(HttpServletRequest) - Method in interface com.liferay.adaptive.media.handler.AMRequestHandler
-
Returns the requested
AdaptiveMediainstance.
I
- InvalidConfiguration() - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.InvalidConfiguration
- InvalidConfiguration(String) - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.InvalidConfiguration
- InvalidConfiguration(String, Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.InvalidConfiguration
- InvalidConfiguration(Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.InvalidConfiguration
- InvalidHeightException() - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidHeightException
- InvalidHeightException(String) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidHeightException
- InvalidHeightException(String, Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidHeightException
- InvalidHeightException(Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidHeightException
- InvalidNameException() - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidNameException
- InvalidNameException(String) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidNameException
- InvalidNameException(String, Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidNameException
- InvalidNameException(Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidNameException
- InvalidStateAMImageConfigurationException() - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidStateAMImageConfigurationException
- InvalidStateAMImageConfigurationException(String) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidStateAMImageConfigurationException
- InvalidStateAMImageConfigurationException(String, Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidStateAMImageConfigurationException
- InvalidStateAMImageConfigurationException(Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidStateAMImageConfigurationException
- InvalidUuidException() - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidUuidException
- InvalidUuidException(String) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidUuidException
- InvalidUuidException(String, Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidUuidException
- InvalidUuidException(Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidUuidException
- InvalidWidthException() - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidWidthException
- InvalidWidthException(String) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidWidthException
- InvalidWidthException(String, Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidWidthException
- InvalidWidthException(Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.InvalidWidthException
- IOException() - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.IOException
- IOException(String) - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.IOException
- IOException(String, Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.IOException
- IOException(Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.IOException
L
- locateForClass(Class<M>) - Method in interface com.liferay.adaptive.media.processor.AMAsyncProcessorLocator
N
- NoSuchAMImageConfigurationException() - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.NoSuchAMImageConfigurationException
- NoSuchAMImageConfigurationException(String) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.NoSuchAMImageConfigurationException
- NoSuchAMImageConfigurationException(String, Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.NoSuchAMImageConfigurationException
- NoSuchAMImageConfigurationException(Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.NoSuchAMImageConfigurationException
P
- parseInt(String) - Static method in class com.liferay.adaptive.media.util.AMAttributeConverterUtil
- parseLong(String) - Static method in class com.liferay.adaptive.media.util.AMAttributeConverterUtil
- PHASE - Static variable in class com.liferay.adaptive.media.constants.AMOptimizeImagesBackgroundTaskConstants
- PORTAL_END - Static variable in class com.liferay.adaptive.media.constants.AMOptimizeImagesBackgroundTaskConstants
- PORTAL_START - Static variable in class com.liferay.adaptive.media.constants.AMOptimizeImagesBackgroundTaskConstants
- process(FileVersion, String) - Method in interface com.liferay.adaptive.media.processor.AMProcessor
- process(M) - Method in interface com.liferay.adaptive.media.processor.AMProcessor
-
Generates the media for the model.
R
- RequiredWidthOrHeightException() - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.RequiredWidthOrHeightException
- RequiredWidthOrHeightException(String) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.RequiredWidthOrHeightException
- RequiredWidthOrHeightException(String, Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.RequiredWidthOrHeightException
- RequiredWidthOrHeightException(Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMImageConfigurationException.RequiredWidthOrHeightException
- resolveURI(URI) - Method in interface com.liferay.adaptive.media.AMURIResolver
S
- SINGLE_END - Static variable in class com.liferay.adaptive.media.constants.AMOptimizeImagesBackgroundTaskConstants
- SINGLE_START - Static variable in class com.liferay.adaptive.media.constants.AMOptimizeImagesBackgroundTaskConstants
T
- toComparator() - Method in interface com.liferay.adaptive.media.AMDistanceComparator
-
Return a comparator that is equivalent to this
AMDistanceComparator. - TOTAL - Static variable in class com.liferay.adaptive.media.constants.AMOptimizeImagesBackgroundTaskConstants
- triggerCleanUp(M, String) - Method in interface com.liferay.adaptive.media.processor.AMAsyncProcessor
-
Asynchronously removes any generated media from the model.
- triggerProcess(M, String) - Method in interface com.liferay.adaptive.media.processor.AMAsyncProcessor
-
Asynchronously generates the media for the model.
U
- UnsupportedEncodingException() - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.UnsupportedEncodingException
- UnsupportedEncodingException(String) - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.UnsupportedEncodingException
- UnsupportedEncodingException(String, Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.UnsupportedEncodingException
- UnsupportedEncodingException(Throwable) - Constructor for exception com.liferay.adaptive.media.exception.AMRuntimeException.UnsupportedEncodingException
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form