DCL 4.0
|
#include <EShopSession.h>
Public Member Functions | |
EShopSession (HttpServletContextEx &ctx, SQLConnection *pSQLConn) __DCL_THROWS1(SQLException *) | |
bool | login (ListedStringToStringArrayMap ¶ms) |
void | logout () |
void | onViewSessions (ListedStringToStringArrayMap ¶ms, Writer &out, const String &strMainCommand, int nMainCommandID, const String &strCommandID, const EShopServlet &_servlet) |
const String & | sessionID () const |
int | userID () const |
int | groupID () const |
const String & | userName () const |
bool | isAdmin () const |
bool | isGuest () const |
int | command () const |
void | setCommand (int nCM) |
SQLConnection * | SQLConn () const |
Protected Attributes | |
String | m_strSessionID |
int | m_nCommand |
int | m_nUserID |
int | m_nGroupID |
String | m_strUserName |
SQLConnection * | m_pSQLConn |
Definition at line 8 of file EShopSession.h.
__DCL_BEGIN_NAMESPACE EShopSession::EShopSession | ( | HttpServletContextEx & | ctx, |
SQLConnection * | pSQLConn ) |
Definition at line 22 of file EShopSession.cpp.
|
inline |
Definition at line 34 of file EShopSession.h.
|
inline |
Definition at line 30 of file EShopSession.h.
|
inline |
Definition at line 32 of file EShopSession.h.
|
inline |
Definition at line 33 of file EShopSession.h.
bool EShopSession::login | ( | ListedStringToStringArrayMap & | params | ) |
Definition at line 118 of file EShopSession.cpp.
void EShopSession::logout | ( | ) |
Definition at line 180 of file EShopSession.cpp.
void EShopSession::onViewSessions | ( | ListedStringToStringArrayMap & | params, |
Writer & | out, | ||
const String & | strMainCommand, | ||
int | nMainCommandID, | ||
const String & | strCommandID, | ||
const EShopServlet & | _servlet ) |
Definition at line 208 of file EShopSession.cpp.
|
inline |
Definition at line 28 of file EShopSession.h.
|
inline |
Definition at line 35 of file EShopSession.h.
|
inline |
Definition at line 37 of file EShopSession.h.
|
inline |
Definition at line 29 of file EShopSession.h.
|
inline |
Definition at line 31 of file EShopSession.h.
|
protected |
Definition at line 41 of file EShopSession.h.
|
protected |
Definition at line 43 of file EShopSession.h.
|
protected |
Definition at line 42 of file EShopSession.h.
|
protected |
Definition at line 46 of file EShopSession.h.
|
protected |
Definition at line 40 of file EShopSession.h.
|
protected |
Definition at line 44 of file EShopSession.h.