CommsDat::CMDBSessionImpl Class Reference
class CommsDat::CMDBSessionImpl : public CBase
|
Inherits from
-
CommsDat::CMDBSessionImpl
Public Member Functions
|
|
CMDBSessionImpl
(
CMDBSession
&)
|
|
~CMDBSessionImpl
()
|
void
|
ClearAttributeMask
(
TMDBAttributeFlags
)
|
void
|
Close
()
|
TInt
|
ConstructL
(
TVersion
)
|
void
|
CreateNodeL
(
TMDBElementId
&,
TMDBElementId
,
CMDBElement
&,
SGenericRecordTypeInfo
*)
|
TInt
|
CreateNotifier
()
|
void
|
CreatePlaceholderL
(
TMDBElementId
&,
TMDBElementId
,
TDesC
&)
|
void
|
CreatePlaceholderL
(
TMDBElementId
&,
TMDBElementId
,
CMDBElement
&)
|
void
|
DeleteAllowedL
(
TMDBElementId
)
|
void
|
EndModification
()
|
TInt
|
FindElementInDatabaseL
(
TMDBElementId
&)
|
TInt
|
FindMatchL
(
RArray
<
TUint32
> &,
RArray
<
TUint32
> &,
TUint32
)
|
TInt
|
GatherParentAttributesL
(
TMDBElementId
&)
|
TMDBAttributeFlags
|
GetReadAttributeMask
()
|
TMDBAttributeFlags
|
GetWriteAttributeMask
()
|
TBool
|
IsInTransaction
()
|
TBool
|
IsSetAttributeMask
(
TMDBAttributeFlags
)
|
TVersion
|
LatestVersion
()
|
TInt
|
LoadElementAttributesL
(
TMDBElementId
&)
|
TInt
|
LoadNodeAttributesL
(
TMDBElementId
&)
|
TInt
|
MaybeCommitTransactionL
(
TBool
,
CMDBElement
*,
TInt
)
|
void
|
MaybeCreateNodeL
(
CMDBElement
&)
|
TInt
|
MaybeDeleteNodeL
(
CMDBElement
*,
TMDBElementId
&)
|
TInt
|
MaybeModifyNodeL
(
TMDBElementId
&)
|
TBool
|
MaybeOpenTransactionL
()
|
CCDNotifier
*
|
NotifierL
()
|
void
|
ReadAllowedL
(
TMDBElementId
)
|
void
|
RollbackTransactionL
()
|
void
|
SetAttributeMask
(
TMDBAttributeFlags
)
|
void
|
SetNodeIdL
(
TMDBElementId
&,
TMDBElementId
,
TMDBElementId
,
TMDBElementId
,
TInt
)
|
CRepository
*
|
StorageL
()
|
TBool
|
UsingLatestVersion
()
|
TVersion
|
VersionInUse
()
|
void
|
WriteAllowedL
(
TMDBElementId
)
|
Constructor & Destructor Documentation
CMDBSessionImpl(CMDBSession &)
Member Functions Documentation
ClearAttributeMask(TMDBAttributeFlags)
void
|
ClearAttributeMask
|
(
|
TMDBAttributeFlags
|
aAttributeMask
|
)
|
|
Parameters
TMDBAttributeFlags
aAttributeMask
|
|
CreateNodeL(TMDBElementId &, TMDBElementId, CMDBElement &, SGenericRecordTypeInfo *)
CreatePlaceholderL(TMDBElementId &, TMDBElementId, TDesC &)
void
|
CreatePlaceholderL
|
(
|
TMDBElementId
&
|
aElementId,
|
|
TMDBElementId
|
aNodeTypeMask,
|
|
TDesC
&
|
aTableName
|
|
)
|
|
Parameters
TMDBElementId
& aElementId
|
|
TMDBElementId
aNodeTypeMask
|
|
TDesC
& aTableName
|
|
CreatePlaceholderL(TMDBElementId &, TMDBElementId, CMDBElement &)
void
|
CreatePlaceholderL
|
(
|
TMDBElementId
&
|
aElementId,
|
|
TMDBElementId
|
aNodeTypeMask,
|
|
CMDBElement
&
|
aElement
|
|
)
|
|
Parameters
TMDBElementId
& aElementId
|
|
TMDBElementId
aNodeTypeMask
|
|
CMDBElement
& aElement
|
|
DeleteAllowedL(TMDBElementId)
void
|
DeleteAllowedL
|
(
|
TMDBElementId
|
aElementId
|
)
|
|
EndModification()
void
|
EndModification
|
(
|
)
|
[inline]
|
EstablishVersionL(TVersion)
void
|
EstablishVersionL
|
(
|
TVersion
|
aVersionToCheck
|
)
|
[private]
|
FindElementInDatabaseL(TMDBElementId &)
TInt
|
FindElementInDatabaseL
|
(
|
TMDBElementId
&
|
aElementId
|
)
|
|
Parameters
TMDBElementId
& aElementId
|
|
FindMatchL(RArray< TUint32 > &, RArray< TUint32 > &, TUint32)
GatherParentAttributesL(TMDBElementId &)
TInt
|
GatherParentAttributesL
|
(
|
TMDBElementId
&
|
aElementId
|
)
|
|
Parameters
TMDBElementId
& aElementId
|
|
GetReadAttributeMask()
TMDBAttributeFlags
|
GetReadAttributeMask
|
(
|
)
|
|
GetWriteAttributeMask()
TMDBAttributeFlags
|
GetWriteAttributeMask
|
(
|
)
|
|
IsInTransaction()
TBool
|
IsInTransaction
|
(
|
)
|
|
IsSetAttributeMask(TMDBAttributeFlags)
TBool
|
IsSetAttributeMask
|
(
|
TMDBAttributeFlags
|
aAttributeMask
|
)
|
|
Parameters
TMDBAttributeFlags
aAttributeMask
|
|
LoadElementAttributesL(TMDBElementId &)
TInt
|
LoadElementAttributesL
|
(
|
TMDBElementId
&
|
aElementId
|
)
|
|
Parameters
TMDBElementId
& aElementId
|
|
LoadNodeAttributesL(TMDBElementId &)
TInt
|
LoadNodeAttributesL
|
(
|
TMDBElementId
&
|
aElementId
|
)
|
|
Parameters
TMDBElementId
& aElementId
|
|
MaybeCommitTransactionL(TBool, CMDBElement *, TInt)
MaybeCreateNodeL(CMDBElement &)
MaybeDeleteNodeL(CMDBElement *, TMDBElementId &)
TInt
|
MaybeDeleteNodeL
|
(
|
CMDBElement
*
|
aElement,
|
|
TMDBElementId
&
|
aElementId
|
|
)
|
|
MaybeModifyNodeL(TMDBElementId &)
TInt
|
MaybeModifyNodeL
|
(
|
TMDBElementId
&
|
aElementId
|
)
|
|
Parameters
TMDBElementId
& aElementId
|
|
MaybeOpenTransactionL()
TBool
|
MaybeOpenTransactionL
|
(
|
)
|
|
ReadAllowedL(TMDBElementId)
void
|
ReadAllowedL
|
(
|
TMDBElementId
|
aElementId
|
)
|
|
RollbackTransactionL()
void
|
RollbackTransactionL
|
(
|
)
|
|
SetAttributeMask(TMDBAttributeFlags)
void
|
SetAttributeMask
|
(
|
TMDBAttributeFlags
|
aAttributeMask
|
)
|
|
Parameters
TMDBAttributeFlags
aAttributeMask
|
|
SetNodeIdL(TMDBElementId &, TMDBElementId, TMDBElementId, TMDBElementId, TInt)
void
|
SetNodeIdL
|
(
|
TMDBElementId
&
|
aElementId,
|
|
TMDBElementId
|
aMask,
|
|
TMDBElementId
|
aInitialId,
|
|
TMDBElementId
|
aMaxId,
|
|
TInt
|
aMaxVal
|
|
)
|
|
Parameters
TMDBElementId
& aElementId
|
|
TMDBElementId
aMask
|
|
TMDBElementId
aInitialId
|
|
TMDBElementId
aMaxId
|
|
TInt
aMaxVal
|
|
UsingLatestVersion()
TBool
|
UsingLatestVersion
|
(
|
)
|
|
WriteAllowedL(TMDBElementId)
void
|
WriteAllowedL
|
(
|
TMDBElementId
|
aElementId
|
)
|
|
Member Data Documentation
TVersion
iClientsDataSetVersion
TVersion
|
iClientsDataSetVersion
|
[private]
|
RProperty
iCommitSeqProperty
CRepository * iCommsStorage
TBool
iInModification
TBool
|
iInModification
|
[private]
|
TBool
iInTransaction
TBool
|
iInTransaction
|
[private]
|
TMDBAttributeFlags
iReadAttributeMask
TMDBAttributeFlags
|
iReadAttributeMask
|
[private]
|
TRequestStatus
iStatusIndicator
TBool
iUsingLatestVersion
TBool
|
iUsingLatestVersion
|
[private]
|
TMDBAttributeFlags
iWriteAttributeMask
TMDBAttributeFlags
|
iWriteAttributeMask
|
[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.