#include <mymoneyseqaccessmgr.h>


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) |
| KSharedPtr< MyMoneyStorageSql > | connectToDatabase (const KURL &url) |
| virtual void | fillStorage () |
| MyMoneySeqAccessMgr const * | duplicate (void) |
| const MyMoneyAccount | account (const QString &id) const |
| bool | isStandardAccount (const QString &id) const |
| void | setAccountName (const QString &id, const QString &name) |
| void | addAccount (MyMoneyAccount &account) |
| void | addPayee (MyMoneyPayee &payee) |
| const MyMoneyPayee | payee (const QString &id) const |
| const MyMoneyPayee | payeeByName (const QString &payee) const |
| void | modifyPayee (const MyMoneyPayee &payee) |
| void | removePayee (const MyMoneyPayee &payee) |
| const QValueList< MyMoneyPayee > | payeeList (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 QString &id) const |
| const MyMoneyTransaction | transaction (const QString &account, const int idx) const |
| bool | hasActiveSplits (const QString &id) const |
| const MyMoneyMoney | balance (const QString &id, const QDate &date=QDate()) const |
| const MyMoneyMoney | totalBalance (const QString &id, const QDate &date=QDate()) const |
| const MyMoneyInstitution | institution (const QString &id) const |
| bool | dirty (void) const |
| void | setDirty (void) |
| const QValueList < MyMoneyInstitution > | institutionList (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 < MyMoneyTransaction > | transactionList (MyMoneyTransactionFilter &filter) const |
| bool | isDuplicateTransaction (const QString &id) const |
| unsigned int | transactionCount (const QString &account=QString()) const |
| const QMap< QString, 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< QString, MyMoneyAccount > &acc) |
| virtual void | loadTransactions (const QMap< QString, MyMoneyTransaction > &map) |
| virtual void | loadInstitutions (const QMap< QString, MyMoneyInstitution > &map) |
| virtual void | loadPayees (const QMap< QString, MyMoneyPayee > &map) |
| virtual void | loadSchedules (const QMap< QString, MyMoneySchedule > &map) |
| virtual void | loadSecurities (const QMap< QString, MyMoneySecurity > &map) |
| virtual void | loadCurrencies (const QMap< QString, 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 QString &key) const |
| void | setValue (const QString &key, const QString &val) |
| void | deletePair (const QString &key) |
| const QMap< QString, QString > | pairs (void) const |
| void | setPairs (const QMap< QString, QString > &list) |
| void | addSchedule (MyMoneySchedule &sched) |
| void | modifySchedule (const MyMoneySchedule &sched) |
| void | removeSchedule (const MyMoneySchedule &sched) |
| const MyMoneySchedule | schedule (const QString &id) const |
| virtual void | addSecurity (MyMoneySecurity &security) |
| void | modifySecurity (const MyMoneySecurity &security) |
| void | removeSecurity (const MyMoneySecurity &security) |
| const MyMoneySecurity | security (const QString &id) const |
| const QValueList< MyMoneySecurity > | securityList (void) const |
| void | addCurrency (const MyMoneySecurity ¤cy) |
| void | modifyCurrency (const MyMoneySecurity ¤cy) |
| void | removeCurrency (const MyMoneySecurity ¤cy) |
| const MyMoneySecurity | currency (const QString &id) const |
| const QValueList< MyMoneySecurity > | currencyList (void) const |
| const QValueList< MyMoneySchedule > | scheduleList (const QString &accountId=QString(), 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< MyMoneySchedule > | scheduleListEx (int scheduleTypes, int scheduleOcurrences, int schedulePaymentTypes, QDate startDate, const QStringList &accounts=QStringList()) const |
| const QValueList< MyMoneyReport > | reportList (void) const |
| void | addReport (MyMoneyReport &report) |
| void | loadReports (const QMap< QString, MyMoneyReport > &reports) |
| void | modifyReport (const MyMoneyReport &report) |
| unsigned | countReports (void) const |
| const MyMoneyReport | report (const QString &id) const |
| void | removeReport (const MyMoneyReport &report) |
| const QValueList< MyMoneyBudget > | budgetList (void) const |
| void | addBudget (MyMoneyBudget &budget) |
| void | loadBudgets (const QMap< QString, MyMoneyBudget > &budgets) |
| const MyMoneyBudget | budgetByName (const QString &budget) const |
| void | modifyBudget (const MyMoneyBudget &budget) |
| unsigned | countBudgets (void) const |
| MyMoneyBudget | budget (const QString &id) const |
| void | removeBudget (const MyMoneyBudget &budget) |
| void | addPrice (const MyMoneyPrice &price) |
| void | removePrice (const MyMoneyPrice &price) |
| const MyMoneyPrice | price (const QString &fromId, const QString &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 QString &id) |
Private Member Functions | |
| void | touch (void) |
| void | invalidateBalanceCache (const QString &id) |
| QString | nextInstitutionID (void) |
| QString | nextAccountID (void) |
| QString | nextTransactionID (void) |
| QString | nextPayeeID (void) |
| QString | nextScheduleID (void) |
| QString | nextSecurityID (void) |
| QString | nextReportID (void) |
| QString | 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< QString, MyMoneyInstitution > | m_institutionList |
| MyMoneyMap< QString, MyMoneyAccount > | m_accountList |
| QMap< QString, MyMoneyBalanceCacheItem > | m_balanceCache |
| QDate | m_balanceCacheDate |
| MyMoneyMap< QString, MyMoneyTransaction > | m_transactionList |
| MyMoneyMap< QString, QString > | m_transactionKeys |
| MyMoneyMap< QString, MyMoneyPayee > | m_payeeList |
| MyMoneyMap< QString, MyMoneySchedule > | m_scheduleList |
| MyMoneyMap< QString, MyMoneySecurity > | m_securitiesList |
| MyMoneyMap< QString, MyMoneySecurity > | m_currencyList |
| MyMoneyMap< QString, MyMoneyReport > | m_reportList |
| MyMoneyMap< QString, MyMoneyBudget > | m_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 |
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.
| MyMoneySeqAccessMgr::MyMoneySeqAccessMgr | ( | ) |
| MyMoneySeqAccessMgr::~MyMoneySeqAccessMgr | ( | ) |
| const MyMoneyPayee MyMoneySeqAccessMgr::user | ( | void | ) | const [inline, virtual] |
Implements IMyMoneySerialize.
| const QDate MyMoneySeqAccessMgr::creationDate | ( | void | ) | const [inline, virtual] |
Implements IMyMoneySerialize.
| const QDate MyMoneySeqAccessMgr::lastModificationDate | ( | void | ) | const [inline, virtual] |
Implements IMyMoneySerialize.
| unsigned int MyMoneySeqAccessMgr::currentFixVersion | ( | void | ) | const [inline, virtual] |
Implements IMyMoneySerialize.
| unsigned int MyMoneySeqAccessMgr::fileFixVersion | ( | void | ) | const [inline, virtual] |
Implements IMyMoneySerialize.
| void MyMoneySeqAccessMgr::setUser | ( | const MyMoneyPayee & | user | ) | [inline, virtual] |
Implements IMyMoneySerialize.
| void MyMoneySeqAccessMgr::setCreationDate | ( | const QDate & | val | ) | [inline, virtual] |
Implements IMyMoneySerialize.
| void MyMoneySeqAccessMgr::setLastModificationDate | ( | const QDate & | val | ) | [inline, virtual] |
This method is used to set the last modification date of the storage object. It also clears the dirty flag and should therefor be called as last operation when loading from a file.
| val | QDate of last modification |
Implements IMyMoneySerialize.
| void MyMoneySeqAccessMgr::setFileFixVersion | ( | const unsigned int | v | ) | [inline, virtual] |
Implements IMyMoneySerialize.
| KSharedPtr<MyMoneyStorageSql> MyMoneySeqAccessMgr::connectToDatabase | ( | const KURL & | url | ) | [virtual] |
This method is used to get a SQL reader for subsequent database access
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.
| 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::account | ( | const QString & | id | ) | const [virtual] |
Returns the account addressed by it's id.
| id | id of the account to locate. |
Implements IMyMoneyStorage.
| bool MyMoneySeqAccessMgr::isStandardAccount | ( | const QString & | id | ) | const [virtual] |
This method is used to check whether a given account id references one of the standard accounts or not.
| id | account id |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::setAccountName | ( | const QString & | id, | |
| const QString & | name | |||
| ) | [virtual] |
This method is used to set the name for the specified standard account within the storage area. An exception will be thrown, if an error occurs
| id | QString reference to one of the standard accounts. Possible values are: |
| name | QString reference to the name to be set |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::addAccount | ( | MyMoneyAccount & | account | ) | [virtual] |
This method is used to create a new account
An exception will be thrown upon error conditions.
| account | MyMoneyAccount filled with data |
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
| payee | MyMoneyPayee reference to payee information |
Implements IMyMoneySerialize.
| const MyMoneyPayee MyMoneySeqAccessMgr::payee | ( | const QString & | id | ) | const [virtual] |
This method is used to retrieve information about a payee An exception will be thrown upon error conditions.
| id | QString reference to id of payee |
Implements IMyMoneyStorage.
| const MyMoneyPayee MyMoneySeqAccessMgr::payeeByName | ( | const QString & | payee | ) | const [virtual] |
This method is used to retrieve the id to a corresponding name of a payee/receiver. An exception will be thrown upon error conditions.
| payee | QString reference to name of payee |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::modifyPayee | ( | const MyMoneyPayee & | payee | ) | [virtual] |
This method is used to modify an existing payee
An exception will be thrown upon error conditions
| payee | MyMoneyPayee reference to payee information |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::removePayee | ( | const MyMoneyPayee & | payee | ) | [virtual] |
This method is used to remove an existing payee
An exception will be thrown upon error conditions
| payee | MyMoneyPayee reference to payee information |
Implements IMyMoneyStorage.
| const QValueList<MyMoneyPayee> MyMoneySeqAccessMgr::payeeList | ( | void | ) | const [virtual] |
This method returns a list of the payees inside a MyMoneyStorage object
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.
| parent | parent account the account should be added to | |
| account | the account to be added |
Implements IMyMoneySerialize.
| 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.
| institution | The complete institution information in a MyMoneyInstitution object |
Implements IMyMoneySerialize.
| 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.
| 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.
| void MyMoneySeqAccessMgr::modifyAccount | ( | const MyMoneyAccount & | account, | |
| const bool | skipCheck = false | |||
| ) | [virtual] |
Modifies an already existing account in the file global account pool.
An exception will be thrown upon error conditions.
| account | reference to the new account information | |
| skipCheck | if true, skips the built in consistency check for the object to be updated. Do not set this parameter to true. This is only used for the MyMoneyFile::consistencyCheck() procedure to be able to reload accounts. The default setting of this parameter is false. |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::modifyInstitution | ( | const MyMoneyInstitution & | institution | ) | [virtual] |
Modifies an already existing institution in the file global institution pool.
An exception will be thrown upon error conditions.
| institution | The complete new institution information |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::modifyTransaction | ( | const MyMoneyTransaction & | transaction | ) | [virtual] |
This method is used to update a specific transaction in the transaction pool of the MyMoneyFile object
An exception will be thrown upon error conditions.
| transaction | reference to transaction to be changed |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::reparentAccount | ( | MyMoneyAccount & | account, | |
| MyMoneyAccount & | parent | |||
| ) | [virtual] |
This method re-parents an existing account
An exception will be thrown upon error conditions.
| account | MyMoneyAccount reference to account to be re-parented | |
| parent | MyMoneyAccount reference to new parent account |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::removeTransaction | ( | const MyMoneyTransaction & | transaction | ) | [virtual] |
This method is used to remove a transaction from the transaction pool (journal).
| transaction | const reference to transaction to be deleted |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::removeAccount | ( | const MyMoneyAccount & | account | ) | [virtual] |
Deletes an existing account from the file global account pool This method only allows to remove accounts that are not referenced by any split. Use moveSplits() to move splits to another account. An exception is thrown in case of a problem.
| account | reference to the account to be deleted. |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::removeInstitution | ( | const MyMoneyInstitution & | institution | ) | [virtual] |
Deletes an existing institution from the file global institution pool Also modifies the accounts that reference this institution as their institution.
| institution | institution to be deleted. |
Implements IMyMoneyStorage.
| const MyMoneyTransaction MyMoneySeqAccessMgr::transaction | ( | const QString & | id | ) | const [virtual] |
This method is used to extract a transaction from the file global transaction pool through an id. In case of an invalid id, an exception will be thrown.
| id | id of transaction as QString. |
Implements IMyMoneyStorage.
| const MyMoneyTransaction MyMoneySeqAccessMgr::transaction | ( | const QString & | account, | |
| const int | idx | |||
| ) | const [virtual] |
This method is used to extract a transaction from the file global transaction pool through an index into an account.
| account | id of the account as QString | |
| idx | number of transaction in this account |
Implements IMyMoneyStorage.
| bool MyMoneySeqAccessMgr::hasActiveSplits | ( | const QString & | id | ) | const [virtual] |
This method is used to determince, if the account with the given ID is referenced by any split in m_transactionList.
| id | id of the account to be checked for |
Implements IMyMoneyStorage.
| const MyMoneyMoney MyMoneySeqAccessMgr::balance | ( | const QString & | 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.
| id | id of the account in question | |
| date | return balance for specific date |
Implements IMyMoneyStorage.
| const MyMoneyMoney MyMoneySeqAccessMgr::totalBalance | ( | const QString & | id, | |
| const QDate & | date = QDate() | |||
| ) | const [virtual] |
This method is used to return the actual balance of an account including 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.
| id | id of the account in question | |
| date | return balance for specific date |
Implements IMyMoneyStorage.
| const MyMoneyInstitution MyMoneySeqAccessMgr::institution | ( | const QString & | id | ) | const [virtual] |
Returns the institution of a given ID
| id | id of the institution to locate |
Implements IMyMoneyStorage.
| 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.
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::setDirty | ( | void | ) | [inline, virtual] |
This method can be used by an external object to force the storage object to be dirty. This is used e.g. when an upload to an external destination failed but the previous storage to a local disk was ok.
Implements IMyMoneyStorage.
| const QValueList<MyMoneyInstitution> MyMoneySeqAccessMgr::institutionList | ( | void | ) | const [virtual] |
This method returns a list of the institutions inside a MyMoneyFile object
Implements IMyMoneySerialize.
| void MyMoneySeqAccessMgr::accountList | ( | QValueList< MyMoneyAccount > & | list | ) | const [virtual] |
This method returns a list of accounts inside the storage object.
| list | reference to QValueList receiving the account objects |
Implements IMyMoneySerialize.
| void MyMoneySeqAccessMgr::transactionList | ( | QValueList< MyMoneyTransaction > & | list, | |
| MyMoneyTransactionFilter & | filter | |||
| ) | const [virtual] |
This method is used to pull a list of transactions from the file global transaction pool. It returns all those transactions that match the filter passed as argument. If the filter is empty, the whole journal will be returned. The list returned is sorted according to the transactions posting date. If more than one transaction exists for the same date, the order among them is undefined.
The list will be cleared by this method.
| list | reference to list | |
| filter | MyMoneyTransactionFilter object with the match criteria |
Implements IMyMoneySerialize.
| void MyMoneySeqAccessMgr::transactionList | ( | QValueList< QPair< MyMoneyTransaction, MyMoneySplit > > & | list, | |
| MyMoneyTransactionFilter & | filter | |||
| ) | const [virtual] |
This method is used to pull a list of transactions from the file global transaction pool. It returns all those transactions that match the filter passed as argument. If the filter is empty, the whole journal will be returned. The list returned is sorted according to the transactions posting date. If more than one transaction exists for the same date, the order among them is undefined.
The list will be cleared by this method.
| list | reference to list | |
| filter | MyMoneyTransactionFilter object with the match criteria |
Implements IMyMoneyStorage.
| const QValueList<MyMoneyTransaction> MyMoneySeqAccessMgr::transactionList | ( | MyMoneyTransactionFilter & | filter | ) | const [virtual] |
Compatibility interface for the previous method.
Implements IMyMoneyStorage.
| bool MyMoneySeqAccessMgr::isDuplicateTransaction | ( | const QString & | id | ) | const [inline, virtual] |
This method returns whether a given transaction is already in memory, to avoid reloading it from the database
Implements IMyMoneySerialize.
| unsigned int MyMoneySeqAccessMgr::transactionCount | ( | const QString & | account = QString() |
) | const [virtual] |
This method returns the number of transactions currently known to file in the range 0..MAXUINT
| account | QString reference to account id. If account is empty + all transactions (the journal) will be counted. If account is not empty it returns the number of transactions that have splits in this account. |
Implements IMyMoneyStorage.
| const QMap<QString, unsigned long> MyMoneySeqAccessMgr::transactionCountMap | ( | void | ) | const [virtual] |
This method returns a QMap filled with the number of transactions per account. The account id serves as index into the map. If one needs to have all transactionCounts() for many accounts, this method is faster than calling transactionCount(const QString& account) many times.
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
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
Implements IMyMoneyStorage.
| const MyMoneyAccount MyMoneySeqAccessMgr::liability | ( | void | ) | const [inline, virtual] |
This method is used to return the standard liability account
Implements IMyMoneySerialize.
| const MyMoneyAccount MyMoneySeqAccessMgr::asset | ( | void | ) | const [inline, virtual] |
This method is used to return the standard asset account
Implements IMyMoneySerialize.
| const MyMoneyAccount MyMoneySeqAccessMgr::expense | ( | void | ) | const [inline, virtual] |
This method is used to return the standard expense account
Implements IMyMoneySerialize.
| const MyMoneyAccount MyMoneySeqAccessMgr::income | ( | void | ) | const [inline, virtual] |
This method is used to return the standard income account
Implements IMyMoneySerialize.
| const MyMoneyAccount MyMoneySeqAccessMgr::equity | ( | void | ) | const [inline, virtual] |
This method is used to return the standard equity account
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadAccounts | ( | const QMap< QString, MyMoneyAccount > & | acc | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadTransactions | ( | const QMap< QString, MyMoneyTransaction > & | map | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadInstitutions | ( | const QMap< QString, MyMoneyInstitution > & | map | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadPayees | ( | const QMap< QString, MyMoneyPayee > & | map | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadSchedules | ( | const QMap< QString, MyMoneySchedule > & | map | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadSecurities | ( | const QMap< QString, MyMoneySecurity > & | map | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadCurrencies | ( | const QMap< QString, MyMoneySecurity > & | map | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadPrices | ( | const MyMoneyPriceList & | list | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadAccountId | ( | const unsigned long | id | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadTransactionId | ( | const unsigned long | id | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadPayeeId | ( | const unsigned long | id | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadInstitutionId | ( | const unsigned long | id | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadScheduleId | ( | const unsigned long | id | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadSecurityId | ( | const unsigned long | id | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadReportId | ( | const unsigned long | id | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::loadBudgetId | ( | const unsigned long | id | ) | [virtual] |
Implements IMyMoneySerialize.
| virtual unsigned long MyMoneySeqAccessMgr::accountId | ( | void | ) | const [inline, virtual] |
Implements IMyMoneySerialize.
| virtual unsigned long MyMoneySeqAccessMgr::transactionId | ( | void | ) | const [inline, virtual] |
Implements IMyMoneySerialize.
| virtual unsigned long MyMoneySeqAccessMgr::payeeId | ( | void | ) | const [inline, virtual] |
Implements IMyMoneySerialize.
| virtual unsigned long MyMoneySeqAccessMgr::institutionId | ( | void | ) | const [inline, virtual] |
Implements IMyMoneySerialize.
| virtual unsigned long MyMoneySeqAccessMgr::scheduleId | ( | void | ) | const [inline, virtual] |
Implements IMyMoneySerialize.
| virtual unsigned long MyMoneySeqAccessMgr::securityId | ( | void | ) | const [inline, virtual] |
Implements IMyMoneySerialize.
| virtual unsigned long MyMoneySeqAccessMgr::reportId | ( | void | ) | const [inline, virtual] |
Implements IMyMoneySerialize.
| virtual unsigned long MyMoneySeqAccessMgr::budgetId | ( | void | ) | const [inline, virtual] |
Implements IMyMoneySerialize.
| const QString MyMoneySeqAccessMgr::value | ( | const QString & | key | ) | const |
This method is used to extract a value from KeyValueContainer. For details see MyMoneyKeyValueContainer::value().
| key | const reference to QString containing the key |
Reimplemented from MyMoneyKeyValueContainer.
| void MyMoneySeqAccessMgr::setValue | ( | const QString & | key, | |
| const QString & | val | |||
| ) |
This method is used to set a value in the KeyValueContainer. For details see MyMoneyKeyValueContainer::setValue().
| key | const reference to QString containing the key | |
| val | const reference to QString containing the value |
Reimplemented from MyMoneyKeyValueContainer.
| void MyMoneySeqAccessMgr::deletePair | ( | const QString & | key | ) |
This method is used to delete a key-value-pair from the KeyValueContainer identified by the parameter key. For details see MyMoneyKeyValueContainer::deletePair().
| key | const reference to QString containing the key |
Reimplemented from MyMoneyKeyValueContainer.
| const QMap<QString, QString> MyMoneySeqAccessMgr::pairs | ( | void | ) | const |
This method is used to retrieve the whole set of key/value pairs from the container. It is meant to be used for permanent storage functionality.
Reimplemented from MyMoneyKeyValueContainer.
| void MyMoneySeqAccessMgr::setPairs | ( | const QMap< QString, QString > & | list | ) |
This method is used to initially store a set of key/value pairs in the container. It is meant to be used for loading functionality from permanent storage.
| list | const QMap<QString, QString> containing the set of key/value pairs to be loaded into the container. |
Reimplemented from MyMoneyKeyValueContainer.
| 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.
| sched | reference to the MyMoneySchedule object |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::modifySchedule | ( | const MyMoneySchedule & | sched | ) | [virtual] |
This method is used to modify an existing MyMoneySchedule object. Therefor, the id attribute of the object must be set.
An exception will be thrown upon erronous situations.
| sched | const reference to the MyMoneySchedule object to be updated |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::removeSchedule | ( | const MyMoneySchedule & | sched | ) | [virtual] |
This method is used to remove an existing MyMoneySchedule object from the engine. The id attribute of the object must be set.
An exception will be thrown upon erronous situations.
| sched | const reference to the MyMoneySchedule object to be updated |
Implements IMyMoneyStorage.
| const MyMoneySchedule MyMoneySeqAccessMgr::schedule | ( | const QString & | 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.
| id | QString containing the id of 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.
| security | MyMoneySecurity filled with data |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::modifySecurity | ( | const MyMoneySecurity & | security | ) | [virtual] |
This method is used to modify an existing MyMoneySchedule object.
An exception will be thrown upon erronous situations.
| security | reference to the MyMoneySecurity object to be updated |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::removeSecurity | ( | const MyMoneySecurity & | security | ) | [virtual] |
This method is used to remove an existing MyMoneySecurity object from the engine.
An exception will be thrown upon erronous situations.
| security | reference to the MyMoneySecurity object to be removed |
Implements IMyMoneyStorage.
| const MyMoneySecurity MyMoneySeqAccessMgr::security | ( | const QString & | 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.
| id | QString containing the id of the MyMoneySchedule object |
Implements IMyMoneyStorage.
| const QValueList<MyMoneySecurity> MyMoneySeqAccessMgr::securityList | ( | void | ) | const [virtual] |
This method returns a list of security objects that the engine has knowledge of.
Implements IMyMoneySerialize.
| 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.
| currency | reference to the MyMoneyCurrency object |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::modifyCurrency | ( | const MyMoneySecurity & | currency | ) | [virtual] |
This method is used to modify an existing MyMoneyCurrency object.
An exception will be thrown upon erronous situations.
| currency | reference to the MyMoneyCurrency object |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::removeCurrency | ( | const MyMoneySecurity & | currency | ) | [virtual] |
This method is used to remove an existing MyMoneyCurrency object from the engine.
An exception will be thrown upon erronous situations.
| currency | reference to the MyMoneyCurrency object |
Implements IMyMoneyStorage.
| const MyMoneySecurity MyMoneySeqAccessMgr::currency | ( | const QString & | 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.
| id | QString containing the id of the 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.
Implements IMyMoneySerialize.
| const QValueList<MyMoneySchedule> MyMoneySeqAccessMgr::scheduleList | ( | const QString & | accountId = QString(), |
|
| 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 [virtual] |
This method is used to extract a list of scheduled transactions according to the filter criteria passed as arguments.
| accountId | only search for scheduled transactions that reference accound accountId. If accountId is the empty string, this filter is off. Default is QString(). | |
| type | only schedules of type type are searched for. See MyMoneySchedule::typeE for details. Default is MyMoneySchedule::TYPE_ANY | |
| occurence | only schedules of occurence type occurence are searched for. See MyMoneySchedule::occurenceE for details. Default is MyMoneySchedule::OCCUR_ANY | |
| paymentType | only schedules of payment method paymentType are searched for. See MyMoneySchedule::paymentTypeE for details. Default is MyMoneySchedule::STYPE_ANY | |
| startDate | only schedules with payment dates after startDate are searched for. Default is all dates (QDate()). | |
| endDate | only schedules with payment dates ending prior to endDate are searched for. Default is all dates (QDate()). | |
| overdue | if true, only those schedules that are overdue are searched for. Default is false (all schedules will be returned). |
Implements IMyMoneySerialize.
| const QValueList<MyMoneySchedule> MyMoneySeqAccessMgr::scheduleListEx | ( | int | scheduleTypes, | |
| int | scheduleOcurrences, | |||
| int | schedulePaymentTypes, | |||
| QDate | startDate, | |||
| const QStringList & | accounts = QStringList() | |||
| ) | const [virtual] |
Implements IMyMoneySerialize.
| const QValueList<MyMoneyReport> MyMoneySeqAccessMgr::reportList | ( | void | ) | const [virtual] |
This method is used to retrieve the list of all reports known to the engine.
An exception will be thrown upon erronous situations.
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.
| report | reference to the MyMoneyReport object |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::loadReports | ( | const QMap< QString, MyMoneyReport > & | reports | ) | [virtual] |
This method is used to load a set of reports into the engine. This is used when loading from storage, and an ID is already known.
An exception will be thrown upon erronous situations.
| reports | reference to the map of MyMoneyReport objects |
Implements IMyMoneySerialize.
| void MyMoneySeqAccessMgr::modifyReport | ( | const MyMoneyReport & | report | ) | [virtual] |
This method is used to modify an existing MyMoneyReport object. Therefor, the id attribute of the object must be set.
An exception will be thrown upon erronous situations.
| report | const reference to the MyMoneyReport object to be updated |
Implements IMyMoneyStorage.
| unsigned MyMoneySeqAccessMgr::countReports | ( | void | ) | const [virtual] |
This method returns the number of reports currently known to file in the range 0..MAXUINT
Implements IMyMoneyStorage.
| const MyMoneyReport MyMoneySeqAccessMgr::report | ( | const QString & | id | ) | const [virtual] |
This method is used to retrieve a single MyMoneyReport object. The id of the object must be supplied in the parameter id.
An exception will be thrown upon erronous situations.
| id | QString containing the id of the MyMoneyReport object |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::removeReport | ( | const MyMoneyReport & | report | ) | [virtual] |
This method is used to remove an existing MyMoneyReport object from the engine. The id attribute of the object must be set.
An exception will be thrown upon erronous situations.
| report | const reference to the MyMoneyReport object to be updated |
Implements IMyMoneyStorage.
| 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.
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.
| budget | reference to the MyMoneyBudget object |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::loadBudgets | ( | const QMap< QString, 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.
| budgets | reference to the map of MyMoneyBudget object |
Implements IMyMoneySerialize.
| 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.
| budget | QString reference to name of budget |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::modifyBudget | ( | const MyMoneyBudget & | budget | ) | [virtual] |
This method is used to modify an existing MyMoneyBudget object. Therefore, the id attribute of the object must be set.
An exception will be thrown upon erronous situations.
| budget | const reference to the MyMoneyBudget object to be updated |
Implements IMyMoneyStorage.
| unsigned MyMoneySeqAccessMgr::countBudgets | ( | void | ) | const [virtual] |
This method returns the number of budgets currently known to file in the range 0..MAXUINT
Implements IMyMoneyStorage.
| MyMoneyBudget MyMoneySeqAccessMgr::budget | ( | const QString & | 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.
| id | QString containing the id of the MyMoneyBudget object |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::removeBudget | ( | const MyMoneyBudget & | budget | ) | [virtual] |
This method is used to remove an existing MyMoneyBudget object from the engine. The id attribute of the object must be set.
An exception will be thrown upon erronous situations.
| budget | const reference to the MyMoneyBudget object to be updated |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::addPrice | ( | const MyMoneyPrice & | price | ) | [virtual] |
This method adds/replaces a price to/from the price list
Implements IMyMoneySerialize.
| void MyMoneySeqAccessMgr::removePrice | ( | const MyMoneyPrice & | price | ) | [virtual] |
This method removes a price from the price list
Implements IMyMoneyStorage.
| const MyMoneyPrice MyMoneySeqAccessMgr::price | ( | const QString & | fromId, | |
| const QString & | toId, | |||
| const QDate & | date, | |||
| const bool | exactDate | |||
| ) | const [virtual] |
This method retrieves a price from the price list. If date is inValid, QDate::currentDate() is assumed.
Implements IMyMoneyStorage.
| const MyMoneyPriceList MyMoneySeqAccessMgr::priceList | ( | void | ) | const [virtual] |
This method returns a list of all price entries.
Implements IMyMoneySerialize.
| void MyMoneySeqAccessMgr::clearCache | ( | void | ) | [virtual] |
Clear all internal caches (used internally for performance measurements)
Implements IMyMoneyStorage.
| 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.
| obj | const reference to object to be checked | |
| skipCheck | QBitArray with ReferenceCheckBits set for which the check should be skipped |
| false | object is not referenced | |
| true | institution is referenced |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::rebuildAccountBalances | ( | void | ) | [virtual] |
This method recalculates the balances of all accounts based on the transactions stored in the engine.
Implements IMyMoneySerialize.
| virtual void MyMoneySeqAccessMgr::startTransaction | ( | void | ) | [virtual] |
These methods have to be provided to allow transaction safe data handling.
Implements IMyMoneyStorage.
| virtual bool MyMoneySeqAccessMgr::commitTransaction | ( | void | ) | [virtual] |
Implements IMyMoneyStorage.
| virtual void MyMoneySeqAccessMgr::rollbackTransaction | ( | void | ) | [virtual] |
Implements IMyMoneyStorage.
| void MyMoneySeqAccessMgr::removeReferences | ( | const QString & | id | ) | [protected] |
| void MyMoneySeqAccessMgr::touch | ( | void | ) | [private] |
This method is used to set the dirty flag and update the date of the last modification.
| void MyMoneySeqAccessMgr::invalidateBalanceCache | ( | const QString & | id | ) | [private] |
This method is used to invalidate the cached balance for the selected account and all it's parents.
| id | id of the account in question |
| QString MyMoneySeqAccessMgr::nextInstitutionID | ( | void | ) | [private] |
This method is used to get the next valid ID for a institution
| QString MyMoneySeqAccessMgr::nextAccountID | ( | void | ) | [private] |
This method is used to get the next valid ID for an account
| QString MyMoneySeqAccessMgr::nextTransactionID | ( | void | ) | [private] |
This method is used to get the next valid ID for a transaction
| QString MyMoneySeqAccessMgr::nextPayeeID | ( | void | ) | [private] |
This method is used to get the next valid ID for a payee
| QString MyMoneySeqAccessMgr::nextScheduleID | ( | void | ) | [private] |
This method is used to get the next valid ID for a scheduled transaction
| QString MyMoneySeqAccessMgr::nextSecurityID | ( | void | ) | [private] |
This method is used to get the next valid ID for an security object.
| QString MyMoneySeqAccessMgr::nextReportID | ( | void | ) | [private] |
| QString MyMoneySeqAccessMgr::nextBudgetID | ( | void | ) | [private] |
This method is used to get the next valid ID for a budget object.
| void MyMoneySeqAccessMgr::reparentAccount | ( | MyMoneyAccount & | account, | |
| MyMoneyAccount & | parent, | |||
| const bool | sendNotification | |||
| ) | [private] |
This method re-parents an existing account
An exception will be thrown upon error conditions.
| account | MyMoneyAccount reference to account to be re-parented | |
| parent | MyMoneyAccount reference to new parent account | |
| sendNotification | if true, notifications with the ids of all modified objects are send |
| void MyMoneySeqAccessMgr::close | ( | void | ) | [inline, private, virtual] |
This method will close a database and log the use roff
Implements IMyMoneyStorage.
const int MyMoneySeqAccessMgr::INSTITUTION_ID_SIZE = 6 [static, private] |
const int MyMoneySeqAccessMgr::ACCOUNT_ID_SIZE = 6 [static, private] |
const int MyMoneySeqAccessMgr::TRANSACTION_ID_SIZE = 18 [static, private] |
const int MyMoneySeqAccessMgr::PAYEE_ID_SIZE = 6 [static, private] |
const int MyMoneySeqAccessMgr::SCHEDULE_ID_SIZE = 6 [static, private] |
const int MyMoneySeqAccessMgr::SECURITY_ID_SIZE = 6 [static, private] |
const int MyMoneySeqAccessMgr::REPORT_ID_SIZE = 6 [static, private] |
const int MyMoneySeqAccessMgr::BUDGET_ID_SIZE = 6 [static, private] |
MyMoneyPayee MyMoneySeqAccessMgr::m_user [private] |
This member variable keeps the User information.
unsigned long MyMoneySeqAccessMgr::m_nextInstitutionID [private] |
The member variable m_nextInstitutionID keeps the number that will be assigned to the next institution created. It is maintained by nextInstitutionID().
unsigned long MyMoneySeqAccessMgr::m_nextAccountID [private] |
The member variable m_nextAccountID keeps the number that will be assigned to the next institution created. It is maintained by nextAccountID().
unsigned long MyMoneySeqAccessMgr::m_nextTransactionID [private] |
The member variable m_nextTransactionID keeps the number that will be assigned to the next transaction created. It is maintained by nextTransactionID().
unsigned long MyMoneySeqAccessMgr::m_nextPayeeID [private] |
The member variable m_nextPayeeID keeps the number that will be assigned to the next payee created. It is maintained by nextPayeeID()
unsigned long MyMoneySeqAccessMgr::m_nextScheduleID [private] |
The member variable m_nextScheduleID keeps the number that will be assigned to the next schedule created. It is maintained by nextScheduleID()
unsigned long MyMoneySeqAccessMgr::m_nextSecurityID [private] |
The member variable m_nextSecurityID keeps the number that will be assigned to the next security object created. It is maintained by nextSecurityID()
unsigned long MyMoneySeqAccessMgr::m_nextReportID [private] |
unsigned long MyMoneySeqAccessMgr::m_nextBudgetID [private] |
The member variable m_nextBudgetID keeps the number that will be assigned to the next budget object created. It is maintained by nextBudgetID()
MyMoneyMap<QString, MyMoneyInstitution> MyMoneySeqAccessMgr::m_institutionList [private] |
The member variable m_institutionList is the container for the institutions known within this file.
MyMoneyMap<QString, MyMoneyAccount> MyMoneySeqAccessMgr::m_accountList [private] |
The member variable m_accountList is the container for the accounts known within this file.
QMap<QString, MyMoneyBalanceCacheItem> MyMoneySeqAccessMgr::m_balanceCache [mutable, private] |
The member variable m_balanceCache is the container for the accounts actual balance
QDate MyMoneySeqAccessMgr::m_balanceCacheDate [mutable, private] |
This member keeps the date for which the m_balanceCache member is valid. In case the whole cache is invalid it is set to QDate().
MyMoneyMap<QString, MyMoneyTransaction> MyMoneySeqAccessMgr::m_transactionList [private] |
The member variable m_transactionList is the container for all transactions within this file.
MyMoneyMap<QString, QString> MyMoneySeqAccessMgr::m_transactionKeys [private] |
The member variable m_transactionKeys is used to convert transaction id's into the corresponding key used in m_transactionList.
MyMoneyMap<QString, MyMoneyPayee> MyMoneySeqAccessMgr::m_payeeList [private] |
A list containing all the payees that have been used
MyMoneyMap<QString, MyMoneySchedule> MyMoneySeqAccessMgr::m_scheduleList [private] |
A list containing all the scheduled transactions
MyMoneyMap<QString, MyMoneySecurity> MyMoneySeqAccessMgr::m_securitiesList [private] |
A list containing all the security information objects. Each object can represent a stock, bond, or mutual fund. It contains a price history that a user can add entries to. The price history will be used to determine the cost basis for sales, as well as the source of information for reports in a security account.
MyMoneyMap<QString, MyMoneySecurity> MyMoneySeqAccessMgr::m_currencyList [private] |
A list containing all the currency information objects.
MyMoneyMap<QString, MyMoneyReport> MyMoneySeqAccessMgr::m_reportList [private] |
MyMoneyMap<QString, MyMoneyBudget> MyMoneySeqAccessMgr::m_budgetList [private] |
A list containing all the budget information objects.
bool MyMoneySeqAccessMgr::m_dirty [private] |
This member signals if the file has been modified or not
QDate MyMoneySeqAccessMgr::m_creationDate [private] |
This member variable keeps the creation date of this MyMoneySeqAccessMgr object. It is set during the constructor and can only be modified using the stream read operator.
QDate MyMoneySeqAccessMgr::m_lastModificationDate [private] |
This member variable keeps the date of the last modification of the MyMoneySeqAccessMgr object.
unsigned int MyMoneySeqAccessMgr::m_currentFixVersion [private] |
This member variable contains the current fix level of application data files. (see kmymoneyview.cpp)
unsigned int MyMoneySeqAccessMgr::m_fileFixVersion [private] |
This member variable contains the current fix level of the presently open data file. (see kmymoneyview.cpp)
bool MyMoneySeqAccessMgr::m_transactionListFull [private] |
This member variable is set when all transactions have been read from the database. This is would be probably the case when doing, for e.g., a full report, or after some types of transaction search which cannot be easily implemented in SQL
1.5.6