org.alfresco.repo.content.transform.magick
Class ImageTransformationOptions

java.lang.Object
  extended by org.alfresco.service.cmr.repository.TransformationOptions
      extended by org.alfresco.repo.content.transform.magick.ImageTransformationOptions

public class ImageTransformationOptions
extends TransformationOptions

Image transformation options


Field Summary
 
Fields inherited from class org.alfresco.service.cmr.repository.TransformationOptions
OPT_SOURCE_CONTENT_PROPERTY, OPT_SOURCE_NODEREF, OPT_TARGET_CONTENT_PROPERTY, OPT_TARGET_NODEREF
 
Constructor Summary
ImageTransformationOptions()
           
 
Method Summary
 java.lang.String getCommandOptions()
          Get the command string options
 ImageCropOptions getCropOptions()
           
 ImageResizeOptions getResizeOptions()
          Get the image resize options
 void setCommandOptions(java.lang.String commandOptions)
          Set the command string options
 void setCropOptions(ImageCropOptions cropOptions)
           
 void setResizeOptions(ImageResizeOptions resizeOptions)
          Set the image resize options
 java.lang.String toString()
           
 
Methods inherited from class org.alfresco.service.cmr.repository.TransformationOptions
getSourceContentProperty, getSourceNodeRef, getTargetContentProperty, getTargetNodeRef, setSourceContentProperty, setSourceNodeRef, setTargetContentProperty, setTargetNodeRef, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageTransformationOptions

public ImageTransformationOptions()
Method Detail

setCommandOptions

public void setCommandOptions(java.lang.String commandOptions)
Set the command string options

Parameters:
commandOptions - the command string options

getCommandOptions

public java.lang.String getCommandOptions()
Get the command string options

Returns:
String the command string options

setResizeOptions

public void setResizeOptions(ImageResizeOptions resizeOptions)
Set the image resize options

Parameters:
resizeOptions - image resize options

getResizeOptions

public ImageResizeOptions getResizeOptions()
Get the image resize options

Returns:
ImageResizeOptions image resize options

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setCropOptions

public void setCropOptions(ImageCropOptions cropOptions)
Parameters:
cropOptions - the cropOptions to set

getCropOptions

public ImageCropOptions getCropOptions()
Returns:
the cropOptions


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.