|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectblueme.messenger.kernel.DB
public class DB
Field Summary |
---|
Fields inherited from interface blueme.messenger.common.iConstants |
---|
ADMIN_UID, APP_TITLE, BLUETOOTH_INDEX, BLUETOOTH_LENGTH, BLUETOOTH_POSTFIX, BLUETOOTH_PREFIX, COM_OBJECTS, DISCOVERY_SLEEP, GPRS_INDEX, MAX_REDIRECTS, MSG_MAX_COUNT, MSG_MAX_LENGTH, NICK_MAX_LENGTH, PID_LENGTH, SMS_PUSH_PORT, UID_LENGTH |
Constructor Summary | |
---|---|
DB()
Creates a new instance of DB |
Method Summary | |
---|---|
boolean |
addMessages(iMSG message,
java.lang.String uid)
Adds one message to specified UID. |
void |
close()
Used to notify the DB object that it is no longer of any use. |
boolean |
deleteProfile(java.lang.String uid)
Deletes the profile saved on specified UID. |
iConfig |
getConfig()
Get stored configuration, or "null" if there is no configuration saved. |
iMSG[] |
getMessages(java.lang.String uid)
Get all messages stored on specified UID. |
blueme.messenger.common.iProfile |
getProfile(java.lang.String uid)
Get profile for specified UID. |
iUserData |
getUserData()
Get stored iUserData objects, or "null" if there are no stored iUserData objects. |
iUserList[] |
getUserList()
Get the saved buddy list as an array of iUserList objects. |
boolean |
setConfig(iConfig config)
Save specified configuration, and replace this with any possible existing configuration. |
boolean |
setMessages(iMSG[] messages,
java.lang.String uid)
Set specified messages on specified UID. |
boolean |
setProfile(blueme.messenger.common.iProfile profile,
java.lang.String uid)
Save specified profile on specified UID. |
boolean |
setUserData(iUserData userData)
Saved specifed iUserData object, and delete possible existing iUserData object. |
boolean |
setUserList(iUserList[] userList)
Save specified iUserList objects, and delete prossible existing array of iUserList objects. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DB()
Method Detail |
---|
public boolean addMessages(iMSG message, java.lang.String uid)
iDB
addMessages
in interface iDB
public void close()
iDB
close
in interface iDB
public iConfig getConfig()
iDB
getConfig
in interface iDB
public iMSG[] getMessages(java.lang.String uid)
iDB
getMessages
in interface iDB
public blueme.messenger.common.iProfile getProfile(java.lang.String uid)
iDB
getProfile
in interface iDB
public iUserData getUserData()
iDB
getUserData
in interface iDB
public iUserList[] getUserList()
iDB
getUserList
in interface iDB
public boolean setConfig(iConfig config)
iDB
setConfig
in interface iDB
public boolean setMessages(iMSG[] messages, java.lang.String uid)
iDB
setMessages
in interface iDB
public boolean setProfile(blueme.messenger.common.iProfile profile, java.lang.String uid)
iDB
setProfile
in interface iDB
public boolean deleteProfile(java.lang.String uid)
iDB
deleteProfile
in interface iDB
public boolean setUserData(iUserData userData)
iDB
setUserData
in interface iDB
public boolean setUserList(iUserList[] userList)
iDB
setUserList
in interface iDB
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |