Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MyMoneySeqAccessMgr Class Reference

#include <mymoneyseqaccessmgr.h>

Inheritance diagram for MyMoneySeqAccessMgr:

IMyMoneyStorage IMyMoneySerialize MyMoneyKeyValueContainer Collaboration diagram for MyMoneySeqAccessMgr:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MyMoneySeqAccessMgr ()
 ~MyMoneySeqAccessMgr ()
const MyMoneyPayee user (void) const
const QDate creationDate (void) const
const QDate lastModificationDate (void) const
unsigned int currentFixVersion (void) const
unsigned int fileFixVersion (void) const
void setUser (const MyMoneyPayee &user)
void setCreationDate (const QDate &val)
void setLastModificationDate (const QDate &val)
void setFileFixVersion (const unsigned int v)
MyMoneyStorageSqlconnectToDatabase (const KURL &url)
virtual void fillStorage ()
MyMoneySeqAccessMgr const * duplicate (void)
const MyMoneyAccount account (const QCString &id) const
bool isStandardAccount (const QCString &id) const
void setAccountName (const QCString &id, const QString &name)
void addAccount (MyMoneyAccount &account)
void addPayee (MyMoneyPayee &payee)
const MyMoneyPayee payee (const QCString &id) const
const MyMoneyPayee payeeByName (const QString &payee) const
void modifyPayee (const MyMoneyPayee &payee)
void removePayee (const MyMoneyPayee &payee)
const QValueList< MyMoneyPayeepayeeList (void) const
void addAccount (MyMoneyAccount &parent, MyMoneyAccount &account)
void addInstitution (MyMoneyInstitution &institution)
void addTransaction (MyMoneyTransaction &transaction, const bool skipAccountUpdate=false)
void modifyAccount (const MyMoneyAccount &account, const bool skipCheck=false)
void modifyInstitution (const MyMoneyInstitution &institution)
void modifyTransaction (const MyMoneyTransaction &transaction)
void reparentAccount (MyMoneyAccount &account, MyMoneyAccount &parent)
void removeTransaction (const MyMoneyTransaction &transaction)
void removeAccount (const MyMoneyAccount &account)
void removeInstitution (const MyMoneyInstitution &institution)
const MyMoneyTransaction transaction (const QCString &id) const
const MyMoneyTransaction transaction (const QCString &account, const int idx) const
bool hasActiveSplits (const QCString &id) const
const MyMoneyMoney balance (const QCString &id, const QDate &date=QDate()) const
const MyMoneyMoney totalBalance (const QCString &id, const QDate &date=QDate()) const
const MyMoneyInstitution institution (const QCString &id) const
bool dirty (void) const
void setDirty (void)
const QValueList< MyMoneyInstitutioninstitutionList (void) const
void accountList (QValueList< MyMoneyAccount > &list) const
void transactionList (QValueList< MyMoneyTransaction > &list, MyMoneyTransactionFilter &filter) const
void transactionList (QValueList< QPair< MyMoneyTransaction, MyMoneySplit > > &list, MyMoneyTransactionFilter &filter) const
const QValueList< MyMoneyTransactiontransactionList (MyMoneyTransactionFilter &filter) const
bool isDuplicateTransaction (const QCString &id) const
unsigned int transactionCount (const QCString &account=QCString()) const
const QMap< QCString, unsigned
long > 
transactionCountMap (void) const
unsigned int institutionCount (void) const
unsigned int accountCount (void) const
const MyMoneyAccount liability (void) const
const MyMoneyAccount asset (void) const
const MyMoneyAccount expense (void) const
const MyMoneyAccount income (void) const
const MyMoneyAccount equity (void) const
virtual void loadAccounts (const QMap< QCString, MyMoneyAccount > &acc)
virtual void loadTransactions (const QMap< QCString, MyMoneyTransaction > &map)
virtual void loadInstitutions (const QMap< QCString, MyMoneyInstitution > &map)
virtual void loadPayees (const QMap< QCString, MyMoneyPayee > &map)
virtual void loadSchedules (const QMap< QCString, MyMoneySchedule > &map)
virtual void loadSecurities (const QMap< QCString, MyMoneySecurity > &map)
virtual void loadCurrencies (const QMap< QCString, MyMoneySecurity > &map)
virtual void loadPrices (const MyMoneyPriceList &list)
virtual void loadAccountId (const unsigned long id)
virtual void loadTransactionId (const unsigned long id)
virtual void loadPayeeId (const unsigned long id)
virtual void loadInstitutionId (const unsigned long id)
virtual void loadScheduleId (const unsigned long id)
virtual void loadSecurityId (const unsigned long id)
virtual void loadReportId (const unsigned long id)
virtual void loadBudgetId (const unsigned long id)
virtual unsigned long accountId (void) const
virtual unsigned long transactionId (void) const
virtual unsigned long payeeId (void) const
virtual unsigned long institutionId (void) const
virtual unsigned long scheduleId (void) const
virtual unsigned long securityId (void) const
virtual unsigned long reportId (void) const
virtual unsigned long budgetId (void) const
const QString value (const QCString &key) const
void setValue (const QCString &key, const QString &val)
void deletePair (const QCString &key)
const QMap< QCString, QString > pairs (void) const
void setPairs (const QMap< QCString, QString > &list)
void addSchedule (MyMoneySchedule &sched)
void modifySchedule (const MyMoneySchedule &sched)
void removeSchedule (const MyMoneySchedule &sched)
const MyMoneySchedule schedule (const QCString &id) const
virtual void addSecurity (MyMoneySecurity &security)
void modifySecurity (const MyMoneySecurity &security)
void removeSecurity (const MyMoneySecurity &security)
const MyMoneySecurity security (const QCString &id) const
const QValueList< MyMoneySecuritysecurityList (void) const
void addCurrency (const MyMoneySecurity &currency)
void modifyCurrency (const MyMoneySecurity &currency)
void removeCurrency (const MyMoneySecurity &currency)
const MyMoneySecurity currency (const QCString &id) const
const QValueList< MyMoneySecuritycurrencyList (void) const
const QValueList< MyMoneySchedulescheduleList (const QCString &accountId=QCString(), const MyMoneySchedule::typeE type=MyMoneySchedule::TYPE_ANY, const MyMoneySchedule::occurenceE occurence=MyMoneySchedule::OCCUR_ANY, const MyMoneySchedule::paymentTypeE paymentType=MyMoneySchedule::STYPE_ANY, const QDate &startDate=QDate(), const QDate &endDate=QDate(), const bool overdue=false) const
const QValueList< MyMoneySchedulescheduleListEx (int scheduleTypes, int scheduleOcurrences, int schedulePaymentTypes, QDate startDate, const QCStringList &accounts=QCStringList()) const
const QValueList< MyMoneyReportreportList (void) const
void addReport (MyMoneyReport &report)
void loadReports (const QMap< QCString, MyMoneyReport > &reports)
void modifyReport (const MyMoneyReport &report)
unsigned countReports (void) const
const MyMoneyReport report (const QCString &id) const
void removeReport (const MyMoneyReport &report)
const QValueList< MyMoneyBudgetbudgetList (void) const
void addBudget (MyMoneyBudget &budget)
void loadBudgets (const QMap< QCString, MyMoneyBudget > &budgets)
const MyMoneyBudget budgetByName (const QString &budget) const
void modifyBudget (const MyMoneyBudget &budget)
unsigned countBudgets (void) const
MyMoneyBudget budget (const QCString &id) const
void removeBudget (const MyMoneyBudget &budget)
void addPrice (const MyMoneyPrice &price)
void removePrice (const MyMoneyPrice &price)
const MyMoneyPrice price (const QCString &fromId, const QCString &toId, const QDate &date, const bool exactDate) const
const MyMoneyPriceList priceList (void) const
void clearCache (void)
bool isReferenced (const MyMoneyObject &obj, const MyMoneyFileBitArray &skipCheck=MyMoneyFileBitArray()) const
void rebuildAccountBalances (void)
virtual void startTransaction (void)
virtual bool commitTransaction (void)
virtual void rollbackTransaction (void)

Protected Member Functions

void removeReferences (const QCString &id)

Private Member Functions

void touch (void)
void invalidateBalanceCache (const QCString &id)
const QCString nextInstitutionID (void)
const QCString nextAccountID (void)
const QCString nextTransactionID (void)
const QCString nextPayeeID (void)
const QCString nextScheduleID (void)
const QCString nextSecurityID (void)
const QCString nextReportID (void)
const QCString nextBudgetID (void)
void reparentAccount (MyMoneyAccount &account, MyMoneyAccount &parent, const bool sendNotification)
void close (void)

Private Attributes

MyMoneyPayee m_user
unsigned long m_nextInstitutionID
unsigned long m_nextAccountID
unsigned long m_nextTransactionID
unsigned long m_nextPayeeID
unsigned long m_nextScheduleID
unsigned long m_nextSecurityID
unsigned long m_nextReportID
unsigned long m_nextBudgetID
MyMoneyMap< QCString, MyMoneyInstitutionm_institutionList
MyMoneyMap< QCString, MyMoneyAccountm_accountList
QMap< QCString, MyMoneyBalanceCacheItemm_balanceCache
QDate m_balanceCacheDate
MyMoneyMap< QCString, MyMoneyTransactionm_transactionList
MyMoneyMap< QCString, QCString > m_transactionKeys
MyMoneyMap< QCString, MyMoneyPayeem_payeeList
MyMoneyMap< QCString, MyMoneySchedulem_scheduleList
MyMoneyMap< QCString, MyMoneySecuritym_securitiesList
MyMoneyMap< QCString, MyMoneySecuritym_currencyList
MyMoneyMap< QCString, MyMoneyReportm_reportList
MyMoneyMap< QCString, MyMoneyBudgetm_budgetList
MyMoneyMap< MyMoneySecurityPair,
MyMoneyPriceEntries
m_priceList
bool m_dirty
QDate m_creationDate
QDate m_lastModificationDate
unsigned int m_currentFixVersion
unsigned int m_fileFixVersion
bool m_transactionListFull

Static Private Attributes

static const int INSTITUTION_ID_SIZE = 6
static const int ACCOUNT_ID_SIZE = 6
static const int TRANSACTION_ID_SIZE = 18
static const int PAYEE_ID_SIZE = 6
static const int SCHEDULE_ID_SIZE = 6
static const int SECURITY_ID_SIZE = 6
static const int REPORT_ID_SIZE = 6
static const int BUDGET_ID_SIZE = 6

Detailed Description

The MyMoneySeqAccessMgr class represents the storage engine for sequential files. The actual file type and it's internal storage format (e.g. binary or XML) is not important and handled through the IMyMoneySerialize() interface.

The MyMoneySeqAccessMgr must be loaded by an application using the IMyMoneySerialize() interface and can then be accessed through the IMyMoneyStorage() interface. All data is loaded into memory, modified and kept there. It is the subject of an outside object to store the modified data in a persistant storage area using the IMyMoneySerialize() interface. As indication, if data has been changed, the retrun value of the method dirty() can be used.


Constructor & Destructor Documentation

MyMoneySeqAccessMgr::MyMoneySeqAccessMgr  ) 
 

MyMoneySeqAccessMgr::~MyMoneySeqAccessMgr  ) 
 


Member Function Documentation

const MyMoneyAccount MyMoneySeqAccessMgr::account const QCString &  id  )  const [virtual]
 

Returns the account addressed by it's id.

Parameters:
id id of the account to locate.
Returns:
reference to MyMoneyAccount object. An exception is thrown if the id is unknown

Implements IMyMoneyStorage.

unsigned int MyMoneySeqAccessMgr::accountCount void   )  const [virtual]
 

This method returns the number of accounts currently known to file in the range 0..MAXUINT

Returns:
number of accounts currently known inside a MyMoneyFile object

Implements IMyMoneyStorage.

virtual unsigned long MyMoneySeqAccessMgr::accountId void   )  const [inline, virtual]
 

Implements IMyMoneySerialize.

void MyMoneySeqAccessMgr::accountList QValueList< MyMoneyAccount > &  list  )  const [virtual]
 

This method returns a list of accounts inside the storage object.

Parameters:
list reference to QValueList receiving the account objects
Note:
The standard accounts will not be returned

Implements IMyMoneySerialize.

void MyMoneySeqAccessMgr::addAccount MyMoneyAccount parent,
MyMoneyAccount account
[virtual]
 

This method is used to add one account as sub-ordinate to another (parent) account. The objects passed as arguments will be modified accordingly.

Parameters:
parent parent account the account should be added to
account the account to be added

Implements IMyMoneySerialize.

void MyMoneySeqAccessMgr::addAccount MyMoneyAccount account  )  [virtual]
 

This method is used to create a new account

An exception will be thrown upon error conditions.

Parameters:
account MyMoneyAccount filled with data

Implements IMyMoneySerialize.

void MyMoneySeqAccessMgr::addBudget MyMoneyBudget budget  )  [virtual]
 

This method is used to add a new budget to the engine. It must be sure, that the id of the object is not filled. When the method returns to the caller, the id will be filled with the newly created object id value.

An exception will be thrown upon erronous situations.

Parameters:
budget reference to the MyMoneyBudget object

Implements IMyMoneyStorage.

void MyMoneySeqAccessMgr::addCurrency const MyMoneySecurity currency  )  [virtual]
 

This method is used to add a new currency object to the engine. The ID of the object is the trading symbol, so there is no need for an additional ID since the symbol is guaranteed to be unique.

An exception will be thrown upon erronous situations.

Parameters:
currency reference to the MyMoneyCurrency object

Implements IMyMoneyStorage.

void MyMoneySeqAccessMgr::addInstitution MyMoneyInstitution institution  )  [virtual]
 

Adds an institution to the storage. A respective institution-ID will be generated within this record. The ID is stored as QString in the object passed as argument. An exception will be thrown upon error conditions.

Parameters:
institution The complete institution information in a MyMoneyInstitution object

Implements IMyMoneySerialize.

void MyMoneySeqAccessMgr::addPayee MyMoneyPayee payee  )  [virtual]
 

This method is used to create a new payee

An exception will be thrown upon error conditions

Parameters:
payee MyMoneyPayee reference to payee information

Implements IMyMoneySerialize.

void MyMoneySeqAccessMgr::addPrice const MyMoneyPrice price  )  [virtual]
 

This method adds/replaces a price to/from the price list

Implements IMyMoneySerialize.

void MyMoneySeqAccessMgr::addReport MyMoneyReport report  )  [virtual]
 

This method is used to add a new report to the engine. It must be sure, that the id of the object is not filled. When the method returns to the caller, the id will be filled with the newly created object id value.

An exception will be thrown upon erronous situations.

Parameters:
report reference to the MyMoneyReport object

Implements IMyMoneyStorage.

void MyMoneySeqAccessMgr::addSchedule MyMoneySchedule sched  )  [virtual]
 

This method is used to add a scheduled transaction to the engine. It must be sure, that the id of the object is not filled. When the method returns to the caller, the id will be filled with the newly created object id value.

An exception will be thrown upon erronous situations.

Parameters:
sched reference to the MyMoneySchedule object

Implements IMyMoneyStorage.

