Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Transaction Class Reference

#include <Transaction.h>

Inheritance diagram for Transaction

Inheritance graph

[legend]
Collaboration diagram for Transaction:

Collaboration graph

[legend]
List of all members.

Public Methods

 Transaction (DOM_Document docTemplate)
virtual ~Transaction ()
void run (DBPage* pPage)
 Description. More...

void compile ()
 Description. More...


Private Types

typedef std::vector<dbMeta*> vectordbMeta
 myfield. More...


Private Methods

void buildDocument (DBPage* pPage)
 Description. More...

void aSeek (DBPage* pPage, Record* pRecord, DOM_Element master, char op)
 Description. More...

void aSelect (DBPage* pPage, Record* pRecord)
 Description. More...

void aInsert (DBPage* pPage, Record* pRecord, DOM_Element master)
 Description. More...

void aNew (DBPage* pPage, Record* pRecord, DOM_Element master)
 Description. More...

void aUpdate (DBPage* pPage, Record* pRecord, DOM_Element master)
 Description. More...

void aDelete (DBPage* pPage, Record* pRecord, DOM_Element master)
 Description. More...

bool validateFields (DBPage* pPage, Record* pRecord, DOM_Element master)
 Description. More...

bool simultaneous (Record* pRecord)
 Description. More...

void doInsert (DBPage* pPage, Record* pRecord)
 Description. More...

void doDelete (DBPage* pPage, Record* pRecord)
 Description. More...

void doUpdate (DBPage* pPage, Record* pRecord)
 Description. More...

ResultSetdoSelect (DBPage* pPage, ResultSet* parent, Record* pRecord)
 Description. More...

void buildXML (DBPage* pPage, ResultSet* rs, ResultSet* pParent, Record* pRecord)
 Description. More...

void buildRecord (DBPage* pPage, Record* pRecord)
 Description. More...

void copyRecord (DBPage* pPage, ResultSet* pRS, Record* pRecord)
 Description. More...


Private Attributes

vectordbMeta m_Section

Member Typedef Documentation

typedef std::vector<dbMeta*> Transaction::vectordbMeta [private]
 

myfield.

Definition at line 26 of file Transaction.h.


Constructor & Destructor Documentation

Transaction::Transaction ( DOM_Document docTemplate )
 

Definition at line 34 of file Transaction.cpp.

Transaction::~Transaction ( ) [virtual]
 

Definition at line 40 of file Transaction.cpp.


Member Function Documentation

void Transaction::aDelete ( DBPage * pPage,
Record * pRecord,
DOM_Element master ) [private]
 

Description.

Parameters:
DBPage  
dbmeta  
master  

Definition at line 256 of file Transaction.cpp.

Referenced by buildDocument().

void Transaction::aInsert ( DBPage * pPage,
Record * pRecord,
DOM_Element master ) [private]
 

Description.

Parameters:
DBPage  
meta  
master  

Definition at line 201 of file Transaction.cpp.

Referenced by buildDocument().

void Transaction::aNew ( DBPage * pPage,
Record * pRecord,
DOM_Element master ) [private]
 

Description.

Parameters:
DBPage  
dbmeta  
master  

Definition at line 218 of file Transaction.cpp.

Referenced by buildDocument().

void Transaction::aSeek ( DBPage * pPage,
Record * pRecord,
DOM_Element master,
char op ) [private]
 

Description.

Parameters:
DBPage  
dbmeta  
master  
op  

Definition at line 160 of file Transaction.cpp.

Referenced by buildDocument().

void Transaction::aSelect ( DBPage * pPage,
Record * pRecord ) [private]
 

Description.

Definition at line 178 of file Transaction.cpp.

Referenced by buildDocument().

void Transaction::aUpdate ( DBPage * pPage,
Record * pRecord,
DOM_Element master ) [private]
 

Description.

Parameters:
DBPage  
dbmeta  
master  

Definition at line 233 of file Transaction.cpp.

Referenced by buildDocument().

void Transaction::buildDocument ( DBPage * pPage ) [private]
 

Description.

Parameters:
DBPage  

Definition at line 86 of file Transaction.cpp.

Referenced by run().

void Transaction::buildRecord ( DBPage * pPage,
Record * pRecord ) [private]
 

Description.

Parameters:
DBPage  
meta  

Definition at line 526 of file Transaction.cpp.

Referenced by buildXML().

void Transaction::buildXML ( DBPage * pPage,
ResultSet * rs,
ResultSet * pParent,
Record * pRecord ) [private]
 

Description.

Parameters:
DBPage  
rs  
parent  
meta  

Definition at line 479 of file Transaction.cpp.

Referenced by aDelete(), aInsert(), aNew(), aSelect(), and aUpdate().

void Transaction::compile ( ) [virtual]
 

Description.

Parameters:
request  

Reimplemented from Template.

Definition at line 63 of file Transaction.cpp.

void Transaction::copyRecord ( DBPage * pPage,
ResultSet * pRS,
Record * pRecord ) [private]
 

Description.

Parameters:
DBPage  
rs  
meta  

Definition at line 583 of file Transaction.cpp.

Referenced by aDelete(), aUpdate(), and buildXML().

void Transaction::doDelete ( DBPage * pPage,
Record * pRecord ) [private]
 

Description.

Parameters:
DBPage  
dbmeta  

Definition at line 374 of file Transaction.cpp.

Referenced by aDelete().

void Transaction::doInsert ( DBPage * pPage,
Record * pRecord ) [private]
 

Description.

Parameters:
DBPage  
dbmeta  

Definition at line 342 of file Transaction.cpp.

Referenced by aInsert().

ResultSet * Transaction::doSelect ( DBPage * pPage,
ResultSet * parent,
Record * pRecord ) [private]
 

Description.

Parameters:
DBPage  
parent  
dbmeta  

Definition at line 423 of file Transaction.cpp.

Referenced by aDelete(), aSelect(), aUpdate(), buildXML(), and copyRecord().

void Transaction::doUpdate ( DBPage * pPage,
Record * pRecord ) [private]
 

Description.

Parameters:
DBPage  
dbmeta  

Definition at line 396 of file Transaction.cpp.

Referenced by aUpdate().

void Transaction::run ( DBPage * pPage ) [virtual]
 

Description.

Parameters:
DBPage  

Reimplemented from Template.

Definition at line 51 of file Transaction.cpp.

bool Transaction::simultaneous ( Record * pRecord ) [private]
 

Description.

Parameters:
meta  

Definition at line 315 of file Transaction.cpp.

Referenced by aDelete(), and aUpdate().

bool Transaction::validateFields ( DBPage * pPage,
Record * pRecord,
DOM_Element master ) [private]
 

Description.

Parameters:
DBPage  
meta  
master  

Definition at line 280 of file Transaction.cpp.

Referenced by aDelete(), aInsert(), aNew(), and aUpdate().


Member Data Documentation

vectordbMeta Transaction::m_Section [private]
 

Definition at line 27 of file Transaction.h.


The documentation for this class was generated from the following files:
Generated at Tue Sep 12 16:29:59 2000 by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000