platform-components-ng/projects/platform-components-lib/src/lib/services/docurated.service.ts
Properties |
Methods |
constructor(http: HttpClient, applicationConfigService: ApplicationConfigService, userService: UserService, backgroundService: BackgroundTasksService, errorMessageService: QppErrorMessageService, assetService: AssetService)
|
|||||||||||||||||||||
|
Parameters :
|
| getPushEnabledCollections |
getPushEnabledCollections()
|
|
Get push enabled collections
Returns :
Observable<any>
Observable |
| Async isDocuratedAccessible |
isDocuratedAccessible()
|
|
Check Is Docurated Accessible
Returns :
{}
boolean |
| notifyServiceAvailable |
notifyServiceAvailable()
|
|
Notify if Service is Available
Returns :
void
boolean |
| pushCollectionByPath | ||||||||
pushCollectionByPath(collectionsToBeSynced: string)
|
||||||||
|
Push collections by path
Parameters :
Returns :
Observable<any>
Promise |
| pushDocumentToDocuratedById | ||||||
pushDocumentToDocuratedById(data)
|
||||||
|
Push document to docurated by id
Parameters :
Returns :
Observable<any>
Promise |
| pushToDocuratedAction | ||||||
pushToDocuratedAction(entity)
|
||||||
|
Push To Docurated Action
Parameters :
Returns :
void
|
| Async setCollections |
setCollections()
|
|
Set Push Enabled Collections
Returns :
any
Promise |
| setPushToDocuratedForEntities | ||||||
setPushToDocuratedForEntities(entities)
|
||||||
|
Check Push To Docurated Enabled for entities
Parameters :
Returns :
any
Entity[] |
| setPushToDocuratedForEntity | |||||||||
setPushToDocuratedForEntity(entity, pushEnabledCollections)
|
|||||||||
|
Check Push To Docurated Enabled for entity
Parameters :
Returns :
any
Entity |
| docuratedAccessible |
Type : boolean
|
| pushEnabledCollections$ |
Default value : new BehaviorSubject<any>(null)
|
| serviceAvailableNotified |
Default value : false
|
| serviceUnavailableNotified |
Default value : false
|