
Public Member Functions | |
| String | configurationName () |
| ERPendingAttachment (File uploadedFile, String recommendedFilePath, String mimeType, int width, int height, String configurationName, String ownerID) | |
| ERPendingAttachment (File uploadedFile, String recommendedFilePath, String mimeType, String configurationName, String ownerID) | |
| ERPendingAttachment (File uploadedFile, String recommendedFilePath, String mimeType) | |
| ERPendingAttachment (File uploadedFile, String recommendedFilePath) | |
| ERPendingAttachment (File uploadedFile) | |
| int | height () |
| boolean | isPendingDelete () |
| String | mimeType () |
| String | ownerID () |
| String | recommendedFileName () |
| String | recommendedFilePath () |
| void | setConfigurationName (String configurationName) |
| void | setHeight (int height) |
| void | setMimeType (String mimeType) |
| void | setOwnerID (String ownerID) |
| void | setPendingDelete (boolean pendingDelete) |
| void | setRecommendedFilePath (String recommendedFilePath) |
| void | setUploadedFile (File uploadedFile) |
| void | setWidth (int width) |
| String | toString () |
| File | uploadedFile () |
| int | width () |
Private Attributes | |
| String | _configurationName |
| int | _height |
| String | _mimeType |
| String | _ownerID |
| boolean | _pendingDelete |
| String | _recommendedFilePath |
| File | _uploadedFile |
| int | _width |
| ERPendingAttachment | ( | File | uploadedFile | ) |
Constructs an ERPendingAttachment.
| uploadedFile | the uploaded temporary file (which will be deleted at the end) |
| ERPendingAttachment | ( | File | uploadedFile, | |
| String | recommendedFilePath | |||
| ) |
Constructs an ERPendingAttachment.
| uploadedFile | the uploaded temporary file (which will be deleted at the end) | |
| recommendedFilePath | the path recommended by the user during import |
| ERPendingAttachment | ( | File | uploadedFile, | |
| String | recommendedFilePath, | |||
| String | mimeType | |||
| ) |
Constructs an ERPendingAttachment.
| uploadedFile | the uploaded temporary file (which will be deleted at the end) | |
| recommendedFilePath | the path recommended by the user during import | |
| mimeType | the mimeType to use (null = guess based on file extension) |
| ERPendingAttachment | ( | File | uploadedFile, | |
| String | recommendedFilePath, | |||
| String | mimeType, | |||
| String | configurationName, | |||
| String | ownerID | |||
| ) |
Constructs an ERPendingAttachment.
| uploadedFile | the uploaded temporary file (which will be deleted at the end) | |
| recommendedFilePath | the path recommended by the user during import | |
| mimeType | the mimeType to use (null = guess based on file extension) | |
| configurationName | the name of the configuration settings to use for this processor (see top level docs) | |
| ownerID | an arbitrary string that represents the ID of the "owner" of this thumbnail (Person.primaryKey, for instance) |
| ERPendingAttachment | ( | File | uploadedFile, | |
| String | recommendedFilePath, | |||
| String | mimeType, | |||
| int | width, | |||
| int | height, | |||
| String | configurationName, | |||
| String | ownerID | |||
| ) |
Constructs an ERPendingAttachment.
| uploadedFile | the uploaded temporary file (which will be deleted at the end) | |
| recommendedFilePath | the path recommended by the user during import | |
| mimeType | the mimeType to use (null = guess based on file extension) | |
| width | the desired width of the attachment | |
| height | the desired height of the attachment | |
| configurationName | the name of the configuration settings to use for this processor (see top level docs) | |
| ownerID | an arbitrary string that represents the ID of the "owner" of this thumbnail (Person.primaryKey, for instance) |
| String configurationName | ( | ) |
Returns the name of the configuration settings to use for this upload.
| int height | ( | ) |
| boolean isPendingDelete | ( | ) |
Returns whether or not this attachment should be deleted after import.
| String mimeType | ( | ) |
Returns the mime type (or null if there isn't an explicit one) for this file.
| String ownerID | ( | ) |
Returns the arbitrary string that represents the ID of the "owner" of this attachment (Person.primaryKey, for instance).
| String recommendedFileName | ( | ) |
Returns the cleansed file name recommended by the user during import.
| String recommendedFilePath | ( | ) |
Returns the path recommended by the user during import.
| void setConfigurationName | ( | String | configurationName | ) |
Sets the name of the configuration settings to use for this upload.
| configurationName | 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).
| height | the desired height of this attachment |
| void setMimeType | ( | String | mimeType | ) |
Sets the mime type (or null if there isn't an explicit one) for this file.
| mimeType | the mime type (or null if there isn't an explicit one) for this file |
| void setOwnerID | ( | String | ownerID | ) |
Sets the arbitrary string that represents the ID of the "owner" of this attachment (Person.primaryKey, for instance).
| ownerID | the arbitrary string that represents the ID of the "owner" of this attachment |
| void setPendingDelete | ( | boolean | pendingDelete | ) |
Sets whether or not this attachment should be deleted after import.
| pendingDelete | whether or not this attachment should be deleted after import |
| void setRecommendedFilePath | ( | String | recommendedFilePath | ) |
Sets the path recommended by the user during import.
| recommendedFilePath | the path recommended by the user during import |
| void setUploadedFile | ( | File | uploadedFile | ) |
Sets the uploaded temporary file (which will be deleted at the end).
| uploadedFile | the uploaded temporary file |
| void setWidth | ( | int | width | ) |
Sets the desired width of this attachment (or -1 to not specify).
| width | the desired width of this attachment |
| String toString | ( | ) |
| File uploadedFile | ( | ) |
Returns the uploaded temporary file (which will be deleted at the end).
| int width | ( | ) |
String _configurationName [private] |
int _height [private] |
boolean _pendingDelete [private] |
String _recommendedFilePath [private] |
File _uploadedFile [private] |
int _width [private] |
1.5.8