The Telerik Platform product is retired.Learn more

BasePersister [class]


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.


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.
Contact us: +1-888-365-2779
Copyright © 2016-2018, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.