public class ERPendingAttachment
extends java.lang.Object
| Constructor and Description |
|---|
ERPendingAttachment(java.io.File uploadedFile)
Constructs an ERPendingAttachment.
|
ERPendingAttachment(java.io.File uploadedFile,
java.lang.String recommendedFilePath)
Constructs an ERPendingAttachment.
|
ERPendingAttachment(java.io.File uploadedFile,
java.lang.String recommendedFilePath,
java.lang.String mimeType)
Constructs an ERPendingAttachment.
|
ERPendingAttachment(java.io.File uploadedFile,
java.lang.String recommendedFilePath,
java.lang.String mimeType,
int width,
int height,
java.lang.String configurationName,
java.lang.String ownerID)
Constructs an ERPendingAttachment.
|
ERPendingAttachment(java.io.File uploadedFile,
java.lang.String recommendedFilePath,
java.lang.String mimeType,
java.lang.String configurationName,
java.lang.String ownerID)
Constructs an ERPendingAttachment.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
configurationName()
Returns the name of the configuration settings to use for this upload.
|
int |
height()
Returns the desired height of this attachment.
|
boolean |
isPendingDelete()
Returns whether or not this attachment should be deleted after import.
|
java.lang.String |
mimeType()
Returns the mime type (or null if there isn't an explicit one) for this file.
|
java.lang.String |
ownerID()
Returns the arbitrary string that represents the ID of the "owner" of this attachment (Person.primaryKey, for instance).
|
java.lang.String |
recommendedFileName()
Returns the cleansed file name recommended by the user during import.
|
java.lang.String |
recommendedFilePath()
Returns the path recommended by the user during import.
|
void |
setConfigurationName(java.lang.String configurationName)
Sets the name of the configuration settings to use for this upload.
|
void |
setHeight(int height)
Sets the desired height of this attachment (or -1 to not specify).
|
void |
setMimeType(java.lang.String mimeType)
Sets the mime type (or null if there isn't an explicit one) for this file.
|
void |
setOwnerID(java.lang.String ownerID)
Sets the arbitrary string that represents the ID of the "owner" of this attachment (Person.primaryKey, for instance).
|
void |
setPendingDelete(boolean pendingDelete)
Sets whether or not this attachment should be deleted after import.
|
void |
setRecommendedFilePath(java.lang.String recommendedFilePath)
Sets the path recommended by the user during import.
|
void |
setUploadedFile(java.io.File uploadedFile)
Sets the uploaded temporary file (which will be deleted at the end).
|
void |
setWidth(int width)
Sets the desired width of this attachment (or -1 to not specify).
|
java.lang.String |
toString() |
java.io.File |
uploadedFile()
Returns the uploaded temporary file (which will be deleted at the end).
|
int |
width()
Returns the desired width of this attachment.
|
public ERPendingAttachment(java.io.File uploadedFile)
uploadedFile - public ERPendingAttachment(java.io.File uploadedFile,
java.lang.String recommendedFilePath)
uploadedFile - recommendedFilePath - public ERPendingAttachment(java.io.File uploadedFile,
java.lang.String recommendedFilePath,
java.lang.String mimeType)
uploadedFile - recommendedFilePath - mimeType - public ERPendingAttachment(java.io.File uploadedFile,
java.lang.String recommendedFilePath,
java.lang.String mimeType,
java.lang.String configurationName,
java.lang.String ownerID)
uploadedFile - recommendedFilePath - mimeType - configurationName - ownerID - public ERPendingAttachment(java.io.File uploadedFile,
java.lang.String recommendedFilePath,
java.lang.String mimeType,
int width,
int height,
java.lang.String configurationName,
java.lang.String ownerID)
uploadedFile - recommendedFilePath - mimeType - width - height - configurationName - ownerID - public java.io.File uploadedFile()
public void setUploadedFile(java.io.File uploadedFile)
uploadedFile - public java.lang.String recommendedFilePath()
public void setRecommendedFilePath(java.lang.String recommendedFilePath)
recommendedFilePath - public java.lang.String recommendedFileName()
public java.lang.String mimeType()
public void setMimeType(java.lang.String mimeType)
mimeType - public java.lang.String configurationName()
public void setConfigurationName(java.lang.String configurationName)
configurationName - public java.lang.String ownerID()
public void setOwnerID(java.lang.String ownerID)
ownerID - public void setPendingDelete(boolean pendingDelete)
pendingDelete - public boolean isPendingDelete()
public void setWidth(int width)
width - public int width()
public void setHeight(int height)
height - public int height()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2002 – 2022 Project Wonder.