mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
* * Use local storage for community version. * * Created a communityModule. * * Updated unit tests the recent changes * * Updated documents. * * Modified process/task filters doc.
2.7 KiB
2.7 KiB
Title, Added, Status, Last reviewed
| Title | Added | Status | Last reviewed |
|---|---|---|---|
| Local Preference Cloud Service | v3.4.0 | Experimental | 2019-08-06 |
Local Preference Cloud Service
Manages Local Storage preferences.
Class members
Methods
-
createPreference(appName:
string, key:string, newPreference:any):Observable<any>
Creates local preference.- appName:
string- Name of the target app - key:
string- Key of the target preference - newPreference:
any- - Returns
Observable<any>- Observable of created local preferences
- appName:
-
deletePreference(key:
string, preferences:any):Observable<any>
Deletes local preference by given preference key.- key:
string- Key of the target preference - preferences:
any- Details of updated preferences - Returns
Observable<any>- Observable of preferences without deleted preference
- key:
-
getPreferenceByKey(appName:
string, key:string):Observable<any>
Gets local preference.- appName:
string- Name of the target app - key:
string- Key of the target preference - Returns
Observable<any>- Observable of local preference
- appName:
-
getPreferences(appName:
string, key:string):Observable<any>
Gets local preferences- appName:
string- Name of the target app - key:
string- (Optional) (Optional) (Optional) (Optional) - Returns
Observable<any>- List of local preferences
- appName:
-
prepareLocalPreferenceResponse(key:
string):any- key:
string- - Returns
any-
- key:
-
updatePreference(appName:
string, key:string, updatedPreference:any):Observable<any>
Updates local preference.- appName:
string- Name of the target app - key:
string- Key of the target preference - updatedPreference:
any- Details of updated preference - Returns
Observable<any>- Observable of updated local preferences
- appName: