CRepositoryAccessor Class Reference

class CRepositoryAccessor : public CBase

This class provides a standard way of saving and loading properties to the central repository. It provides methods for committing data and for maintaining a 'modified' status. This status is used to determine what actions, if any, are required when the item is committed. Items that save and load themselves on the central repository derive from this class

Inherits from

Constructor & Destructor Documentation

CRepositoryAccessor()

CRepositoryAccessor ( )

Member Functions Documentation

CommitL()

void CommitL ( ) [virtual]

DeleteL()

void DeleteL ( ) [virtual]

IndexBase()

TUint32 IndexBase ( ) [pure virtual]

NextIndexL()

Bookmark::TItemId NextIndexL ( )

SetClean()

void SetClean ( )

SetDirty()

void SetDirty ( ) [virtual]

SetIdFromIndexBase(TUint32)

void SetIdFromIndexBase ( TUint32 aIndexBase ) [pure virtual]

Parameters

TUint32 aIndexBase

SetRepository(CRepository &)

void SetRepository ( CRepository & aRepository )

Parameters

CRepository & aRepository

TransLoadL()

void TransLoadL ( ) [pure virtual]

TransNewL()

void TransNewL ( ) [pure virtual]

TransRemoveL()

void TransRemoveL ( ) [pure virtual]

TransSaveL()

void TransSaveL ( ) [pure virtual]

TransactionL(TTransType)

void TransactionL ( TTransType aTransType )

Parameters

TTransType aTransType

Member Enumerations Documentation

Enum TBkmrkStatus

Enumerators

EStatusClean
EStatusDirty
EStatusCreating
EStatusDeleted

Enum TTransType

Enumerators

ETransNew
ETransSave
ETransLoad
ETransRemove

Member Data Documentation

CRepository * iRepository

CRepository * iRepository [protected]

TBkmrkStatus iStatus

TBkmrkStatus iStatus [protected]