Files
alfresco-ng2-components/docs/process-services-cloud/services/local-preference-cloud.service.md
Eugenio Romano 3dc92beeb9 Review documentation plus some tools fix (#5100)
* review 3.5.0 doc

* fix documentation

* fix documentation

* fix documentation
2019-09-26 10:27:04 +01:00

2.3 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(key: string, newPreference: any): Observable<any>
    Creates local preference.
    • key: string - Key of the target preference
    • newPreference: any - Details of new local preference
    • Returns Observable<any> - Observable of created local preferences
  • 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
  • getPreferenceByKey(key: string): Observable<any>
    Gets local preference.
    • key: string - Key of the target preference
    • Returns Observable<any> - Observable of local preference
  • getPreferences(key: string): Observable<any>
    Gets local preferences
    • key: string - (Optional)
    • Returns Observable<any> - List of local preferences
  • updatePreference(key: string, updatedPreference: any): Observable<any>
    Updates local preference.
    • key: string - Key of the target preference
    • updatedPreference: any - Details of updated preference
    • Returns Observable<any> - Observable of updated local preferences

See also