virtual void MyMoneySeqAccessMgr::addSecurity MyMoneySecurity security  )  [virtual]
 

This method is used to create a new security object. The ID will be created automatically. The object passed with the parameter security is modified to contain the assigned id.

An exception will be thrown upon error conditions.

Parameters:
security MyMoneySecurity filled with data

Implements IMyMoneyStorage.

void MyMoneySeqAccessMgr::addTransaction MyMoneyTransaction transaction,
const bool  skipAccountUpdate = false
[virtual]
 

Adds a transaction to the file-global transaction pool. A respective transaction-ID will be generated within this record. The ID is stored as QString in the transaction object. The accounts of the referenced splits will be updated to have a reference to the transaction just added.

Parameters:
transaction reference to the transaction
skipAccountUpdate if set, the transaction lists of the accounts referenced in the splits are not updated. This is used for bulk loading a lot of transactions but not during normal operation

Implements IMyMoneySerialize.

const MyMoneyAccount MyMoneySeqAccessMgr::asset void   )  const [inline, virtual]
 

This method is used to return the standard asset account

Returns:
MyMoneyAccount asset account(group)

Implements IMyMoneySerialize.

const MyMoneyMoney MyMoneySeqAccessMgr::balance const QCString &  id,
const QDate &  date = QDate()
const [virtual]
 

This method is used to return the actual balance of an account without it's sub-ordinate accounts. If a date is presented, the balance at the beginning of this date (not including any transaction on this date) is returned. Otherwise all recorded transactions are included in the balance.

Parameters:
id id of the account in question
date return balance for specific date
Returns:
balance of the account as MyMoneyMoney object

Implements IMyMoneyStorage.

MyMoneyBudget MyMoneySeqAccessMgr::budget const QCString &  id  )  const [virtual]
 

This method is used to retrieve a single MyMoneyBudget object. The id of the object must be supplied in the parameter id.

An exception will be thrown upon erronous situations.

Parameters:
id QCString containing the id of the MyMoneyBudget object
Returns:
MyMoneyBudget object

Implements IMyMoneyStorage.

const MyMoneyBudget MyMoneySeqAccessMgr::budgetByName const QString &  budget  )  const [virtual]
 

This method is used to retrieve the id to a corresponding name of a budget An exception will be thrown upon error conditions.

Parameters:
budget QString reference to name of budget
Returns:
MyMoneyBudget reference to object of budget

Implements IMyMoneyStorage.

virtual unsigned long MyMoneySeqAccessMgr::budgetId void   )  const [inline, virtual]
 

Implements IMyMoneySerialize.

const QValueList<MyMoneyBudget> MyMoneySeqAccessMgr::budgetList void   )  const [virtual]
 

This method is used to retrieve the list of all budgets known to the engine.

An exception will be thrown upon erronous situations.

Returns:
QValueList of all MyMoneyBudget objects.

Implements IMyMoneySerialize.

void MyMoneySeqAccessMgr::clearCache void   )  [virtual]
 

Clear all internal caches (used internally for performance measurements)

Implements IMyMoneyStorage.

void MyMoneySeqAccessMgr::close void   )  [inline, private, virtual]
 

This method will close a database and log the use roff

Implements IMyMoneyStorage.

virtual bool MyMoneySeqAccessMgr::commitTransaction void   )  [virtual]
 

Implements IMyMoneyStorage.

MyMoneyStorageSql* MyMoneySeqAccessMgr::connectToDatabase const KURL &  url  )  [virtual]
 

This method is used to get a SQL reader for subsequent database access

Implements IMyMoneySerialize.

unsigned MyMoneySeqAccessMgr::countBudgets void   )  const [virtual]
 

This method returns the number of budgets currently known to file in the range 0..MAXUINT

Returns:
number of budgets known to file

Implements IMyMoneyStorage.

unsigned MyMoneySeqAccessMgr::countReports void   )  const [virtual]
 

This method returns the number of reports currently known to file in the range 0..MAXUINT

