public interface IPreferenceHandler
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
deletePreferences(java.lang.String application)
Delete all key value pairs entries for application
|
java.util.Hashtable<java.lang.String,java.lang.String> |
getPreferences(java.lang.String application)
Returns a map of preferences for a user and his application
|
java.lang.Boolean |
setPreference(java.lang.String application,
java.lang.String key,
java.lang.String value)
Set preference value for user and application
|
java.util.Hashtable<java.lang.String,java.lang.String> getPreferences(java.lang.String application)
throws org.apache.xmlrpc.XmlRpcException
application - as Integerorg.apache.xmlrpc.XmlRpcExceptionjava.lang.Boolean setPreference(java.lang.String application,
java.lang.String key,
java.lang.String value)
throws org.apache.xmlrpc.XmlRpcException
application - Application namekey - Key not nullvalue - if value is not null then add or overwrite value for key else delete keyorg.apache.xmlrpc.XmlRpcExceptionjava.lang.Boolean deletePreferences(java.lang.String application)
throws org.apache.xmlrpc.XmlRpcException
application - Application nameorg.apache.xmlrpc.XmlRpcException