Class ImageTransformationOptions
- java.lang.Object
-
- org.alfresco.service.cmr.repository.TransformationOptions
-
- org.alfresco.repo.content.transform.magick.ImageTransformationOptions
-
- All Implemented Interfaces:
java.lang.Cloneable
@Deprecated @AlfrescoPublicApi public class ImageTransformationOptions extends TransformationOptions
Deprecated.The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.Image transformation options- Author:
- Roy Wetherall
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringOPT_COMMAND_OPTIONSDeprecated.static java.lang.StringOPT_IMAGE_AUTO_ORIENTATIONDeprecated.static java.lang.StringOPT_IMAGE_RESIZE_OPTIONSDeprecated.-
Fields inherited from class org.alfresco.service.cmr.repository.TransformationOptions
OPT_INCLUDE_EMBEDDED, OPT_SOURCE_CONTENT_PROPERTY, OPT_SOURCE_NODEREF, OPT_TARGET_CONTENT_PROPERTY, OPT_TARGET_NODEREF, OPT_USE, relaxedBooleanTypeConverter
-
-
Constructor Summary
Constructors Constructor Description ImageTransformationOptions()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcopyFrom(TransformationOptions origOptions)Deprecated.Does the work of copying the given other TransformationOptions values to this onebooleanequals(java.lang.Object o)Deprecated.java.lang.StringgetCommandOptions()Deprecated.will be removed in a future release and be replaced by individual options that can be checked.ImageResizeOptionsgetResizeOptions()Deprecated.Get the image resize optionsinthashCode()Deprecated.booleanisAutoOrient()Deprecated.voidsetAutoOrient(boolean autoOrient)Deprecated.voidsetCommandOptions(java.lang.String commandOptions)Deprecated.will be removed in a future release and be replaced by individual options that can be checked.voidsetResizeOptions(ImageResizeOptions resizeOptions)Deprecated.Set the image resize optionsjava.util.Map<java.lang.String,java.lang.Object>toMap()Deprecated.Overrides the base class implementation to add our optionsjava.lang.StringtoString()Deprecated.java.lang.StringtoStringAll()Deprecated.-
Methods inherited from class org.alfresco.service.cmr.repository.TransformationOptions
addSourceOptions, clone, deepCopy, getIncludeEmbedded, getLimits, getMaxPages, getMaxSourceSizeKBytes, getPageLimit, getReadLimitKBytes, getReadLimitTimeMs, getSourceContentProperty, getSourceNodeRef, getSourceOptions, getSourceOptionsList, getSourceOptionsMap, getTargetContentProperty, getTargetNodeRef, getTimeoutMs, getUse, set, setIncludeEmbedded, setLimits, setMaxPages, setMaxSourceSizeKBytes, setPageLimit, setReadLimitKBytes, setReadLimitTimeMs, setSourceContentProperty, setSourceNodeRef, setSourceOptionsList, setTargetContentProperty, setTargetNodeRef, setTimeoutMs, setUse, toString
-
-
-
-
Field Detail
-
OPT_COMMAND_OPTIONS
public static final java.lang.String OPT_COMMAND_OPTIONS
Deprecated.- See Also:
- Constant Field Values
-
OPT_IMAGE_RESIZE_OPTIONS
public static final java.lang.String OPT_IMAGE_RESIZE_OPTIONS
Deprecated.- See Also:
- Constant Field Values
-
OPT_IMAGE_AUTO_ORIENTATION
public static final java.lang.String OPT_IMAGE_AUTO_ORIENTATION
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
setCommandOptions
@Deprecated public void setCommandOptions(java.lang.String commandOptions)
Deprecated.will be removed in a future release and be replaced by individual options that can be checked.Set the command string options- Parameters:
commandOptions- the command string options
-
getCommandOptions
@Deprecated public java.lang.String getCommandOptions()
Deprecated.will be removed in a future release and be replaced by individual options that can be checked.Get the command string options- Returns:
- String the command string options
-
setResizeOptions
public void setResizeOptions(ImageResizeOptions resizeOptions)
Deprecated.Set the image resize options- Parameters:
resizeOptions- image resize options
-
getResizeOptions
public ImageResizeOptions getResizeOptions()
Deprecated.Get the image resize options- Returns:
- ImageResizeOptions image resize options
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classTransformationOptions
-
toStringAll
public java.lang.String toStringAll()
Deprecated.- Overrides:
toStringAllin classTransformationOptions
-
toMap
public java.util.Map<java.lang.String,java.lang.Object> toMap()
Deprecated.Overrides the base class implementation to add our options- Overrides:
toMapin classTransformationOptions
-
isAutoOrient
public boolean isAutoOrient()
Deprecated.- Returns:
- Will the image be automatically oriented(rotated) based on the EXIF "Orientation" data. Defaults to TRUE
-
setAutoOrient
public void setAutoOrient(boolean autoOrient)
Deprecated.- Parameters:
autoOrient- automatically orient (rotate) based on the EXIF "Orientation" data
-
copyFrom
public void copyFrom(TransformationOptions origOptions)
Deprecated.Description copied from class:TransformationOptionsDoes the work of copying the given other TransformationOptions values to this one- Overrides:
copyFromin classTransformationOptions- Parameters:
origOptions- the options to copy
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equalsin classTransformationOptions
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classTransformationOptions
-
-