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 ()
void AssignIdL ()
void DecRefCount ()
CBkmrkProperties & ExtendedPropertiesL ()
void GetOwnerL ( TSecureId &)
Bookmark::TItemId Id ()
void IncRefCount ()
TBool IsAChild ( CBookmarkFolder *)
TBool IsOrphaned ()
TBool IsPublic ()
TBool IsWritable ()
void LeaveIfNotInManagerModeL ()
void LeaveIfNotWritableL ()
RBkNode OpenItemL ()
CBookmarkFolder * Parent ()
Bookmark::TItemId ParentId ()
TInt Rank ()
TUint RefCount ()
void SetDirty ()
void SetId ( Bookmark::TItemId )
void SetOrphaned ( TBool )
void SetOwnerL ( TSecureId )
void SetParentL ( CBookmarkFolder &)
void SetPublicL ( TBool )
void SetTitleL (const TDesC &)
void SetWritableL ( TBool )
const TDesC & Title ()
Bookmark::TType Type ()
Protected Member Functions
CBookmarkBase ( CBookmarkDb &, CRepository &)
void TransLoadL ()
void TransNewL ()
void TransRemoveL ()
void TransSaveL ()
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
enum TFlags { 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()

void AssignIdL ( )

DecRefCount()

void DecRefCount ( )

ExtendedPropertiesL()

CBkmrkProperties & ExtendedPropertiesL ( )

GetOwnerL(TSecureId &)

void GetOwnerL ( TSecureId & aOwner )

Parameters

TSecureId & aOwner

Id()

Bookmark::TItemId Id ( )

IncRefCount()

void IncRefCount ( )

IsAChild(CBookmarkFolder *)

TBool IsAChild ( CBookmarkFolder * aParent )

Parameters

CBookmarkFolder * aParent

IsOrphaned()

TBool IsOrphaned ( )

IsPublic()

TBool IsPublic ( )

IsWritable()

TBool IsWritable ( )

LeaveIfNotInManagerModeL()

void LeaveIfNotInManagerModeL ( )

LeaveIfNotWritableL()

void LeaveIfNotWritableL ( )

OpenItemL()

RBkNode OpenItemL ( )

Parent()

CBookmarkFolder * Parent ( ) const

ParentId()

Bookmark::TItemId ParentId ( ) const

Rank()

TInt Rank ( )

RefCount()

TUint RefCount ( )

SetDirty()

void SetDirty ( ) [virtual]

SetId(Bookmark::TItemId)

void SetId ( Bookmark::TItemId )

Parameters

Bookmark::TItemId

SetOrphaned(TBool)

void SetOrphaned ( TBool aOrphaned )

Parameters

TBool aOrphaned

SetOwnerL(TSecureId)

void SetOwnerL ( TSecureId aOwner =  Bookmark::KNoOwnerId )

Parameters

TSecureId aOwner =  Bookmark::KNoOwnerId

SetParentL(CBookmarkFolder &)

void SetParentL ( CBookmarkFolder & aNewParent )

Parameters

CBookmarkFolder & aNewParent

SetPublicL(TBool)

void SetPublicL ( TBool aPublic )

Parameters

TBool aPublic

SetTitleL(const TDesC &)

void SetTitleL ( const TDesC & aTitle )

Parameters

const TDesC & aTitle

SetWritableL(TBool)

void SetWritableL ( TBool aWritable )

Parameters

TBool aWritable

Title()

const TDesC & Title ( ) const

TransLoadL()

void TransLoadL ( ) [protected, virtual]

TransNewL()

void TransNewL ( ) [protected, virtual]

TransRemoveL()

void TransRemoveL ( ) [protected, virtual]

TransSaveL()

void TransSaveL ( ) [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]