lucee.Component
mura.cfobject
mura.content.file.fileManager
This provides file service level logic functionality
| Constructor Summary | |
|---|---|
|
init(any fileDAO, any configBean, any settingsManager)
|
|
| Method Summary | |
|---|---|
any
|
cleanFileCache([any siteID])
|
any
|
create(any fileObj, any contentid, any siteid, any filename, string contentType, string contentSubType, numeric fileSize, string moduleID, string fileExt, any fileObjSmall, any fileObjMedium, any fileID='[runtime expression]', any fileObjSource='', string credits='', string caption='', string alttext='', string remoteID='', string remoteURL='', string remotePubDate='', [any remoteSource=''], string remoteSourceURL='', string exif='')
|
any
|
createHREFForImage([any siteID], [any fileID=''], [any fileExt=''], any size='undefined', any direct='[runtime expression]', boolean complete='false', [any height=''], [any width=''], [any secure='false'], [any useProtocol='true'])
|
any
|
cropAndScale([any fileID], [any size], [any x], [any y], [any height], [any width], [any siteid])
|
any
|
deleteAll(string contentID)
|
any
|
deleteCustomImageCache([any siteID], [numeric threshold='1'])
Deletes custom cached images from the image cache based on age. |
any
|
deleteIfNotUsed(any fileID, any contentHistID)
|
any
|
deleteVersion(any fileID)
|
any
|
emulateUpload(string filePath, string destinationDir='[runtime expression]')
|
any
|
flip([any fileID], [any transpose='horizontal'])
|
any
|
getCustomImage(any Image, [any Height='AUTO'], [any Width='AUTO'], [any size=''], [any siteID=''])
|
query
|
getImageFilesQuery(string siteID, string fields='fileID, fileEXT')
Retrieves all image file data for a single site. |
any
|
getPostedClientFileName(string fieldName)
|
any
|
isPostedFile([any fileField])
|
struct
|
Process([any file], [any siteID])
|
any
|
purgeDeleted([any siteid=''])
|
any
|
read(any fileID)
|
any
|
readAll(any fileID)
|
any
|
readMedium(any fileID)
|
any
|
readMeta(any fileID)
|
any
|
readSmall(any fileID)
|
any
|
rebuildImageCache([any siteID], [any size=''])
Rebuilds either the entire image cache or a specific image size for a single site. |
any
|
renderFile([string fileID], string method='inline', string size='')
|
any
|
renderMedium([string fileID], string method='inline')
|
any
|
renderMimeType(string mimeType='', any file='')
deprecated in favor of streamFile. |
any
|
renderS3(string fileid, [string method='inline'], [string size=''], [string bucket='[runtime expression]'], [boolean debug='false'])
|
any
|
renderSmall([string fileID], string method='inline')
|
any
|
requestHasRestrictedFiles([any scope='[runtime expression]'], [any allowedExtensions='[runtime expression]'])
|
any
|
restoreVersion([any fileID])
|
any
|
rotate([any fileID], [any degrees='90'])
|
any
|
streamFile([any filePath], [any filename], [any mimetype], string method='inline', any lastModified='[runtime expression]', boolean deleteFile='false')
|
any
|
touchSourceImage([any fileID])
|
any
|
upload([any fileField])
|
| Methods inherited from class lucee.Component |
|---|
| None |
| Constructor Detail |
|---|
fileDAOconfigBeansettingsManager| Method Detail |
|---|
siteIDfileObjcontentidsiteidfilenamecontentTypecontentSubTypefileSizemoduleIDfileExtfileObjSmallfileObjMediumfileIDfileObjSourcecreditscaptionalttextremoteIDremoteURLremotePubDateremoteSourceremoteSourceURLexifsiteIDfileIDfileExtsizedirectcompleteheightwidthsecureuseProtocolfileIDsizexyheightwidthsiteidcontentIDDeletes custom cached images from the image cache based on age.
siteIDthreshold - How old in days the image must be before it is removed.fileIDcontentHistIDfileIDfilePathdestinationDirfileIDtransposeImageHeightWidthsizesiteIDRetrieves all image file data for a single site.
siteIDfieldsfieldName - Name of the Form fieldfileFieldfilesiteIDsiteidfileIDfileIDfileIDfileIDfileIDRebuilds either the entire image cache or a specific image size for a single site.
siteIDsizefileIDmethodsizefileIDmethoddeprecated in favor of streamFile
mimeTypefilefileidmethodsizebucketdebugfileIDmethodscopeallowedExtensionsfileIDfileIDdegreesfilePathfilenamemimetypemethodlastModifieddeleteFilefileIDfileField