CCommDbTableExtension Class Reference
class CCommDbTableExtension : public CBase
|
Public Member Functions
|
|
~CCommDbTableExtension
()
|
TInt
|
CancelRecordChanges
(
CMDBSession
&)
|
void
|
CommitTransaction
()
|
void
|
DeleteCurrentRecordL
(
CMDBSession
&,
TBool
)
|
TDbColType
|
GetColType
(
TInt
)
|
TInt
|
GetCurrentRecord
(
CMDBRecordBase
*&)
|
CMDBRecordBase *
|
GetCurrentRecordL
()
|
TInt
|
GetMaxTypeLength
(
TInt
)
|
void
|
GetRecordInfoL
(const
TDesC
&,
TDbColType
&,
TUint32
&)
|
TInt
|
GetRecordSet
(
CMDBRecordSetBase
*&)
|
TInt
|
GetRecordSetIndex
(
TInt
&)
|
TInt
|
GetRecordSetIndexL
()
|
CMDBRecordSetBase *
|
GetRecordSetL
()
|
TInt
|
GetTableAccess
(
RDbRowSet::TAccess
&)
|
TInt
|
GotoFirstRecord
(
CMDBSession
&)
|
TInt
|
GotoNextRecord
(
CMDBSession
&)
|
TInt
|
GotoPreviousRecord
(
CMDBSession
&)
|
void
|
InsertConnPrefRecordL
(
CCDConnectionPrefsRecord
*,
CMDBSession
&)
|
void
|
InsertRecordL
(
TBool
,
TUint32
&,
CMDBSession
&,
TBool
)
|
TBool
|
IsGenericRecord
(TMDBElementId)
|
CCommDbTableExtension
*
|
NewL
()
|
CMDBRecordSetBase
*
|
RecordSetFactoryL
(const
TDesC
&,
TBool
,
CMDBSession
&)
|
void
|
RefreshDatabaseL
(
CMDBSession
&)
|
void
|
ResetAndDestroyL
()
|
void
|
ResetArrays
(
CMDBSession
&)
|
void
|
RollBackTransaction
()
|
void
|
SetRecordSet
(
CMDBRecordSetBase
*)
|
void
|
SetRecordSetL
(const
TDesC
&,
CMDBSession
&,
TBool
,
TBool
,
TBool
)
|
void
|
SetShowHiddenRecords
(
TBool
)
|
void
|
SortById
()
|
void
|
SortByRank
()
|
Constructor & Destructor Documentation
CCommDbTableExtension()
CCommDbTableExtension
|
(
|
)
|
[private]
|
~CCommDbTableExtension()
~CCommDbTableExtension
|
(
|
)
|
|
Deletes the memory allocated to the members iColSet, iQueryText and iAccess
Member Functions Documentation
AdvanceIndexToNextValidRecord(TInt &)
TBool
|
AdvanceIndexToNextValidRecord
|
(
|
TInt
&
|
aIdx
|
)
|
const [private]
|
AdvanceIndexToPrevValidRecord(TInt &)
TBool
|
AdvanceIndexToPrevValidRecord
|
(
|
TInt
&
|
aIdx
|
)
|
const [private]
|
CancelRecordChanges(CMDBSession &)
CommitTransaction()
void
|
CommitTransaction
|
(
|
)
|
|
CompareRecordsById(const CMDBRecordBase &, const CMDBRecordBase &)
CompareRecordsByRank(const CMDBRecordBase &, const CMDBRecordBase &)
DeleteCurrentRecordL(CMDBSession &, TBool)
FindFirstNextValidRecord(TBool)
TBool
|
FindFirstNextValidRecord
|
(
|
TBool
|
aResetToStart
|
)
|
[private]
|
FindFirstPrevValidRecord()
TBool
|
FindFirstPrevValidRecord
|
(
|
)
|
[private]
|
FindValueInRecSet(TInt)
TInt
|
FindValueInRecSet
|
(
|
TInt
|
aValue
|
)
|
const [private]
|
GetCurrentRecord(CMDBRecordBase *&)
GetCurrentRecordIndex()
TInt
|
GetCurrentRecordIndex
|
(
|
)
|
const [private]
|
GetCurrentRecordL()
CMDBRecordBase *
|
GetCurrentRecordL
|
(
|
)
|
|
GetRecordInfoL(const TDesC &, TDbColType &, TUint32 &)
GetRecordSet(CMDBRecordSetBase *&)
GetRecordSetIndex(TInt &)
TInt
|
GetRecordSetIndex
|
(
|
TInt
&
|
aIndex
|
)
|
|
Gets the value of the member iRecordIndex
GetRecordSetIndexL()
TInt
|
GetRecordSetIndexL
|
(
|
)
|
|
Gets the value of the member iRecordIndex
GetRecordSetL()
CMDBRecordSetBase *
|
GetRecordSetL
|
(
|
)
|
|
Gets the value of the member iRecordIndex
GetTableAccess(RDbRowSet::TAccess &)
GotoFirstRecord(CMDBSession &)
GotoNextRecord(CMDBSession &)
GotoPreviousRecord(CMDBSession &)
InsertConnPrefRecordL(CCDConnectionPrefsRecord *, CMDBSession &)
InsertRecordL(TBool, TUint32 &, CMDBSession &, TBool)
IsGenericRecord(TMDBElementId)
TBool
|
IsGenericRecord
|
(
|
TMDBElementId
|
aElementId
|
)
|
const
|
MaybeRefreshCurrentRecord(CMDBSession &)
RecordSetFactoryL(const TDesC &, TBool, CMDBSession &)
RefreshDatabaseL(CMDBSession &)
ResetAndDestroyL()
void
|
ResetAndDestroyL
|
(
|
)
|
|
ResetArrays(CMDBSession &)
RollBackTransaction()
void
|
RollBackTransaction
|
(
|
)
|
|
SetRecordSet(CMDBRecordSetBase *)
SetRecordSetL(const TDesC &, CMDBSession &, TBool, TBool, TBool)
SetShowHiddenRecords(TBool)
void
|
SetShowHiddenRecords
|
(
|
TBool
|
aShowHidden
|
)
|
[inline]
|
SortById()
Sorting values in iRecordSetContainer by Id value
UpdateLastCommitSeq()
void
|
UpdateLastCommitSeq
|
(
|
)
|
[private]
|
Member Data Documentation
CMDBRecordBase * iBeginingOfTableRecordBackup
RProperty
iCommitSeqProperty
CMDBRecordBase * iCurrentRecord
RArray< TUint32 > iDeletedRecords
CMDBRecordBase * iEndOfTableRecordBackup
RArray< TUint32 > iInsertedRecords
TInt
iLastCommitSeq
TInt
|
iLastCommitSeq
|
[private]
|
CMDBRecordSetBase * iRecordSetContainer
TBool
iShowHidden
TBool
|
iShowHidden
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.