CMsgStoreMessage Class Reference

class CMsgStoreMessage : public CMsgStoreMessagePart

This class represents a message in the message store.

Inherits from

  • CMsgStoreMessage
Public Member Functions
~CMsgStoreMessage ()
IMPORT_C void AbandonL ()
IMPORT_C void CommitL ()
CMsgStoreMessage * NewL ( CMsgStoreSessionContext &, TMsgStoreId , TMsgStoreId , TMsgStoreId , TMsgStoreId , const TDesC8 &)
Private Member Functions
CMsgStoreMessage ( CMsgStoreSessionContext &, TMsgStoreId , TMsgStoreId , TMsgStoreId , TMsgStoreId )
void ConstructL (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()
CMsgStoreMessagePart::AddChildMessageL(CMsgStorePropertyContainer &)
CMsgStoreMessagePart::AddChildPartL(const CMsgStorePropertyContainer &,RFile &)
CMsgStoreMessagePart::AddChildPartL(const CMsgStorePropertyContainer &,const TDesC &)
CMsgStoreMessagePart::CMsgStoreMessagePart(CMsgStoreSessionContext &,TMsgStoreId,TMsgStoreId,TMsgStoreId)
CMsgStoreMessagePart::ChildPartL(TMsgStoreId,TBool)
CMsgStoreMessagePart::ChildPartsL(RPointerArray< CMsgStoreMessagePart > &)
CMsgStoreMessagePart::CopyChildPartL(TMsgStoreId,TMsgStoreId)
CMsgStoreMessagePart::IsEmbeddedMessageL()
CMsgStoreMessagePart::NewL(CMsgStoreSessionContext &,TMsgStoreId,TMsgStoreId,TMsgStoreId,const TDesC8 &)
CMsgStoreMessagePart::RemoveChildPartL(TMsgStoreId,TBool)
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()
CMsgStorePropertyContainerWithContent::AppendToContentL(const TDesC8 &)
CMsgStorePropertyContainerWithContent::CMsgStorePropertyContainerWithContent(CMsgStoreSessionContext &,TMsgStoreId,TMsgStoreId,TMsgStoreId)
CMsgStorePropertyContainerWithContent::ContentLengthL()
CMsgStorePropertyContainerWithContent::ContentTypeL()
CMsgStorePropertyContainerWithContent::FetchContentToBufferL(TDes8 &,TUint)
CMsgStorePropertyContainerWithContent::FetchContentToFileL(const TDesC &)
CMsgStorePropertyContainerWithContent::OpenOriginalContentFileL(RFile &)
CMsgStorePropertyContainerWithContent::PrependToContentL(const TDesC8 &)
CMsgStorePropertyContainerWithContent::RemoveContentL()
CMsgStorePropertyContainerWithContent::ReplaceContentL(const TDesC8 &)
CMsgStorePropertyContainerWithContent::ReplaceContentWithFileL(const TDesC &)
CMsgStorePropertyContainerWithContent::SetContentTypeL(const TDesC &)
CMsgStoreWritablePropertyContainer::CMsgStoreWritablePropertyContainer(CMsgStoreSessionContext &,TMsgStoreId,TMsgStoreId,TMsgStoreId)
CMsgStoreWritablePropertyContainer::StorePropertiesL()
CMsgStoreWritablePropertyContainer::StorePropertyL(TUint)
Private Attributes
const TMsgStoreId iFolderId
Inherited Attributes
CMsgStorePropertyContainer::iId
CMsgStorePropertyContainer::iParentId
CMsgStorePropertyContainer::iProperties
CMsgStorePropertyContainerWithContent::iHasContent
CMsgStoreWritablePropertyContainer::iContext
CMsgStoreWritablePropertyContainer::iMailBoxId

Constructor & Destructor Documentation

CMsgStoreMessage(CMsgStoreSessionContext &, TMsgStoreId, TMsgStoreId, TMsgStoreId, TMsgStoreId)

CMsgStoreMessage ( CMsgStoreSessionContext & aSessionContext,
TMsgStoreId aId,
TMsgStoreId aCurrentParentId,
TMsgStoreId aFolderId,
TMsgStoreId aMailBoxId
) [private]

Parameters

CMsgStoreSessionContext & aSessionContext
TMsgStoreId aId
TMsgStoreId aCurrentParentId
TMsgStoreId aFolderId
TMsgStoreId aMailBoxId

~CMsgStoreMessage()

~CMsgStoreMessage ( ) [virtual]

Member Functions Documentation

AbandonL()

IMPORT_C void AbandonL ( )

Abandons an uncommitted message.

This function abandons an uncommitted message, and all children of the uncommitted message. The message object should no longer be used after this call.

ECapabilityWriteUserData is required to use this function.

CommitL()

IMPORT_C void CommitL ( )

Commits a newly created message to the message store.

This function commits a newly created message to the message store. If this function is not called, then the message will be automatically cleaned up when the message store is restarted.

ECapabilityWriteUserData is required to use this function.

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aPropertiesBuf ) [private]

Parameters

const TDesC8 & aPropertiesBuf

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

CMsgStoreMessage * NewL ( CMsgStoreSessionContext & aSessionContext,
TMsgStoreId aId,
TMsgStoreId aCurrentParentId,
TMsgStoreId aFolderId,
TMsgStoreId aMailBoxId,
const TDesC8 & aPropertiesBuf
) [static]

Parameters

CMsgStoreSessionContext & aSessionContext
TMsgStoreId aId
TMsgStoreId aCurrentParentId
TMsgStoreId aFolderId
TMsgStoreId aMailBoxId
const TDesC8 & aPropertiesBuf

Member Data Documentation

const TMsgStoreId iFolderId

const TMsgStoreId iFolderId [private]