Interface TransformationSourceOptions

All Known Implementing Classes:
AbstractTransformationSourceOptions, CropSourceOptions, PagedSourceOptions, TemporalSourceOptions

@Deprecated @AlfrescoPublicApi public interface TransformationSourceOptions
Deprecated.
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 PagedSourceOptions for an example implementation that describes the page number that should be used from the source content.

Author:
Ray Gauss II
  • Method Details

    • getApplicabledMimetypes

      List<String> getApplicabledMimetypes()
      Deprecated.
      Gets the list of applicable mimetypes
      Returns:
      the applicable mimetypes
    • getApplicableMimetypes

      List<String> getApplicableMimetypes()
      Deprecated.
      Gets the list of applicable mimetypes
      Returns:
      the applicable mimetypes
    • isApplicableForMimetype

      boolean isApplicableForMimetype(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 new TransformationSourceOptions object from this one, merging any non-null overriding fields in the given overridingOptions
      Parameters:
      overridingOptions - TransformationSourceOptions
      Returns:
      a merged TransformationSourceOptions object
    • getSerializer

      Deprecated.
      Gets the serializer for the source options.
      Returns:
      the serializer