Interface TransformationSourceOptions
-
- All Known Implementing Classes:
AbstractTransformationSourceOptions,CropSourceOptions,ImageCropOptions,PagedSourceOptions,TemporalSourceOptions
@Deprecated @AlfrescoPublicApi public interface TransformationSourceOptionsDeprecated.The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.Defines options and demarcations needed to describe the details of how the source should be transformed, independent of the target requirements.See
PagedSourceOptionsfor an example implementation that describes the page number that should be used from the source content.- Author:
- Ray Gauss II
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceTransformationSourceOptions.TransformationSourceOptionsSerializerDeprecated.Defines methods for serializing the source options into a parameter map and deserializing from a serialized options accessor.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.List<java.lang.String>getApplicabledMimetypes()Deprecated.UsegetApplicableMimetypes()instead.java.util.List<java.lang.String>getApplicableMimetypes()Deprecated.Gets the list of applicable mimetypesTransformationSourceOptions.TransformationSourceOptionsSerializergetSerializer()Deprecated.Gets the serializer for the source options.booleanisApplicableForMimetype(java.lang.String mimetype)Deprecated.Gets whether or not these transformation source options apply for the given mimetypeTransformationSourceOptionsmergedOptions(TransformationSourceOptions overridingOptions)Deprecated.Creates a newTransformationSourceOptionsobject from this one, merging any non-null overriding fields in the givenoverridingOptions
-
-
-
Method Detail
-
getApplicabledMimetypes
java.util.List<java.lang.String> getApplicabledMimetypes()
Deprecated.UsegetApplicableMimetypes()instead.Gets the list of applicable mimetypes- Returns:
- the applicable mimetypes
-
getApplicableMimetypes
java.util.List<java.lang.String> getApplicableMimetypes()
Deprecated.Gets the list of applicable mimetypes- Returns:
- the applicable mimetypes
-
isApplicableForMimetype
boolean isApplicableForMimetype(java.lang.String mimetype)
Deprecated.Gets whether or not these transformation source options apply for the given mimetype- Parameters:
mimetype- the mimetype of the source- Returns:
- if these transformation source options apply
-
mergedOptions
TransformationSourceOptions mergedOptions(TransformationSourceOptions overridingOptions)
Deprecated.Creates a newTransformationSourceOptionsobject from this one, merging any non-null overriding fields in the givenoverridingOptions- Parameters:
overridingOptions- TransformationSourceOptions- Returns:
- a merged
TransformationSourceOptionsobject
-
getSerializer
TransformationSourceOptions.TransformationSourceOptionsSerializer getSerializer()
Deprecated.Gets the serializer for the source options.- Returns:
- the serializer
-
-