new BufferedFileHandler(configs)
Example
new App.file.BufferedFileHandler(configs)
Parameters:
Name | Type | Description |
---|---|---|
configs |
Extends
Methods
add(event, data)
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
- *
begin(fileDatas) → {Promise.<boolean>}
Parameters:
Name | Type | Description |
---|---|---|
fileDatas |
Returns:
- Type
- Promise.<boolean>
bufferFileData(target, data)
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
- *
consumeFileData() → {Array}
Returns:
- Type
- Array
doCheckin(data, oid, fmt, fn, newFn) → {*}
- Overrides:
Parameters:
Name | Type | Description |
---|---|---|
data |
||
oid |
||
fmt |
||
fn |
||
newFn |
Returns:
- Type
- *
done(result, fileDatas) → {Object}
Parameters:
Name | Type | Description |
---|---|---|
result |
||
fileDatas |
Returns:
- Type
- Object
error(error)
Parameters:
Name | Type | Description |
---|---|---|
error |
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
- *
perform(fileDatas) → {Promise.<boolean>}
Parameters:
Name | Type | Description |
---|---|---|
fileDatas |
Returns:
- Type
- Promise.<boolean>
promptUser(userInput, uiInput, fileName) → {boolean}
- Overrides:
Parameters:
Name | Type | Description |
---|---|---|
userInput |
||
uiInput |
||
fileName |
Returns:
- Type
- boolean
resolveCheckinStart(checkinObject, resp, serviceMethod) → {*}
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)>