new CheckinFileHandler(provider, configs)
Parameters:
Name | Type | Description |
---|---|---|
provider |
||
configs |
Extends
Methods
add(event, data)
- Overrides:
Parameters:
Name | Type | Description |
---|---|---|
event |
||
data |
addBuffered(fileDatas) → {*}
Parameters:
Name | Type | Description |
---|---|---|
fileDatas |
Returns:
- Type
- *
baseCheckinDone(checkinObject, serviceMethod) → {*}
Parameters:
Name | Type | Description |
---|---|---|
checkinObject |
||
serviceMethod |
Returns:
- Type
- *
baseCheckinStart(checkinObject, serviceMethod) → {*}
Parameters:
Name | Type | Description |
---|---|---|
checkinObject |
||
serviceMethod |
Returns:
- Type
- *
bufferFileData(target, data)
Parameters:
Name | Type | Description |
---|---|---|
target |
||
data |
checkinCancel(checkinObject)
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) → {*}
Parameters:
Name | Type | Description |
---|---|---|
checkinObject |
Returns:
- Type
- *
checkinStart(checkinObject) → {*}
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}
Returns:
- Type
- Array
doCheckin(data, oid, fmt, fn, newFn) → {*}
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}
Parameters:
Name | Type | Description |
---|---|---|
data |
Returns:
- Type
- boolean
oneStepCheckinDone(checkinObject) → {*}
Parameters:
Name | Type | Description |
---|---|---|
checkinObject |
Returns:
- Type
- *
oneStepCheckinStart(checkinObject) → {*}
Parameters:
Name | Type | Description |
---|---|---|
checkinObject |
Returns:
- Type
- *
postprocess(target, data) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
target |
||
data |
Returns:
- Type
- boolean
preprocess(target, data) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
target |
||
data |
Returns:
- Type
- boolean
progress(event, data)
Parameters:
Name | Type | Description |
---|---|---|
event |
||
data |
promptUser(userInput, uiInput, fileName) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
userInput |
||
uiInput |
||
fileName |
Returns:
- Type
- boolean
register(elm)
Parameters:
Name | Type | Description |
---|---|---|
elm |
resolveCheckinStart(checkinObject, resp, serviceMethod) → {*}
Parameters:
Name | Type | Description |
---|---|---|
checkinObject |
||
resp |
||
serviceMethod |
Returns:
- Type
- *
startLoader()
stopLoader()
uploadFile(checkinObject) → {Promise.<(any|never|never)>}
Parameters:
Name | Type | Description |
---|---|---|
checkinObject |
Returns:
- Type
- Promise.<(any|never|never)>
validate(fileData) → {*|boolean}
Parameters:
Name | Type | Description |
---|---|---|
fileData |
Returns:
- Type
- * | boolean
validateFileExtension(target, data) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
target |
||
data |
Returns:
- Type
- boolean
validateFileName(target, data) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
target |
||
data |
Returns:
- Type
- boolean
validateFileSize(target, data) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
target |
||
data |
Returns:
- Type
- boolean
validationError(data, target, args) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
data |
||
target |
||
args |
Returns:
- Type
- boolean