CBookmarkFolder Class Reference

class CBookmarkFolder : public CBookmarkBase

Internal representation of a bookmark folder. It contains the folder specific properties and holds a pointer to an extended properties object. This object is only loaded when needed. A folder holds a list of child bookmark items. These can be either bookmarks or further folders. CBookmarkFolder provides methods for inserting, removing and moving these child bookmark items.

Inherits from

Public Member Functions
~CBookmarkFolder()
voidAppendL(CBookmarkBase &)
CBookmarkBase &At(TInt)
CBkmrkProperties &BkmrkPropertiesL()
TInt Count()
voidDeleteL()
TInt Find(Bookmark::TItemId)
TInt Index(CBookmarkBase &)
TUint32 IndexBase()
voidInsertL(CBookmarkBase &, TInt)
TInt Move(TInt, TInt)
CBookmarkFolder *NewL(CBookmarkFolder *, CBookmarkDb &)
RBkFolder OpenFolder()
voidRemove(CBookmarkBase &)
voidReset()
voidSendChildrenToFolderL(CBookmarkFolder &)
voidSetIdFromIndexBase(TUint32)
voidTransLoadL()
voidTransNewL()
voidTransRemoveL()
voidTransSaveL()
Bookmark::TType Type()
Private Member Functions
CBookmarkFolder(CBookmarkDb &)
voidConstructL(CBookmarkFolder *)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CBookmarkBase::AssignIdL()
CBookmarkBase::CBookmarkBase(CBookmarkDb &,CRepository &)
CBookmarkBase::DecRefCount()
CBookmarkBase::ExtendedPropertiesL()
CBookmarkBase::GetOwnerL(TSecureId &)
CBookmarkBase::Id()
CBookmarkBase::IncRefCount()
CBookmarkBase::IsAChild(CBookmarkFolder *)
CBookmarkBase::IsOrphaned()
CBookmarkBase::IsPublic()
CBookmarkBase::IsWritable()
CBookmarkBase::LeaveIfNotInManagerModeL()
CBookmarkBase::LeaveIfNotWritableL()
CBookmarkBase::OpenItemL()
CBookmarkBase::Parent()const
CBookmarkBase::ParentId()const
CBookmarkBase::Rank()
CBookmarkBase::RefCount()
CBookmarkBase::SetDirty()
CBookmarkBase::SetId(Bookmark::TItemId)
CBookmarkBase::SetOrphaned(TBool)
CBookmarkBase::SetOwnerL(TSecureId)
CBookmarkBase::SetParentL(CBookmarkFolder &)
CBookmarkBase::SetPublicL(TBool)
CBookmarkBase::SetTitleL(const TDesC &)
CBookmarkBase::SetWritableL(TBool)
CBookmarkBase::Title()const
CBookmarkBase::~CBookmarkBase()
CRepositoryAccessor::CRepositoryAccessor()
CRepositoryAccessor::CommitL()
CRepositoryAccessor::NextIndexL()
CRepositoryAccessor::SetClean()
CRepositoryAccessor::SetRepository(CRepository &)
CRepositoryAccessor::TransactionL(TTransType)
Inherited Enumerations
CBookmarkBase:TFlags
CRepositoryAccessor:TBkmrkStatus
CRepositoryAccessor:TTransType
Private Attributes
RArray< CBookmarkBase * >iChildren
CBkmrkProperties *iProperties
Inherited Attributes
CBookmarkBase::iDatabase
CBookmarkBase::iFlags
CBookmarkBase::iId
CBookmarkBase::iParent
CBookmarkBase::iParentId
CBookmarkBase::iRank
CBookmarkBase::iRefCount
CBookmarkBase::iTitle
CRepositoryAccessor::iRepository
CRepositoryAccessor::iStatus

Constructor & Destructor Documentation

CBookmarkFolder(CBookmarkDb &)

CBookmarkFolder(CBookmarkDb &aDb)[private]

Parameters

CBookmarkDb & aDb

~CBookmarkFolder()

~CBookmarkFolder()

Member Functions Documentation

AppendL(CBookmarkBase &)

voidAppendL(CBookmarkBase &aBookmarkItem)

Parameters

CBookmarkBase & aBookmarkItem

At(TInt)

CBookmarkBase &At(TIntaIndex)

Parameters

TInt aIndex

BkmrkPropertiesL()

CBkmrkProperties &BkmrkPropertiesL()

ConstructL(CBookmarkFolder *)

voidConstructL(CBookmarkFolder *aParent)[private]

Parameters

CBookmarkFolder * aParent

Count()

TInt Count()const

DeleteL()

voidDeleteL()[virtual]

Find(Bookmark::TItemId)

TInt Find(Bookmark::TItemIdaId)const

Parameters

Bookmark::TItemId aId

Index(CBookmarkBase &)

TInt Index(CBookmarkBase &aBookmarkItem)const

Parameters

CBookmarkBase & aBookmarkItem

IndexBase()

TUint32 IndexBase()[virtual]

InsertL(CBookmarkBase &, TInt)

voidInsertL(CBookmarkBase &aBookmarkItem,
TIntaIndexPosition
)

Parameters

CBookmarkBase & aBookmarkItem
TInt aIndexPosition

Move(TInt, TInt)

TInt Move(TIntaOldPosition,
TIntaNewPosition
)

Parameters

TInt aOldPosition
TInt aNewPosition

NewL(CBookmarkFolder *, CBookmarkDb &)

CBookmarkFolder *NewL(CBookmarkFolder *aParent,
CBookmarkDb &aDb
)[static]

Parameters

CBookmarkFolder * aParent
CBookmarkDb & aDb

OpenFolder()

RBkFolder OpenFolder()

Remove(CBookmarkBase &)

voidRemove(CBookmarkBase &aBookmarkItem)

Parameters

CBookmarkBase & aBookmarkItem

Reset()

voidReset()

SendChildrenToFolderL(CBookmarkFolder &)

voidSendChildrenToFolderL(CBookmarkFolder &aFolder)

Parameters

CBookmarkFolder & aFolder

SetIdFromIndexBase(TUint32)

voidSetIdFromIndexBase(TUint32aIndexBase)[virtual]

Parameters

TUint32 aIndexBase

TransLoadL()

voidTransLoadL()[virtual]

TransNewL()

voidTransNewL()[virtual]

TransRemoveL()

voidTransRemoveL()[virtual]

TransSaveL()

voidTransSaveL()[virtual]

Type()

Bookmark::TType Type()const [virtual]

Member Data Documentation

RArray< CBookmarkBase * > iChildren

RArray< CBookmarkBase * >iChildren[private]

CBkmrkProperties * iProperties

CBkmrkProperties *iProperties[private]