Returns:
number of reports known to file

Implements IMyMoneyStorage.

const QDate MyMoneySeqAccessMgr::creationDate void   )  const [inline, virtual]
 

Implements IMyMoneySerialize.

const MyMoneySecurity MyMoneySeqAccessMgr::currency const QCString &  id  )  const [virtual]
 

This method is used to retrieve a single MyMoneySchedule object. The id of the object must be supplied in the parameter id.

An exception will be thrown upon erronous situations.

Parameters:
id QCString containing the id of the MyMoneySchedule object
Returns:
MyMoneySchedule object

Implements IMyMoneyStorage.

const QValueList<MyMoneySecurity> MyMoneySeqAccessMgr::currencyList void   )  const [virtual]
 

This method is used to retrieve the list of all currencies known to the engine.

An exception will be thrown upon erronous situations.

Returns:
QValueList of all MyMoneyCurrency objects.

Implements IMyMoneySerialize.

unsigned int MyMoneySeqAccessMgr::currentFixVersion void   )  const [inline, virtual]
 

Implements IMyMoneySerialize.

void MyMoneySeqAccessMgr::deletePair const QCString &  key  ) 
 

This method is used to delete a key-value-pair from the KeyValueContainer identified by the parameter key. For details see MyMoneyKeyValueContainer::deletePair().

Parameters:
key const reference to QCString containing the key

Reimplemented from MyMoneyKeyValueContainer.

bool MyMoneySeqAccessMgr::dirty void   )  const [inline, virtual]
 

This method returns an indicator if the storage object has been changed after it has last been saved to permanent storage.

Returns:
true if changed, false if not

Implements IMyMoneyStorage.

MyMoneySeqAccessMgr const* MyMoneySeqAccessMgr::duplicate void   )  [virtual]
 

This method is used to duplicate the MyMoneySeqAccessMgr object and return a pointer to the newly created copy. The caller of this method is the new owner of the object and must destroy it.

Implements IMyMoneyStorage.

const MyMoneyAccount MyMoneySeqAccessMgr::equity void   )  const [inline, virtual]
 

This method is used to return the standard equity account

Returns:
MyMoneyAccount equity account(group)

Implements IMyMoneySerialize.

const MyMoneyAccount MyMoneySeqAccessMgr::expense void   )  const [inline, virtual]
 

This method is used to return the standard expense account

Returns:
MyMoneyAccount expense account(group)

Implements IMyMoneySerialize.

unsigned int MyMoneySeqAccessMgr::fileFixVersion void   )  const [inline, virtual]
 

Implements IMyMoneySerialize.

virtual void MyMoneySeqAccessMgr::fillStorage  )  [inline, virtual]
 

This method is used when a database file is open, and the data is to be saved in a different file or format. It will ensure that all data from the database is available in memory to enable it to be written.

Implements IMyMoneySerialize.

bool MyMoneySeqAccessMgr::hasActiveSplits const QCString &  id  )  const [virtual]
 

This method is used to determince, if the account with the given ID is referenced by any split in m_transactionList.

Parameters:
id id of the account to be checked for
Returns:
true if account is referenced, false otherwise

Implements IMyMoneyStorage.

const MyMoneyAccount MyMoneySeqAccessMgr::income void   )  const [inline, virtual]
 

This method is used to return the standard income account

Returns:
MyMoneyAccount income account(group)

Implements IMyMoneySerialize.

const MyMoneyInstitution MyMoneySeqAccessMgr::institution const QCString &  id  )  const [virtual]
 

Returns the institution of a given ID

Parameters:
id id of the institution to locate
Returns:
MyMoneyInstitution object filled with data. If the institution could not be found, an exception will be thrown

Implements IMyMoneyStorage.

unsigned int MyMoneySeqAccessMgr::institutionCount void   )  const [virtual]
 

This method returns the number of institutions currently known to file in the range 0..MAXUINT

