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.

Public Member Functions
~CBookmarkFolder ()
void AppendL ( CBookmarkBase &)
CBookmarkBase & At ( TInt )
CBkmrkProperties & BkmrkPropertiesL ()
TInt Count ()
void DeleteL ()
TInt Find ( Bookmark::TItemId )
TInt Index ( CBookmarkBase &)
TUint32 IndexBase ()
void InsertL ( CBookmarkBase &, TInt )
TInt Move ( TInt , TInt )
CBookmarkFolder * NewL ( CBookmarkFolder *, CBookmarkDb &)
RBkFolder OpenFolder ()
void Remove ( CBookmarkBase &)
void Reset ()
void SendChildrenToFolderL ( CBookmarkFolder &)
void SetIdFromIndexBase ( TUint32 )
void TransLoadL ()
void TransNewL ()
void TransRemoveL ()
void TransSaveL ()
Bookmark::TType Type ()
Private Member Functions
CBookmarkFolder ( CBookmarkDb &)
void ConstructL ( 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 &)

void AppendL ( CBookmarkBase & aBookmarkItem )

Parameters

CBookmarkBase & aBookmarkItem

At(TInt)

CBookmarkBase & At ( TInt aIndex )

Parameters

TInt aIndex

BkmrkPropertiesL()

CBkmrkProperties & BkmrkPropertiesL ( )

ConstructL(CBookmarkFolder *)

void ConstructL ( CBookmarkFolder * aParent ) [private]

Parameters

CBookmarkFolder * aParent

Count()

TInt Count ( ) const

DeleteL()

void DeleteL ( ) [virtual]

Find(Bookmark::TItemId)

TInt Find ( Bookmark::TItemId aId ) const

Parameters

Bookmark::TItemId aId

Index(CBookmarkBase &)

TInt Index ( CBookmarkBase & aBookmarkItem ) const

Parameters

CBookmarkBase & aBookmarkItem

IndexBase()

TUint32 IndexBase ( ) [virtual]

InsertL(CBookmarkBase &, TInt)

void InsertL ( CBookmarkBase & aBookmarkItem,
TInt aIndexPosition
)

Parameters

CBookmarkBase & aBookmarkItem
TInt aIndexPosition

Move(TInt, TInt)

TInt Move ( TInt aOldPosition,
TInt aNewPosition
)

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 &)

void Remove ( CBookmarkBase & aBookmarkItem )

Parameters

CBookmarkBase & aBookmarkItem

Reset()

void Reset ( )

SendChildrenToFolderL(CBookmarkFolder &)

void SendChildrenToFolderL ( CBookmarkFolder & aFolder )

Parameters

CBookmarkFolder & aFolder

SetIdFromIndexBase(TUint32)

void SetIdFromIndexBase ( TUint32 aIndexBase ) [virtual]

Parameters

TUint32 aIndexBase

TransLoadL()

void TransLoadL ( ) [virtual]

TransNewL()

void TransNewL ( ) [virtual]

TransRemoveL()

void TransRemoveL ( ) [virtual]

TransSaveL()

void TransSaveL ( ) [virtual]

Type()

Bookmark::TType Type ( ) const [virtual]

Member Data Documentation

RArray< CBookmarkBase * > iChildren

RArray < CBookmarkBase * > iChildren [private]

CBkmrkProperties * iProperties

CBkmrkProperties * iProperties [private]