ISDMPersistence interface

Deprecated. since 3.0 SDMPersistency is a low-level library responsible for data persistence.

Package

com.sap.mobile.lib.sdmpersistence

Syntax

public abstract interface ISDMPersistence

Derived classes

Members

All members of ISDMPersistence, including inherited members.

Methods
Modifier and Type Method Description
public abstract void clear() Deletes all data persisted by SDMPersistency.
public abstract boolean isDataPersisted(String) Returns if the data with the given key is persisted.
public abstract InputStream loadDataStream(String) Loads data stream stored in the file system.
public abstract< TextendsISDMPersistable > boolean loadObject(String, T) Loads an object stored in the file system.
public abstract byte[] loadRawData(String) Loads raw data stored in the file system.
public abstract boolean loadSDMCache(ISDMCache) Loads SDMCache from the file system.
public abstract boolean loadSDMCache(String, ISDMCache) Loads SDMCache with the specified key extension from the file system.
public abstract boolean removeData(String)  
public abstract boolean removeSDMCache() Removes the SDMCache from the file system.
public abstract boolean removeSDMCache(String) Removes the SDMCache with the specified key extension from the file system.
public void setEncryptionKey(byte[], String) Set the encryption key in a byte[] format.
public abstract void storeDataStream(String, InputStream) Stores a data stream, in the file system.
public abstract void storeObject(String, ISDMPersistable) Stores an ISDMPersistable object in the file system.
public abstract void storeRawData(String, byte[]) Stores a raw data in the file system.
public abstract void storeSDMCache(ISDMCache) Stores SDMCache in the file system.
public abstract void storeSDMCache(String, ISDMCache) Stores the SDMCache with the specified key extension in the file system.