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

voidCommitL()[virtual]

DeleteL()

voidDeleteL()[virtual]

IndexBase()

TUint32 IndexBase()[pure virtual]

NextIndexL()

Bookmark::TItemId NextIndexL()

SetClean()

voidSetClean()

SetDirty()

voidSetDirty()[virtual]

SetIdFromIndexBase(TUint32)

voidSetIdFromIndexBase(TUint32aIndexBase)[pure virtual]

Parameters

TUint32 aIndexBase

SetRepository(CRepository &)

voidSetRepository(CRepository &aRepository)

Parameters

CRepository & aRepository

TransLoadL()

voidTransLoadL()[pure virtual]

TransNewL()

voidTransNewL()[pure virtual]

TransRemoveL()

voidTransRemoveL()[pure virtual]

TransSaveL()

voidTransSaveL()[pure virtual]

TransactionL(TTransType)

voidTransactionL(TTransTypeaTransType)

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]