class AttachmentHelper extends java.lang.Object
| Constructor and description |
|---|
AttachmentHelper
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static FileStorageEngine |
getStorageEngine(grails.core.GrailsApplication application)Get attachment file storage engine |
|
static void |
setDirectAccessKey(java.lang.String fileName, StorageFieldValue storageFieldValue)Set DirectAccess Key of a to be uploaded file |
|
static void |
setDirectAccessKey(FileOperationMeta fileMeta, StorageFieldValue storageFieldValue)Set DirectAccess Key of a to be uploaded file |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#getClass(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#hashCode(), java.lang.Object#equals(java.lang.Object), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#notify() |
Get attachment file storage engine
application - applicationSet DirectAccess Key of a to be uploaded file
fileName - file name of the filestorageFieldValue - the storage field value of the fileSet DirectAccess Key of a to be uploaded file
fileMeta - the file meta of the filestorageFieldValue - the storage field value of the file