ISDMPreferences interface

Deprecated. since 3.0, Use com.sap.mobile.lib.configuration.IPreferences Main interface for SDMConfiguration.

Syntax

public interface ISDMPreferences

Derived classes

Members

All members of ISDMPreferences, including inherited members.

Variables
Modifier and Type Variable Description
public static final String BUSINESSTRANSACTION_ENABLED Preference for the indicator to decide if SAP passport should be enabled or not.
public static final String BYPASS_PROXY Preference for the indicator to decide which URLs need the proxy bypassed.
public static final String SAP_APPLICATIONID_HEADER_VALUE Preference for application ID (used in request headers)
public static final String SAPPASSPORT_ENABLED Preference for the indicator to decide if SAP passport should be enabled or not.
public static final String SDM_CACHE_CAPACITY Preference for the maximum number of documents can be stored in cache.
public static final String SDM_CACHE_MAX_SEARCH_RESULTS Preference for the maximum entries that can be returned as a result of a search.
public static final String SDM_CACHE_PARSER_SEARCH_ATTRIBUTE Preference for the name of the XML attribute that should be used to decide if a property is searchable.
public static final String SDM_CACHE_SEARCH_ATTRIBUTE_XMLNS Preference for the XML namespace URI of the XML attribute that should be used to decide if a property is searchable.
public static final String SDM_CONNECTIVITY_CONNTIMEOUT Preference for connection time out.
public static final String SDM_CONNECTIVITY_HANDLER_CLASS_NAME Preference for full name (including package) of the class that should be initialized as connectivity handler.
public static final String SDM_CONNECTIVITY_HTTP_PORT Preference for default HTTP port.
public static final String SDM_CONNECTIVITY_HTTPS_PORT Preference for default HTTPS port.
public static final String SDM_CONNECTIVITY_PROXY_HOST Preference for proxy host if there is a proxy should be used.
public static final String SDM_CONNECTIVITY_PROXY_PORT Preference for proxy post if there is a proxy should be used.
public static final String SDM_CONNECTIVITY_SCONNTIMEOUT Preference for socket connection time out.
public static final String SDM_LOG_LEVEL Preference for the current log severity.
public static final String SDM_PARSER_FOLDER_PATH Preference for the default folder where Parser related information can be persisted Should not point to a folder that can be removed outside of the application.
public static final String SDM_PERSISTENCE_BYTE_BUFFER_SIZE Preference for the size of the buffer that is used during persistence Should be changed only in case of low memory available.
public static final String SDM_PERSISTENCE_CIPHER_TRANSFORMATION Preference for the default cipher transformation algorithm Should be matched with algorithm of the Secure Key generation used for data encryption.
public static final String SDM_PERSISTENCE_FOLDER_PATH Preference for the default folder where data should be persisted.
public static final String SDM_PERSISTENCE_SECUREMODE Preference for indicator if persisted data should be encrypted.
Methods
Modifier and Type Method Description
public boolean containsPreference(String) Checks the existence of the given preference.
public Boolean getBooleanPreference(String) Returns the value of the given preference or null if there is no preference with the given key.
public Float getFloatPreference(String) Returns the value of the given preference or null if there is no preference with the given key.
public Integer getIntPreference(String) Returns the value of the given preference or null if there is no preference with the given key.
public Long getLongPreference(String) Returns the value of the given preference or null if there is no preference with the given key.
public String getStringPreference(String) Returns the value of the given preference or null if there is no preference with the given key.
public void registerPreferenceChangeListener(String, ISDMPreferenceChangeListener) You can register a class implementing the ISDMPreferenceChangeListener interface for the change of a preference with the given key.
public void removePreference(String) Removes the preferences with the given key.
public void resetPreference(String) Resets the preference's value to it's default value or to null if there is no default value for the given preference.
public void setBooleanPreference(String, boolean) Sets and validates and persists the value of the preferences with the given type.
public void setFloatPreference(String, float) Sets and validates and persists the value of the preferences with the given type.
public void setIntPreference(String, int) Sets and validates and persists the value of the preferences with the given type.
public void setLongPreference(String, long) Sets and validates and persists the value of the preferences with the given type.
public void setStringPreference(String, String) Sets and validates and persists the value of the preferences with the given type.
public void unRegisterPreferenceChangeListener(String, ISDMPreferenceChangeListener) You can unregister a change listener.