public class AdminImageOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
crc
CRC of the source image
|
private int |
id
The id (use the productId for operations on products, use manufacturerId for operations on
manufacturers)
|
private java.lang.String |
sourceFullFilename
Full filename of the source image.
|
private int |
subject
The type of object for the image operation.
|
private java.lang.String |
targetFilename
Only used for removal of images.
|
Constructor and Description |
---|
AdminImageOptions()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCrc() |
int |
getId() |
java.lang.String |
getSourceFullFilename() |
int |
getSubject() |
java.lang.String |
getTargetFilename() |
void |
setCrc(java.lang.String crc) |
void |
setId(int id) |
void |
setSourceFullFilename(java.lang.String sourceFullFilename) |
void |
setSubject(int subject) |
void |
setTargetFilename(java.lang.String targetFilename) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private int id
private java.lang.String sourceFullFilename
private java.lang.String crc
private java.lang.String targetFilename
Filename (or part of) of the image to operate on. If this value is specified as "*" then all images associated with the object (identified by id) will be deleted. This value should not include the path but only the file name (or part of) itself. It is used for searching for images so is used as a pattern for matching.
private int subject
IMG_PRODUCT
= product (in which case the id must be the productId)
IMG_MANUFACTURER
= manufacturer (in which case the id must be the
manufacturerId)
IMG_CATEGORY
= category (in which case the id must be the
categoryId)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public int getId()
public void setId(int id)
id
- the id to setpublic java.lang.String getSourceFullFilename()
public void setSourceFullFilename(java.lang.String sourceFullFilename)
sourceFullFilename
- the sourceFullFilename to setpublic java.lang.String getTargetFilename()
public void setTargetFilename(java.lang.String targetFilename)
targetFilename
- the targetFilename to setpublic int getSubject()
public void setSubject(int subject)
subject
- the subject to setpublic java.lang.String getCrc()
public void setCrc(java.lang.String crc)
crc
- the crc to setCopyright © 2018 DS Data Systems UK Ltd.