CBookmarkBase Class Reference

class CBookmarkBase : public CRepositoryAccessor

The base class for bookmark items. This is an abstract class. All concrete bookmark objects derive from this and are either bookmarks or folders. It is responsible for managing common properties in both bookmarks and folders

Inherits from

Public Member Functions
~CBookmarkBase()
voidAssignIdL()
voidDecRefCount()
CBkmrkProperties &ExtendedPropertiesL()
voidGetOwnerL(TSecureId &)
Bookmark::TItemId Id()
voidIncRefCount()
TBool IsAChild(CBookmarkFolder *)
TBool IsOrphaned()
TBool IsPublic()
TBool IsWritable()
voidLeaveIfNotInManagerModeL()
voidLeaveIfNotWritableL()
RBkNode OpenItemL()
CBookmarkFolder *Parent()
Bookmark::TItemId ParentId()
TInt Rank()
TUint RefCount()
voidSetDirty()
voidSetId(Bookmark::TItemId)
voidSetOrphaned(TBool)
voidSetOwnerL(TSecureId)
voidSetParentL(CBookmarkFolder &)
voidSetPublicL(TBool)
voidSetTitleL(const TDesC &)
voidSetWritableL(TBool)
const TDesC &Title()
Bookmark::TType Type()
Protected Member Functions
CBookmarkBase(CBookmarkDb &, CRepository &)
voidTransLoadL()
voidTransNewL()
voidTransRemoveL()
voidTransSaveL()
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()
CRepositoryAccessor::CRepositoryAccessor()
CRepositoryAccessor::CommitL()
CRepositoryAccessor::DeleteL()
CRepositoryAccessor::IndexBase()
CRepositoryAccessor::NextIndexL()
CRepositoryAccessor::SetClean()
CRepositoryAccessor::SetIdFromIndexBase(TUint32)
CRepositoryAccessor::SetRepository(CRepository &)
CRepositoryAccessor::TransactionL(TTransType)
Protected Member Enumerations
enumTFlags { EFlagNull = 0x0, EFlagPublic = 0x1, EFlagWritable = 0x2, EFlagOrphaned = 0x4 }
Inherited Enumerations
CRepositoryAccessor:TBkmrkStatus
CRepositoryAccessor:TTransType
Protected Attributes
CBookmarkDb &iDatabase
TUint32 iFlags
Bookmark::TItemId iId
CBookmarkFolder *iParent
Bookmark::TItemId iParentId
TInt iRank
TUint iRefCount
HBufC *iTitle
Inherited Attributes
CRepositoryAccessor::iRepository
CRepositoryAccessor::iStatus

Constructor & Destructor Documentation

CBookmarkBase(CBookmarkDb &, CRepository &)

CBookmarkBase(CBookmarkDb &aDb,
CRepository &aRepository
)[protected]

Parameters

CBookmarkDb & aDb
CRepository & aRepository

~CBookmarkBase()

~CBookmarkBase()[virtual]

Member Functions Documentation

AssignIdL()

voidAssignIdL()

DecRefCount()

voidDecRefCount()

ExtendedPropertiesL()

CBkmrkProperties &ExtendedPropertiesL()

GetOwnerL(TSecureId &)

voidGetOwnerL(TSecureId &aOwner)

Parameters

TSecureId & aOwner

Id()

Bookmark::TItemId Id()

IncRefCount()

voidIncRefCount()

IsAChild(CBookmarkFolder *)

TBool IsAChild(CBookmarkFolder *aParent)

Parameters

CBookmarkFolder * aParent

IsOrphaned()

TBool IsOrphaned()

IsPublic()

TBool IsPublic()

IsWritable()

TBool IsWritable()

LeaveIfNotInManagerModeL()

voidLeaveIfNotInManagerModeL()

LeaveIfNotWritableL()

voidLeaveIfNotWritableL()

OpenItemL()

RBkNode OpenItemL()

Parent()

CBookmarkFolder *Parent()const

ParentId()

Bookmark::TItemId ParentId()const

Rank()

TInt Rank()

RefCount()

TUint RefCount()

SetDirty()

voidSetDirty()[virtual]

SetId(Bookmark::TItemId)

voidSetId(Bookmark::TItemId)

SetOrphaned(TBool)

voidSetOrphaned(TBoolaOrphaned)

Parameters

TBool aOrphaned

SetOwnerL(TSecureId)

voidSetOwnerL(TSecureIdaOwner =  Bookmark::KNoOwnerId )

Parameters

TSecureId aOwner =  Bookmark::KNoOwnerId

SetParentL(CBookmarkFolder &)

voidSetParentL(CBookmarkFolder &aNewParent)

Parameters

CBookmarkFolder & aNewParent

SetPublicL(TBool)

voidSetPublicL(TBoolaPublic)

Parameters

TBool aPublic

SetTitleL(const TDesC &)

voidSetTitleL(const TDesC &aTitle)

Parameters

const TDesC & aTitle

SetWritableL(TBool)

voidSetWritableL(TBoolaWritable)

Parameters

TBool aWritable

Title()

const TDesC &Title()const

TransLoadL()

voidTransLoadL()[protected, virtual]

TransNewL()

voidTransNewL()[protected, virtual]

TransRemoveL()

voidTransRemoveL()[protected, virtual]

TransSaveL()

voidTransSaveL()[protected, virtual]

Type()

Bookmark::TType Type()const [pure virtual]

Member Enumerations Documentation

Enum TFlags

Enumerators

EFlagNull = 0x0
EFlagPublic = 0x1
EFlagWritable = 0x2
EFlagOrphaned = 0x4

Member Data Documentation

CBookmarkDb & iDatabase

CBookmarkDb &iDatabase[protected]

TUint32 iFlags

TUint32 iFlags[protected]

Bookmark::TItemId iId

Bookmark::TItemId iId[protected]

CBookmarkFolder * iParent

CBookmarkFolder *iParent[protected]

Bookmark::TItemId iParentId

Bookmark::TItemId iParentId[protected]

TInt iRank

TInt iRank[protected]

TUint iRefCount

TUint iRefCount[protected]

HBufC * iTitle

HBufC *iTitle[protected]