Class AbstractTransformationSourceOptions
java.lang.Object
org.alfresco.service.cmr.repository.AbstractTransformationSourceOptions
- All Implemented Interfaces:
Cloneable,TransformationSourceOptions
- Direct Known Subclasses:
CropSourceOptions,PagedSourceOptions,TemporalSourceOptions
@Deprecated
public abstract class AbstractTransformationSourceOptions
extends Object
implements TransformationSourceOptions, Cloneable
Deprecated.
The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
Base implementation of TransformationSourceOptions which holds applicable mimetypes
and handles merge of options.
- Author:
- Ray Gauss II
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.repository.TransformationSourceOptions
TransformationSourceOptions.TransformationSourceOptionsSerializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractTransformationSourceOptionsclone()Deprecated.Deprecated.Deprecated.Gets the list of applicable mimetypesbooleanisApplicableForMimetype(String mimetype) Deprecated.Gets whether or not these transformation source options apply for the given mimetypemergedOptions(TransformationSourceOptions overridingOptions) Deprecated.Creates a newTransformationSourceOptionsobject from this one, merging any non-null overriding fields in the givenoverridingOptionsprotected voidputParameterIfNotNull(String paramName, Serializable paramValue, Map<String, Serializable> params) Deprecated.Adds the given paramValue to the given params if it's not null.voidsetApplicableMimetypes(List<String> applicableMimetypes) Deprecated.Sets the list of applicable mimetypesMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.service.cmr.repository.TransformationSourceOptions
getSerializer
-
Constructor Details
-
AbstractTransformationSourceOptions
public AbstractTransformationSourceOptions()Deprecated.
-
-
Method Details
-
getApplicabledMimetypes
Deprecated.Description copied from interface:TransformationSourceOptionsGets the list of applicable mimetypes- Specified by:
getApplicabledMimetypesin interfaceTransformationSourceOptions- Returns:
- the applicable mimetypes
-
getApplicableMimetypes
Deprecated.Gets the list of applicable mimetypes- Specified by:
getApplicableMimetypesin interfaceTransformationSourceOptions- Returns:
- the applicable mimetypes
-
setApplicableMimetypes
Deprecated.Sets the list of applicable mimetypes- Parameters:
applicableMimetypes- the applicable mimetypes
-
isApplicableForMimetype
Deprecated.Gets whether or not these transformation source options apply for the given mimetype- Specified by:
isApplicableForMimetypein interfaceTransformationSourceOptions- Parameters:
mimetype- the mimetype of the source- Returns:
- if these transformation source options apply
-
clone
Deprecated.- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
mergedOptions
Deprecated.Creates a newTransformationSourceOptionsobject from this one, merging any non-null overriding fields in the givenoverridingOptions- Specified by:
mergedOptionsin interfaceTransformationSourceOptions- Parameters:
overridingOptions- TransformationSourceOptions- Returns:
- a merged
TransformationSourceOptionsobject
-
putParameterIfNotNull
protected void putParameterIfNotNull(String paramName, Serializable paramValue, Map<String, Serializable> params) Deprecated.Adds the given paramValue to the given params if it's not null.- Parameters:
paramName- StringparamValue- Serializable
-