CMsgStoreWritablePropertyContainer Class Reference

class CMsgStoreWritablePropertyContainer : public CMsgStorePropertyContainer

This class associates a collection of properties with permanent storage.

This class associates a collection of properties (i.e. name/value pairs) with a location in the message store. Functions are provided to store all of the properties, or to store an individual property.

Note:

: The functions in the parent class manipulate RAM copies of the properties. The functions in this class must be used in order to store the updates in permanent memory.

Inherits from

  • CMsgStoreWritablePropertyContainer
    Public Member Functions
    CMsgStoreWritablePropertyContainer *NewL(CMsgStoreSessionContext &, TMsgStoreId, TMsgStoreId, TMsgStoreId, const TDesC8 &)
    IMPORT_C voidStorePropertiesL()
    IMPORT_C voidStorePropertyL(TUint)
    Protected Member Functions
    CMsgStoreWritablePropertyContainer(CMsgStoreSessionContext &, TMsgStoreId, TMsgStoreId, TMsgStoreId)
    voidConstructL(const TDesC8 &)
    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()
    CMsgStorePropertyContainer::AddOrUpdatePropertyL(const TDesC8 &,TBool)
    CMsgStorePropertyContainer::AddOrUpdatePropertyL(const TDesC8 &,TUint32)
    CMsgStorePropertyContainer::AddOrUpdatePropertyL(const TDesC8 &,const CMsgStorePropertyContainer &)
    CMsgStorePropertyContainer::AddOrUpdatePropertyL(const TDesC8 &,const RMsgStoreAddress &)
    CMsgStorePropertyContainer::AddOrUpdatePropertyL(const TDesC8 &,const TDesC &)
    CMsgStorePropertyContainer::AddOrUpdatePropertyL(const TDesC8 &,const TDesC8 &)
    CMsgStorePropertyContainer::AddOrUpdatePropertyL(const TDesC8 &,const TTime &)
    CMsgStorePropertyContainer::AddPropertyL(const TDesC8 &,TBool)
    CMsgStorePropertyContainer::AddPropertyL(const TDesC8 &,TUint32)
    CMsgStorePropertyContainer::AddPropertyL(const TDesC8 &,const CMsgStorePropertyContainer &)
    CMsgStorePropertyContainer::AddPropertyL(const TDesC8 &,const RMsgStoreAddress &)
    CMsgStorePropertyContainer::AddPropertyL(const TDesC8 &,const TDesC &)
    CMsgStorePropertyContainer::AddPropertyL(const TDesC8 &,const TDesC8 &)
    CMsgStorePropertyContainer::AddPropertyL(const TDesC8 &,const TTime &)
    CMsgStorePropertyContainer::CMsgStorePropertyContainer()
    CMsgStorePropertyContainer::DeserializeL(const TDesC8 &)
    CMsgStorePropertyContainer::FindProperty(const TDesC8 &,TUint &,TUint)const
    CMsgStorePropertyContainer::Id()const
    CMsgStorePropertyContainer::NewL()
    CMsgStorePropertyContainer::ParentId()const
    CMsgStorePropertyContainer::PropertyCount()const
    CMsgStorePropertyContainer::PropertyNameL(TUint)const
    CMsgStorePropertyContainer::PropertyTypeL(TUint)const
    CMsgStorePropertyContainer::PropertyValueAddressL(TUint,RMsgStoreAddress &)const
    CMsgStorePropertyContainer::PropertyValueBoolL(TUint)const
    CMsgStorePropertyContainer::PropertyValueContainerL(TUint)const
    CMsgStorePropertyContainer::PropertyValueDes8L(TUint)const
    CMsgStorePropertyContainer::PropertyValueDesL(TUint)const
    CMsgStorePropertyContainer::PropertyValueTimeL(TUint,TTime &)const
    CMsgStorePropertyContainer::PropertyValueUint32L(TUint)const
    CMsgStorePropertyContainer::RemovePropertyL(TUint)
    CMsgStorePropertyContainer::SerializeL(RBuf8 &)const
    CMsgStorePropertyContainer::SetIds(TMsgStoreId,TMsgStoreId)
    CMsgStorePropertyContainer::UpdatePropertyL(TUint,TBool)
    CMsgStorePropertyContainer::UpdatePropertyL(TUint,TUint32)
    CMsgStorePropertyContainer::UpdatePropertyL(TUint,const CMsgStorePropertyContainer &)
    CMsgStorePropertyContainer::UpdatePropertyL(TUint,const RMsgStoreAddress &)
    CMsgStorePropertyContainer::UpdatePropertyL(TUint,const TDesC &)
    CMsgStorePropertyContainer::UpdatePropertyL(TUint,const TDesC8 &)
    CMsgStorePropertyContainer::UpdatePropertyL(TUint,const TTime &)
    CMsgStorePropertyContainer::ValidateIndexL(TUint)const
    CMsgStorePropertyContainer::~CMsgStorePropertyContainer()
    Protected Attributes
    CMsgStoreSessionContext &iContext
    const TMsgStoreIdiMailBoxId
    Inherited Attributes
    CMsgStorePropertyContainer::iId
    CMsgStorePropertyContainer::iParentId
    CMsgStorePropertyContainer::iProperties

    Constructor & Destructor Documentation

    CMsgStoreWritablePropertyContainer(CMsgStoreSessionContext &, TMsgStoreId, TMsgStoreId, TMsgStoreId)

    CMsgStoreWritablePropertyContainer(CMsgStoreSessionContext &aSessionContext,
    TMsgStoreIdaId,
    TMsgStoreIdaParentId,
    TMsgStoreIdaMailBoxId
    )[protected]

    Parameters

    CMsgStoreSessionContext & aSessionContext
    TMsgStoreId aId
    TMsgStoreId aParentId
    TMsgStoreId aMailBoxId

    Member Functions Documentation

    ConstructL(const TDesC8 &)

    voidConstructL(const TDesC8 &aProperties)[protected]

    Parameters

    const TDesC8 & aProperties

    NewL(CMsgStoreSessionContext &, TMsgStoreId, TMsgStoreId, TMsgStoreId, const TDesC8 &)

    CMsgStoreWritablePropertyContainer *NewL(CMsgStoreSessionContext &aSessionContext,
    TMsgStoreIdaId,
    TMsgStoreIdaParentId,
    TMsgStoreIdaMailBoxId,
    const TDesC8 &aPropertiesBuf
    )[static]

    Internal method, not exported

    Parameters

    CMsgStoreSessionContext & aSessionContext
    TMsgStoreId aId
    TMsgStoreId aParentId
    TMsgStoreId aMailBoxId
    const TDesC8 & aPropertiesBuf

    StorePropertiesL()

    IMPORT_C voidStorePropertiesL()

    Writes all properties to storage. When a new message is being created this method won't work until the message is committed.

    StorePropertyL(TUint)

    IMPORT_C voidStorePropertyL(TUintaPropertyIndex)

    Writes an individual property to storage. When a new message is being created this method won't work until the message is committed.

    Parameters

    TUint aPropertyIndex

    Member Data Documentation

    CMsgStoreSessionContext & iContext

    CMsgStoreSessionContext &iContext[protected]

    const TMsgStoreId iMailBoxId

    const TMsgStoreIdiMailBoxId[protected]