App.file

Defines the File API. The methods here will either use the native file manager OR the default HTML based file manager depending on what's available.

Classes

BufferedFileHandler
CheckinFileHandler
CheckinObject
DefaultFileManager
DefaultHandler
DropZoneConfig
FileHandler
ValidatorFileHandler

Members

(static) App.file.htmlFileManager :module:"App.file".DefaultFileManager

Singleton instance

Type:

Methods

checkin(event, fileHolderId, versionId, format, fileName)

Parameters:
Name Type Description
event
fileHolderId
versionId
format
fileName

checkinNew(event, fileHolderId, widgetId)

Parameters:
Name Type Description
event
fileHolderId
widgetId

deleteVersion(event, args, fileName, showConfirm, url)

Parameters:
Name Type Default Description
event
args
fileName
showConfirm true
url deleteVersion

download(event, fileHolderId, format, fileName, versionId) → {*}

Parameters:
Name Type Description
event
fileHolderId
format
fileName
versionId
Returns:
Type
*

initDataTableFilesColumn(column)

Parameters:
Name Type Description
column

lockOrUnlock(event, versionId, fileName, lock)

Parameters:
Name Type Description
event
versionId
fileName
lock

(static) App.file.dropZoneCommand(data)

Parameters:
Name Type Description
data

(static) App.file.initDataTableDropZone(column)

Parameters:
Name Type Description
column

(static) App.file.uploadFileCommand(data)

Parameters:
Name Type Description
data

(static) defaultCallback(callbackObject)

Default callback implementation. Will simply display notifications

Parameters:
Name Type Description
callbackObject

upload(event, fileHolderId, versionId, format, fileName) → {boolean}

Parameters:
Name Type Description
event
fileHolderId
versionId
format
fileName
Returns:
Type
boolean

view(event, fileHolderId, format, fileName, versionId) → {*}

Parameters:
Name Type Description
event
fileHolderId
format
fileName
versionId
Returns:
Type
*