Mura CMS 6.1

mura.content.file
Class fileDAO

railo-context.Component
        extended by mura.cfobject
            extended by mura.content.file.fileDAO

public class fileDAO
extends cfobject

Constructor Summary
init(any configBean, any settingsManager, any pluginManager, any fileWriter='')
 
Method Summary
 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='')
 void deleteAll(string contentID)
 void deleteCachedFile(string fileID)
 void deleteIfNotUsed(any fileID, any baseID)
 void deleteVersion(any fileID)
 any getS3()
 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 restoreVersion([any fileID])
 
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

init

public init(any configBean, any settingsManager, any pluginManager, any fileWriter='')

Parameters:
configBean
settingsManager
pluginManager
fileWriter
Method Detail

create

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='')

Parameters:
fileObj
contentid
siteid
filename
contentType
contentSubType
fileSize
moduleID
fileExt
fileObjSmall
fileObjMedium
fileID
fileObjSource
credits
caption
alttext
remoteid
remoteURL
remotePubDate
remoteSource
remoteSourceURL

deleteAll

public void deleteAll(string contentID)

Parameters:
contentID

deleteCachedFile

public void deleteCachedFile(string fileID)

Parameters:
fileID

deleteIfNotUsed

public void deleteIfNotUsed(any fileID, any baseID)

Parameters:
fileID
baseID

deleteVersion

public void deleteVersion(any fileID)

Parameters:
fileID

getS3

public any getS3()


purgeDeleted

public any purgeDeleted([any siteid=''])

Parameters:
siteid

read

public query read(any fileID)

Parameters:
fileID

readAll

public query readAll(any fileID)

Parameters:
fileID

readMedium

public query readMedium(any fileID)

Parameters:
fileID

readMeta

public query readMeta(any fileID)

Parameters:
fileID

readSmall

public query readSmall(any fileID)

Parameters:
fileID

restoreVersion

public any restoreVersion([any fileID])

Parameters:
fileID

Mura CMS 6.1