Extends
Methods
saveContentToTempStore(handler)
static
Save file content to temporary file store
Arguments:
-
handler
(TubDocumentHandlerCustom)
moveToArchive(handler) → Boolean
static
Move old file revision to file archive according to store historyDepth and delete file from permanent store.
Arguments:
-
handler
(TubDocumentHandlerCustom)
deleteContent(handler) → boolean
static
Delete file content from permanent file store
Arguments:
-
handler
(TubDocumentHandlerCustom)
loadContentFromTempStore(handler, aWithBody)
static
Load content and (optionally) body from temporary file
Arguments:
-
handler
(TubDocumentHandlerCustom)
-
aWithBody
(TubLoadContentBody)
moveToPermanentStore(handler, aPrevRelPath) → boolean
static
Move file content from temporary file store to permanent file store
Arguments:
-
handler
(TubDocumentHandlerCustom)
-
aPrevRelPath
(String)
 In case exist prev. file revision this variable contain it relative path
fillResponse()
static
Returns null and fill response from file storage
loadBodyFromEntity(handler) → boolean
static
Fill handler.request body from file storage
Arguments:
-
handler
(TubDocumentHandlerCustom)
getRevisionConfig(handler, aRevision, aRelPath) → String
static
Returns config of selected file revision
Arguments:
-
handler
(TubDocumentHandlerCustom)
-
aRevision
(Number)
-
aRelPath
(String)
setRevisionIsPermanent(params)
static
Change isPermanent flag of revision
Arguments:
-
params
(Object)
 parameters object
Properties
tempContentExists(handler) → Boolean
static
Is temp content exists.
Arguments:
-
handler
(TubDocumentHandlerCustom)
handler
(TubDocumentHandlerCustom)
handler
(TubDocumentHandlerCustom)
handler
(TubDocumentHandlerCustom)
handler
(TubDocumentHandlerCustom)
aWithBody
(TubLoadContentBody)
handler
(TubDocumentHandlerCustom)
aPrevRelPath
(String)
 In case exist prev. file revision this variable contain it relative path
handler
(TubDocumentHandlerCustom)
handler
(TubDocumentHandlerCustom)
aRevision
(Number)
aRelPath
(String)
params
(Object)
 parameters object
Properties
handler
(TubDocumentHandlerCustom)