CBookmarkDb Class Reference
class CBookmarkDb : public CRepositoryAccessor
|
Internal representation for the bookmark database. The database object creates the connection to the repositories and is the entry point for browsing the boomark tree. It is also responsible for all database-wide properties.
Nested Classes and Structures
Constructor & Destructor Documentation
CBookmarkDb(MBookmarkObserver *)
Member Functions Documentation
AddItemsToFolderTreeL(TBkmrkList &)
void
|
AddItemsToFolderTreeL
|
(
|
TBkmrkList
&
|
aList
|
)
|
[private]
|
BWONotify(TBkmrkWatcherType)
void
|
BWONotify
|
(
|
TBkmrkWatcherType
|
aType
|
)
|
|
CheckAccessL(CBookmarkBase &)
CommitL()
void
|
CommitL
|
(
|
)
|
[virtual]
|
ConstructL(Bookmark::TVisibility)
void
|
ConstructL
|
(
|
Bookmark::TVisibility
|
aVisibility
|
)
|
[private]
|
Parameters
Bookmark::TVisibility
aVisibility
|
|
CreateBookmarkL(CBookmarkFolder &)
CreateDefaultRepositoriesL()
void
|
CreateDefaultRepositoriesL
|
(
|
)
|
|
CreateFolderL(const TDesC &, CBookmarkFolder &)
CreateIconL(const TDesC8 &)
Bookmark::TAttachmentId
|
CreateIconL
|
(
|
const
TDesC8
&
|
aData
|
)
|
|
DeleteIconL(Bookmark::TAttachmentId)
TInt
|
DeleteIconL
|
(
|
Bookmark::TAttachmentId
|
aIconId
|
)
|
|
Parameters
Bookmark::TAttachmentId
aIconId
|
|
DeleteItemL(Bookmark::TItemId, TBool)
void
|
DeleteItemL
|
(
|
Bookmark::TItemId
|
aItem,
|
|
TBool
|
aRecursive
|
|
)
|
|
Parameters
Bookmark::TItemId
aItem
|
|
TBool
aRecursive
|
|
FindFolder(const TDesC &)
Parameters
const
TDesC
& aFolderName
|
|
FindIcon(Bookmark::TAttachmentId)
TInt
|
FindIcon
|
(
|
Bookmark::TAttachmentId
|
aIconId
|
)
|
[private]
|
Parameters
Bookmark::TAttachmentId
aIconId
|
|
FindItem(Bookmark::TItemId)
FindUnloadedFolder(const TDesC &)
TBool
|
FindUnloadedFolder
|
(
|
const
TDesC
&
|
aFolderName
|
)
|
|
Parameters
const
TDesC
& aFolderName
|
|
HasDataInRepositoryL()
TBool
|
HasDataInRepositoryL
|
(
|
)
|
[private]
|
HasOpenHandles()
TBool
|
HasOpenHandles
|
(
|
)
|
[private]
|
HomePageText()
const
TDesC
&
|
HomePageText
|
(
|
)
|
const
|
IconL(Bookmark::TAttachmentId)
const
TDesC8
&
|
IconL
|
(
|
Bookmark::TAttachmentId
|
aIconId
|
)
|
|
Parameters
Bookmark::TAttachmentId
aIconId
|
|
InitialiseRepL(CRepository &)
void
|
InitialiseRepL
|
(
|
CRepository
&
|
aRepository
|
)
|
[private]
|
IsTreeConstructed()
TBool
|
IsTreeConstructed
|
(
|
)
|
|
LoadBookmarkListL(CRepository &, TBkmrkList &, Bookmark::TType, TBool)
LoadIconsL()
void
|
LoadIconsL
|
(
|
)
|
[private]
|
LoadTreeL()
void
|
LoadTreeL
|
(
|
)
|
[private]
|
NewL(Bookmark::TVisibility, MBookmarkObserver *)
RemoveBookmarkL(CBookmark *)
void
|
RemoveBookmarkL
|
(
|
CBookmark
*
|
aBookmark
|
)
|
|
RemoveFolderIfPublicL(CBookmarkFolder &)
RemoveFolderL(CBookmarkFolder *)
ResetAndDestroyBkmrkList(TAny *)
void
|
ResetAndDestroyBkmrkList
|
(
|
TAny
*
|
aPtr
|
)
|
[private, static]
|
ResetIcons()
void
|
ResetIcons
|
(
|
)
|
[private]
|
ResetTree()
void
|
ResetTree
|
(
|
)
|
[private]
|
SearchUri()
const
TDesC8
&
|
SearchUri
|
(
|
)
|
const
|
SetDefaultNap(TUint32)
void
|
SetDefaultNap
|
(
|
TUint32
|
aNetworkId
|
)
|
|
SetDefaultProxy(TUint32)
void
|
SetDefaultProxy
|
(
|
TUint32
|
aServiceId
|
)
|
|
SetHomePageTextL(const TDesC &)
void
|
SetHomePageTextL
|
(
|
const
TDesC
&
|
aHomePageText
|
)
|
|
Parameters
const
TDesC
& aHomePageText
|
|
SetIdFromIndexBase(TUint32)
void
|
SetIdFromIndexBase
|
(
|
TUint32
|
aIndexBase
|
)
|
[virtual]
|
SetSearchUriL(const TDesC8 &)
void
|
SetSearchUriL
|
(
|
const
TDesC8
&
|
aUri
|
)
|
|
TransLoadL()
void
|
TransLoadL
|
(
|
)
|
[virtual]
|
TransNewL()
void
|
TransNewL
|
(
|
)
|
[virtual]
|
TransRemoveL()
void
|
TransRemoveL
|
(
|
)
|
[virtual]
|
TransSaveL()
void
|
TransSaveL
|
(
|
)
|
[virtual]
|
Visibility()
Bookmark::TVisibility
|
Visibility
|
(
|
)
|
|
Member Data Documentation
TBool
iBkmrkDbInitialized
TBool
|
iBkmrkDbInitialized
|
[private]
|
CRepository * iBookmarkRepository
CBkmrkWatcher * iBookmarkWatcher
TBool
iConfigSync
TBool
|
iConfigSync
|
[private]
|
CPropertyList * iCustomProperties
CRepository * iDatabaseRepository
CBkmrkWatcher * iDatabaseWatcher
TInt
iDefaultNap
TInt
|
iDefaultNap
|
[private]
|
TInt
iDefaultProxy
TInt
|
iDefaultProxy
|
[private]
|
TBkmrkAccessorList
iDeletedList
CRepository * iFolderRepository
CBkmrkWatcher * iFolderWatcher
HBufC * iHomeText
HBufC
*
|
iHomeText
|
[private]
|
RArray< CBkmrkAttachment * > iIconList
CRepository * iIconRepository
TBool
iIconSync
TBool
|
iIconSync
|
[private]
|
CBkmrkWatcher * iIconWatcher
MBookmarkObserver * iObserver
CPropertyReg * iPropertyRegister
TBool
iTreeConstructed
TBool
|
iTreeConstructed
|
[private]
|
TBool
iTreeSync
TBool
|
iTreeSync
|
[private]
|
CDesCArrayFlat * iUnloadedFolderList
Bookmark::TVisibility
iVisibility
Bookmark::TVisibility
|
iVisibility
|
[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.