Method | Description | |
---|---|---|
UsageDao ( ) : System | ||
UsageDao ( string connectionString ) : System | ||
deleteSession ( string sessionId ) : gov.va.medora.mdws.dto.BoolTO |
Delete a session by it's ID and all the corresponding saved requests
|
|
getSessions ( System.DateTime start, System.DateTime end ) : ApplicationSessionsTO |
Get all the MDWS sessions and the related requests for a given date range
|
|
saveSession ( ApplicationSession session ) : gov.va.medora.mdws.dto.BoolTO |
Save a ApplicationSession object and it's requests
|
Method | Description | |
---|---|---|
addApplicationRequest ( |
||
buildDeleteSessionAdapter ( string sessionId, |
||
buildInsertRequestAdapter ( ApplicationRequest request, |
This is going to be commented out because it becomes unusably slow after a few hundred thousand unique sessions are created. Use the getSessions(int howMany) function instead to retrieve the latest howMany number of sessions
|
|
buildInsertSessionAdapter ( ApplicationSession session, |
||
buildSelectSessionRequestsAdapter ( |
||
buildSelectSessionsAdapter ( System.DateTime start, System.DateTime end, |
Build SQL adapter for selecting all MDWS sessions saved to database that where started between a given date range
|
|
getApplicationSessions ( |
||
getConnection ( ) : |
public UsageDao ( string connectionString ) : System | ||
connectionString | string | |
return | System |
public deleteSession ( string sessionId ) : gov.va.medora.mdws.dto.BoolTO | ||
sessionId | string | The session ID to be deleted |
return | gov.va.medora.mdws.dto.BoolTO |
public getSessions ( System.DateTime start, System.DateTime end ) : ApplicationSessionsTO | ||
start | System.DateTime | The start date |
end | System.DateTime | The end date |
return | ApplicationSessionsTO |
public saveSession ( ApplicationSession session ) : gov.va.medora.mdws.dto.BoolTO | ||
session | ApplicationSession | The session object to save |
return | gov.va.medora.mdws.dto.BoolTO |