Returns:
number of institutions known to file

Implements IMyMoneyStorage.

virtual unsigned long MyMoneySeqAccessMgr::institutionId void   )  const [inline, virtual]
 

Implements IMyMoneySerialize.

const QValueList<MyMoneyInstitution> MyMoneySeqAccessMgr::institutionList void   )  const [virtual]
 

This method returns a list of the institutions inside a MyMoneyFile object

Returns:
QMap containing the institution information

Implements IMyMoneySerialize.

void MyMoneySeqAccessMgr::invalidateBalanceCache const QCString &  id  )  [private]
 

This method is used to invalidate the cached balance for the selected account and all it's parents.

Parameters:
id id of the account in question

bool MyMoneySeqAccessMgr::isDuplicateTransaction const QCString &  id  )  const [inline, virtual]
 

This method returns whether a given transaction is already in memory, to avoid reloading it from the database

Implements IMyMoneySerialize.

bool MyMoneySeqAccessMgr::isReferenced const MyMoneyObject obj,
const MyMoneyFileBitArray skipCheck = MyMoneyFileBitArray()
const [virtual]
 

This method checks, if the given object is referenced by another engine object.

Parameters:
obj const reference to object to be checked
skipCheck QBitArray with ReferenceCheckBits set for which the check should be skipped
Return values:
false object is not referenced
true institution is referenced

Implements IMyMoneyStorage.

bool MyMoneySeqAccessMgr::isStandardAccount const QCString &  id  )  const [virtual]
 

This method is used to check whether a given account id references one of the standard accounts or not.

Parameters:
id account id
Returns:
true if account-id is one of the standards, false otherwise

Implements IMyMoneyStorage.

const QDate MyMoneySeqAccessMgr::lastModificationDate void   )  const [inline, virtual]
 

Implements IMyMoneySerialize.

const MyMoneyAccount MyMoneySeqAccessMgr::liability void   )  const [inline, virtual]
 

This method is used to return the standard liability account

Returns:
MyMoneyAccount liability account(group)

Implements IMyMoneySerialize.

virtual void MyMoneySeqAccessMgr::loadAccountId const unsigned long  id  )  [virtual]
 

Implements IMyMoneySerialize.

virtual void MyMoneySeqAccessMgr::loadAccounts const QMap< QCString, MyMoneyAccount > &  acc  )  [virtual]
 

Implements IMyMoneySerialize.

virtual void MyMoneySeqAccessMgr::loadBudgetId const unsigned long  id  )  [virtual]
 

Implements IMyMoneySerialize.

void MyMoneySeqAccessMgr::loadBudgets const QMap< QCString, MyMoneyBudget > &  budgets  )  [virtual]
 

This method is used to load a set of budgets into the engine. This is used when loading from storage, and an ID is already known.

An exception will be thrown upon erronous situations.

Parameters:
budgets reference to the map of MyMoneyBudget object

Implements IMyMoneySerialize.

virtual void MyMoneySeqAccessMgr::loadCurrencies const QMap< QCString, MyMoneySecurity > &  map  )  [virtual]
 

Implements IMyMoneySerialize.

virtual void MyMoneySeqAccessMgr::loadInstitutionId const unsigned long  id  )  [virtual]
 

Implements IMyMoneySerialize.

virtual void MyMoneySeqAccessMgr::loadInstitutions const QMap< QCString, MyMoneyInstitution > &  map  )  [virtual]
 

Implements IMyMoneySerialize.

virtual void MyMoneySeqAccessMgr::loadPayeeId const unsigned long  id  )  [virtual]
 

Implements IMyMoneySerialize.

virtual void MyMoneySeqAccessMgr::loadPayees const QMap< QCString, MyMoneyPayee > &  map  )  [virtual]
 

Implements IMyMoneySerialize.

virtual void MyMoneySeqAccessMgr::loadPrices const MyMoneyPriceList