|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.service.cmr.repository.TransformationOptions
org.alfresco.repo.content.transform.magick.ImageTransformationOptions
public class ImageTransformationOptions
Image transformation options
| Field Summary | |
|---|---|
static java.lang.String |
OPT_COMMAND_OPTIONS
|
static java.lang.String |
OPT_IMAGE_CROP_OPTIONS
|
static java.lang.String |
OPT_IMAGE_RESIZE_OPTIONS
|
| 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 |
| 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.util.Map |
toMap()
Overrides the base class implementation to add our options |
java.lang.String |
toString()
|
| Methods inherited from class org.alfresco.service.cmr.repository.TransformationOptions |
|---|
getIncludeEmbedded, getSourceContentProperty, getSourceNodeRef, getTargetContentProperty, getTargetNodeRef, setIncludeEmbedded, setSourceContentProperty, setSourceNodeRef, setTargetContentProperty, setTargetNodeRef |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String OPT_COMMAND_OPTIONS
public static final java.lang.String OPT_IMAGE_RESIZE_OPTIONS
public static final java.lang.String OPT_IMAGE_CROP_OPTIONS
| Constructor Detail |
|---|
public ImageTransformationOptions()
| Method Detail |
|---|
public void setCommandOptions(java.lang.String commandOptions)
commandOptions - the command string optionspublic java.lang.String getCommandOptions()
public void setResizeOptions(ImageResizeOptions resizeOptions)
resizeOptions - image resize optionspublic ImageResizeOptions getResizeOptions()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Map toMap()
toMap in class TransformationOptionspublic void setCropOptions(ImageCropOptions cropOptions)
cropOptions - the cropOptions to setpublic ImageCropOptions getCropOptions()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||