|
Mura CMS 6.1 | ||||
FRAMES |
railo-context.Componentmura.cfobject
mura.content.file.fileManager
public class fileManager
Constructor Summary | |
---|---|
init(any fileDAO, any configBean, any settingsManager)
|
Method Summary | |
---|---|
any |
cleanFileCache([any siteID])
|
string |
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='')
|
any |
createHREFForImage([any siteID], [any fileID], [any fileExt], any size='undefined', any direct='[runtime expression]', boolean complete='false', [any height=''], [any width=''])
|
any |
cropAndScale([any fileID], [any size], [any x], [any y], [any height], [any width], [any siteid])
|
void |
deleteAll(string contentID)
|
void |
deleteIfNotUsed(any fileID, any contentHistID)
|
void |
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=''])
|
any |
isPostedFile([any fileField])
|
struct |
Process([any file], [any siteID])
|
any |
purgeDeleted([any siteid=''])
|
query |
read(any fileID)
|
query |
readAll(any fileID)
|
query |
readMedium(any fileID)
|
query |
readMeta(any fileID)
|
query |
readSmall(any fileID)
|
any |
rebuildImageCache([any siteID])
|
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 |
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 mura.cfobject |
---|
commitTracePoint, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getPlugin, getPluginManager, getServiceFactory, getValue, initTracePoint, injectMethod, invokeMethod, removeValue, setValue, valueExists
|
Methods inherited from class railo-context.Component |
---|
|
Constructor Detail |
---|
public init(any fileDAO, any configBean, any settingsManager)
fileDAO
configBean
settingsManager
Method Detail |
---|
public any cleanFileCache([any siteID])
siteID
public string 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='')
fileObj
contentid
siteid
filename
contentType
contentSubType
fileSize
moduleID
fileExt
fileObjSmall
fileObjMedium
fileID
fileObjSource
credits
caption
alttext
remoteID
remoteURL
remotePubDate
remoteSource
remoteSourceURL
public any createHREFForImage([any siteID], [any fileID], [any fileExt], any size='undefined', any direct='[runtime expression]', boolean complete='false', [any height=''], [any width=''])
siteID
fileID
fileExt
size
direct
complete
height
width
public any cropAndScale([any fileID], [any size], [any x], [any y], [any height], [any width], [any siteid])
fileID
size
x
y
height
width
siteid
public void deleteAll(string contentID)
contentID
public void deleteIfNotUsed(any fileID, any contentHistID)
fileID
contentHistID
public void deleteVersion(any fileID)
fileID
public any emulateUpload(string filePath, string destinationDir='[runtime expression]')
filePath
destinationDir
public any flip([any fileID], [any transpose='horizontal'])
fileID
transpose
public any getCustomImage(any Image, [any Height='AUTO'], [any Width='AUTO'], [any size=''], [any siteID=''])
Image
Height
Width
size
siteID
public any isPostedFile([any fileField])
fileField
public struct Process([any file], [any siteID])
file
siteID
public any purgeDeleted([any siteid=''])
siteid
public query read(any fileID)
fileID
public query readAll(any fileID)
fileID
public query readMedium(any fileID)
fileID
public query readMeta(any fileID)
fileID
public query readSmall(any fileID)
fileID
public any rebuildImageCache([any siteID])
siteID
public any renderFile([string fileID], string method='inline', string size='')
fileID
method
size
public any renderMedium([string fileID], string method='inline')
fileID
method
public any renderMimeType(string mimeType='', any file='')
mimeType
file
public any renderS3(string fileid, [string method='inline'], [string size=''], [string bucket='[runtime expression]'], [boolean debug='false'])
fileid
method
size
bucket
debug
public any renderSmall([string fileID], string method='inline')
fileID
method
public any restoreVersion([any fileID])
fileID
public any rotate([any fileID], [any degrees='90'])
fileID
degrees
public any streamFile([any filePath], [any filename], [any mimetype], string method='inline', any lastModified='[runtime expression]', boolean deleteFile='false')
filePath
filename
mimetype
method
lastModified
deleteFile
public any touchSourceImage([any fileID])
fileID
public any upload([any fileField])
fileField
|
Mura CMS 6.1 | ||||
FRAMES |