DefaultFileManager

App.file. DefaultFileManager

new DefaultFileManager(fileOpenFn)

See:
  • App.file.defaultFileManager

Parameters:
Name Type Description
fileOpenFn function

Methods

checkinFile(e, fileHolderId, versionId, format, fileName, callback)

Parameters:
Name Type Description
e
fileHolderId
versionId
format
fileName
callback

checkinNewFile(e, fileHolderId, callback)

Parameters:
Name Type Description
e
fileHolderId
callback

checkoutFile(e, fileHolderId, versionId, format, fileName, callback) → {boolean}

Parameters:
Name Type Description
e
fileHolderId
versionId
format
fileName
callback
Returns:
Type
boolean

deleteVersion(event, args, fileName, showConfirm, url) → {*}

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

downloadFile(e, fileHolderId, versionId, format, fileName) → {boolean}

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

lock(e, fileHolderId, versionId, fileName, callback)

Parameters:
Name Type Description
e
fileHolderId
versionId
fileName
callback

unlock(e, fileHolderId, versionId, fileName, callback)

Parameters:
Name Type Description
e
fileHolderId
versionId
fileName
callback

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

Parameters:
Name Type Description
e
fileHolderId
versionId
format
fileName
callback
Returns:
Type
boolean

viewFile(e, fileHolderId, versionId, format, fileName) → {boolean}

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