Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | List of all members
DatabaseServiceBusTableInterchanges Class Reference

#include <DatabaseServiceBusTableInterchanges.h>

Inheritance diagram for DatabaseServiceBusTableInterchanges:
Inheritance graph
[legend]
Collaboration diagram for DatabaseServiceBusTableInterchanges:
Collaboration graph
[legend]

Public Member Functions

 DatabaseServiceBusTableInterchanges ()
 
virtual ~DatabaseServiceBusTableInterchanges ()
 
- Public Member Functions inherited from DatabaseService
 DatabaseService ()
 
virtual ~DatabaseService ()
 
ApplicationDefines::DatabaseServiceType GetDatabaseServiceType ()
 

Static Public Member Functions

static
ApplicationDefines::ResultValue 
CreateDBTablesIfNotExist ()
 
static
ApplicationDefines::ResultValue 
AddColumnPlatformNameIfNeeded ()
 
static
ApplicationDefines::ResultValue 
ChangeInterchangeDepartureLineNumberToLineTextIfNeeded ()
 ChangeInterchangeDepartureLineNumberToLineText - method changes column DATABASE_TABLE_INTERCHANGE_DEPARTURE_COLUMN_LINE from int to text. More...
 
static
ApplicationDefines::ResultValue 
GetInterchangeDepartures (const int lineNumber, const int tripNumber, const int busStopID, QList< EM::Devices::EInterchangeInfo > &interchanges)
 
static
ApplicationDefines::ResultValue 
DeleteInterchangeDeparturesByInterchangeBusStopID (const QVariant &interchangeBusStopID)
 
static
ApplicationDefines::ResultValue 
GetInterchangeTrips (const int lineNumber, const int tripNumber, const int busStopID, QList< QPair< QString, int > > &interchangeTrips)
 
- Static Public Member Functions inherited from DatabaseService
static bool Vacuum ()
 Vacuum - rebuilds the entire database file, reclaiming unused space and defragmenting data What Actually Happens: More...
 
static bool BeginTransaction ()
 
static bool CommitTransaction ()
 
static bool RollbackTransaction ()
 
static
ApplicationDefines::ResultValue 
Insert (Model &model, QVariant &id)
 
static
ApplicationDefines::ResultValue 
GetID (const Model &model, QVariant &id)
 
static bool PrepareQuery (QSqlQuery &query, const QString &queryContent)
 
static bool ExecQuery (QSqlQuery &query)
 
static
ApplicationDefines::ResultValue 
PrepareAndExecQuery (QSqlQuery &query, const QString &queryContent, const bool doRollbackTransactionOnError)
 
static
ApplicationDefines::ResultValue 
CheckIfTableContainsColumn (const QString &tableName, const QString &columnName, bool &wantedColumnExists)
 

Constructor & Destructor Documentation

DatabaseServiceBusTableInterchanges::DatabaseServiceBusTableInterchanges ( )
DatabaseServiceBusTableInterchanges::~DatabaseServiceBusTableInterchanges ( )
virtual

Member Function Documentation

ApplicationDefines::ResultValue DatabaseServiceBusTableInterchanges::AddColumnPlatformNameIfNeeded ( )
static

Here is the call graph for this function:

Here is the caller graph for this function:

ApplicationDefines::ResultValue DatabaseServiceBusTableInterchanges::ChangeInterchangeDepartureLineNumberToLineTextIfNeeded ( )
static

ChangeInterchangeDepartureLineNumberToLineText - method changes column DATABASE_TABLE_INTERCHANGE_DEPARTURE_COLUMN_LINE from int to text.

Returns
ResultValue::Ok on succes, other ApplicationDefines::ResultValue on failure

Here is the call graph for this function:

Here is the caller graph for this function:

ApplicationDefines::ResultValue DatabaseServiceBusTableInterchanges::CreateDBTablesIfNotExist ( )
static

Here is the call graph for this function:

Here is the caller graph for this function:

ApplicationDefines::ResultValue DatabaseServiceBusTableInterchanges::DeleteInterchangeDeparturesByInterchangeBusStopID ( const QVariant &  interchangeBusStopID)
static

Here is the call graph for this function:

Here is the caller graph for this function:

ApplicationDefines::ResultValue DatabaseServiceBusTableInterchanges::GetInterchangeDepartures ( const int  lineNumber,
const int  tripNumber,
const int  busStopID,
QList< EM::Devices::EInterchangeInfo > &  interchanges 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

ApplicationDefines::ResultValue DatabaseServiceBusTableInterchanges::GetInterchangeTrips ( const int  lineNumber,
const int  tripNumber,
const int  busStopID,
QList< QPair< QString, int > > &  interchangeTrips 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files: