#include <UserForwardDB.h>
Public Member Functions | |
| OsStatus | store () |
| int | getRowCount () const |
| Count rows in table. | |
| UtlBoolean | insertRow (const UtlHashMap &nvPairs) |
| UtlBoolean | insertRow (const Url &identity, const UtlString &cfwdTime) |
| UtlBoolean | removeRow (const Url &identity) |
| void | removeAllRows () |
| void | getAllRows (ResultSet &rResultSet) const |
| UtlBoolean | getCfwdTime (const Url &identity, UtlString &cfwdtime) const |
| bool | isLoaded () |
Static Public Member Functions | |
| static UserForwardDB * | getInstance (const UtlString &name="userforward") |
| Singleton Accessor. | |
| static void | releaseInstance () |
| releaseInstance - cleans up the singleton (for use at exit) | |
Static Public Attributes | |
| static const UtlString | sType |
| static const UtlString | sXmlNamespace |
Protected Member Functions | |
| OsStatus | load () |
| UserForwardDB (const UtlString &name) | |
Protected Attributes | |
| dbDatabase * | m_pFastDB |
| UtlString | mDatabaseName |
| bool | mTableLoaded |
Static Protected Attributes | |
| static UserForwardDB * | spInstance = NULL |
| static OsMutex | sLockMutex |
| static UtlString | gIdentityKey |
| static UtlString | gCfwdtimeKey |
Private Member Functions | |
| virtual | ~UserForwardDB () |
| Virtual Destructor. | |
| UserForwardDB | ( | const UtlString & | name | ) | [protected] |
| ~UserForwardDB | ( | ) | [private, virtual] |
Virtual Destructor.
| UserForwardDB * getInstance | ( | const UtlString & | name = "userforward" |
) | [static] |
Singleton Accessor.
| void releaseInstance | ( | ) | [static] |
releaseInstance - cleans up the singleton (for use at exit)
| OsStatus store | ( | ) |
| int getRowCount | ( | ) | const |
Count rows in table.
| UtlBoolean insertRow | ( | const UtlHashMap & | nvPairs | ) |
| UtlBoolean insertRow | ( | const Url & | identity, | |
| const UtlString & | cfwdTime | |||
| ) |
| UtlBoolean removeRow | ( | const Url & | identity | ) |
| void removeAllRows | ( | ) |
| void getAllRows | ( | ResultSet & | rResultSet | ) | const |
| UtlBoolean getCfwdTime | ( | const Url & | identity, | |
| UtlString & | cfwdtime | |||
| ) | const |
| bool isLoaded | ( | ) |
| OsStatus load | ( | ) | [protected] |
const UtlString sXmlNamespace [static] |
UserForwardDB * spInstance = NULL [static, protected] |
OsMutex sLockMutex [static, protected] |
UtlString gIdentityKey [static, protected] |
UtlString gCfwdtimeKey [static, protected] |
dbDatabase* m_pFastDB [protected] |
UtlString mDatabaseName [protected] |
bool mTableLoaded [protected] |