CheckinFileHandler

App.file. CheckinFileHandler

new CheckinFileHandler(provider, configs)

Parameters:
Name Type Description
provider
configs

Extends

Methods

add(event, data)

Overrides:
Parameters:
Name Type Description
event
data

addBuffered(fileDatas) → {*}

Overrides:
Parameters:
Name Type Description
fileDatas
Returns:
Type
*

baseCheckinDone(checkinObject, serviceMethod) → {*}

Overrides:
Parameters:
Name Type Description
checkinObject
serviceMethod
Returns:
Type
*

baseCheckinStart(checkinObject, serviceMethod) → {*}

Overrides:
Parameters:
Name Type Description
checkinObject
serviceMethod
Returns:
Type
*

bufferFileData(target, data)

Overrides:
Parameters:
Name Type Description
target
data

checkinCancel(checkinObject)

Overrides:

Fire and forget this request. It's just for releasing of some server side resources allocated with this drop operation. Catches all errors

Parameters:
Name Type Description
checkinObject

checkinDone(checkinObject) → {*}

Overrides:
Parameters:
Name Type Description
checkinObject
Returns:
Type
*

checkinStart(checkinObject) → {*}

Overrides:
Parameters:
Name Type Description
checkinObject
Returns:
Type
*

choose(target, attributes, data)

Parameters:
Name Type Description
target
attributes
data

configure($elems)

Parameters:
Name Type Description
$elems

consumeFileData() → {Array}

Overrides:
Returns:
Type
Array

doCheckin(data, oid, fmt, fn, newFn) → {*}

Overrides:
Parameters:
Name Type Description
data
oid
fmt
fn
newFn
Returns:
Type
*

error(error)

Overrides:
Parameters:
Name Type Description
error

getOptions($elm) → {Object}

Parameters:
Name Type Description
$elm
Returns:
Type
Object

init()

moreDataExists(data) → {boolean}

Overrides:
Parameters:
Name Type Description
data
Returns:
Type
boolean

oneStepCheckinDone(checkinObject) → {*}

Overrides:
Parameters:
Name Type Description
checkinObject
Returns:
Type
*

oneStepCheckinStart(checkinObject) → {*}

Overrides:
Parameters:
Name Type Description
checkinObject
Returns:
Type
*

postprocess(target, data) → {boolean}

Overrides:
Parameters:
Name Type Description
target
data
Returns:
Type
boolean

preprocess(target, data) → {boolean}

Overrides:
Parameters:
Name Type Description
target
data
Returns:
Type
boolean

progress(event, data)

Overrides:
Parameters:
Name Type Description
event
data

promptUser(userInput, uiInput, fileName) → {boolean}

Overrides:
Parameters:
Name Type Description
userInput
uiInput
fileName
Returns:
Type
boolean

register(elm)

Parameters:
Name Type Description
elm

resolveCheckinStart(checkinObject, resp, serviceMethod) → {*}

Overrides:
Parameters:
Name Type Description
checkinObject
resp
serviceMethod
Returns:
Type
*

startLoader()

Overrides:

stopLoader()

Overrides:

uploadFile(checkinObject) → {Promise.<(any|never|never)>}

Overrides:
Parameters:
Name Type Description
checkinObject
Returns:
Type
Promise.<(any|never|never)>

validate(fileData) → {*|boolean}

Overrides:
Parameters:
Name Type Description
fileData
Returns:
Type
* | boolean

validateFileExtension(target, data) → {boolean}

Overrides:
Parameters:
Name Type Description
target
data
Returns:
Type
boolean

validateFileName(target, data) → {boolean}

Overrides:
Parameters:
Name Type Description
target
data
Returns:
Type
boolean

validateFileSize(target, data) → {boolean}

Overrides:
Parameters:
Name Type Description
target
data
Returns:
Type
boolean

validationError(data, target, args) → {boolean}

Overrides:
Parameters:
Name Type Description
data
target
args
Returns:
Type
boolean