CEvtDatabase Class Reference
class CEvtDatabase : public CBase
|
Interface class to Location Events Database. This class allows for Events to be stored in persistent database
evtstorage.lib
-
Since
-
S60 v9.1
Constructor & Destructor Documentation
CEvtDatabase()
CEvtDatabase
|
(
|
)
|
[private]
|
~CEvtDatabase()
~CEvtDatabase
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddEventL(CEvtEvent &)
Insert Event to database.
CheckIfActionPresentL(TInt64)
check if Action is present.
CheckIfEventPresentL(TEvtEventId)
check if Event is present.
CloseDatabase()
void
|
CloseDatabase
|
(
|
)
|
[private]
|
Close Database Connection.
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Second phase of the two phase constructor.
CreateActionL(CEvtAction &)
void
|
CreateActionL
|
(
|
CEvtAction
&
|
aEvtAction
|
)
|
[private]
|
CreateIndexL()
void
|
CreateIndexL
|
(
|
)
|
[private]
|
CreateOpenDatabaseL()
void
|
CreateOpenDatabaseL
|
(
|
)
|
[private]
|
Create and Open Database Connection.
CreateSchemaL()
void
|
CreateSchemaL
|
(
|
)
|
[private]
|
Create the Schema for Events Storage.
CreateTablesL()
void
|
CreateTablesL
|
(
|
)
|
[private]
|
CreateTriggerL()
void
|
CreateTriggerL
|
(
|
)
|
[private]
|
Create All the related Triggers.
DeleteActionL(TEvtEventId)
DeleteEventL(TEvtEventId)
GetActionId(TEvtEventId)
Get the action Id based on Event Id.
GetEventL(TEvtEventId)
Get Event based on unique Id.
GetEventsL(TEvtEventStatus, RPointerArray< CEvtBasicEventInfo > &)
Get Events List based on status.
GetEventsL(RPointerArray< CEvtBasicEventInfo > &)
Get Events List based on status.
GetEventsL(RSqlStatement &, RPointerArray< CEvtBasicEventInfo > &)
Get Events based on Query String.
HandleDbChangedL()
void
|
HandleDbChangedL
|
(
|
)
|
|
Observer for TDbChangeType changes in Storage Database.
NewL()
Constructs a new instance of
CEvtDatabase
.
-
leave
-
System wide error code if the object creation fails.
NewLC()
Constructs a new instance of Event Storage Manager interface. Leaves the created instance on the cleanup stack.
-
leave
-
System wide error code if the object creation fails.
OpenDatabaseL()
void
|
OpenDatabaseL
|
(
|
)
|
[private]
|
Open Database Connection.
RemoveEventL(TEvtEventId)
Remove Event from database based on unique Id.
RemoveEventsL(const RArray< TEvtEventId > &)
Remove Events from database.
SetObserver(MEvtStorageDbObserver *)
Set the Observer fo Storage Database.
UpdateActionL(CEvtAction &)
void
|
UpdateActionL
|
(
|
CEvtAction
&
|
aEvtAction
|
)
|
[private]
|
UpdateEventL(CEvtEvent &)
Update Event based on unique Id.
UpdateEventStatusL(TEvtEventId, TEvtEventStatus)
Update Event Status based on unique Id.
UpdateEventTableL(CEvtEvent &)
void
|
UpdateEventTableL
|
(
|
CEvtEvent
&
|
aEvtEvent
|
)
|
[private]
|
UpdateEventsStatusL(const RArray< TEvtEventId > &, TEvtEventStatus)
Member Data Documentation
CEvtDbNotifier * iDbNotifier
MEvtStorageDbObserver * iStorageDbObserver
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.