#include <DialByNameDB.h>
Public Member Functions | |
| OsStatus | store () |
| int | getRowCount () const |
| Count rows in table. | |
| void | getAllRows (ResultSet &rResultSet) const |
| void | getContacts (const UtlString &digitstring, ResultSet &rResultset) const |
| bool | isLoaded () |
Static Public Member Functions | |
| static DialByNameDB * | getInstance (const UtlString &name="dialbyname") |
| Singleton Accessor. | |
| static void | releaseInstance () |
| releaseInstance - cleans up the singleton (for use at exit) | |
Protected Member Functions | |
| UtlBoolean | insertRow (const Url &contact) const |
| UtlBoolean | removeRow (const Url &contact) |
| void | removeAllRows () const |
| UtlBoolean | getDigitStrings (const UtlString &displayName, UtlSList &dtmfStrings) const |
| OsStatus | load () const |
| DialByNameDB (const UtlString &name) | |
| UtlBoolean | insertRow (const UtlHashMap &nvPairs) const |
Protected Attributes | |
| dbDatabase * | m_pFastDB |
| UtlString | mDatabaseName |
| bool | mTableLoaded |
Static Protected Attributes | |
| static DialByNameDB * | spInstance = NULL |
| static OsMutex | sLockMutex |
| static UtlString | gNp_identityKey |
| static UtlString | gNp_contactKey |
| static UtlString | gNp_digitsKey |
Private Member Functions | |
| virtual | ~DialByNameDB () |
| Virtual Destructor. | |
| DialByNameDB | ( | const UtlString & | name | ) | [protected] |
| ~DialByNameDB | ( | ) | [private, virtual] |
Virtual Destructor.
| DialByNameDB * getInstance | ( | const UtlString & | name = "dialbyname" |
) | [static] |
Singleton Accessor.
| void releaseInstance | ( | ) | [static] |
releaseInstance - cleans up the singleton (for use at exit)
| OsStatus store | ( | ) |
| int getRowCount | ( | ) | const |
Count rows in table.
| void getAllRows | ( | ResultSet & | rResultSet | ) | const |
| bool isLoaded | ( | ) |
| UtlBoolean insertRow | ( | const Url & | contact | ) | const [protected] |
| UtlBoolean removeRow | ( | const Url & | contact | ) | [protected] |
| void removeAllRows | ( | ) | const [protected] |
| UtlBoolean getDigitStrings | ( | const UtlString & | displayName, | |
| UtlSList & | dtmfStrings | |||
| ) | const [protected] |
| OsStatus load | ( | ) | const [protected] |
| UtlBoolean insertRow | ( | const UtlHashMap & | nvPairs | ) | const [protected] |
DialByNameDB * spInstance = NULL [static, protected] |
OsMutex sLockMutex [static, protected] |
UtlString gNp_identityKey [static, protected] |
UtlString gNp_contactKey [static, protected] |
UtlString gNp_digitsKey [static, protected] |
dbDatabase* m_pFastDB [protected] |
UtlString mDatabaseName [protected] |
bool mTableLoaded [protected] |