BasePersister [class]

Description

An abstraction layer for all persisters. Every persister can write/read data to/from a specific place. The data is saved as key-value pairs where the keys are content types.

Members

Static members

Name Return type Description
getAllData(success, error) Object Gets all the saved data.
getData(contentType, success, error) string Returns the saved data for a specific content type.
purge(contentType, success, error) Clears the persisted data for a specific content type.
purgeAll(success, error) Clears all persisted data in the offline store.
saveData(contentType, data, success, error) Saves data for a specific content type.
Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.