RContactRemoteView Class Reference

class RContactRemoteView : public RSubSessionBase

This class is used internally by remote contact views as the handle to the server side view object.

CContactRemoteViewBase

Inherits from

Public Member Functions
HBufC * AllFieldsLC ( TInt , const TDesC &)
TContactItemId AtL ( TInt )
TInt CancelRequestViewEvent ()
void ChangeSortOrderL (const RContactViewSortOrder &)
void Close ()
CViewContact * ContactAtL ( TInt )
TContactViewPreferences ContactViewPreferencesL ()
void ContactsMatchingCriteriaL (const MDesCArray &, RPointerArray < CViewContact > &, TBool , TUid )
TInt CountL ()
TInt FindL ( TContactItemId )
void GetContactIdsL (const CArrayFix < TInt > &, CContactIdArray &)
void GetContactsMatchingFilterL ( TInt , RArray < TContactIdWithMapping > &)
void GetSortOrderL ( RContactViewSortOrder &)
TUid GetViewSortPluginImplUidL ()
void OpenL (const CContactDatabase &, const RContactViewSortOrder &, TContactViewPreferences , const TUid &, const TDesC8 &)
void OpenL (const CContactDatabase &, const TDesC &, const RContactViewSortOrder &, TContactViewPreferences , const TUid &, const TDesC8 &)
void RequestViewEvent ( TPckgBuf < TContactViewEvent > &, TRequestStatus &)
const RContactViewSortOrder & SortOrderL ()
Private Member Functions
HBufC8 * PackageSortOrderAndPluginDetailsLC (const RContactViewSortOrder &, TContactViewPreferences , const TUid &, const TDesC8 &)
HBufC8 * PackageSortOrderLC (const RContactViewSortOrder &, TContactViewPreferences )
Inherited Functions
RSubSessionBase::CloseSubSession(TInt)
RSubSessionBase::CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &)
RSubSessionBase::CreateSubSession(const RSessionBase &,TInt)
RSubSessionBase::CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &)
RSubSessionBase::RSubSessionBase()
RSubSessionBase::Send(TInt)const
RSubSessionBase::Send(TInt,const TIpcArgs &)const
RSubSessionBase::SendReceive(TInt)const
RSubSessionBase::SendReceive(TInt,TRequestStatus &)const
RSubSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSubSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSubSessionBase::Session()const
RSubSessionBase::SubSessionHandle()const
Private Attributes
CViewContact * iContact
RContactViewSortOrder iSortOrder

Member Functions Documentation

AllFieldsLC(TInt, const TDesC &)

HBufC * AllFieldsLC ( TInt aIndex,
const TDesC & aSeparator
) const
capability
ReadUserData

Parameters

TInt aIndex
const TDesC & aSeparator

AtL(TInt)

TContactItemId AtL ( TInt aIndex ) const
capability
ReadUserData

Parameters

TInt aIndex

CancelRequestViewEvent()

TInt CancelRequestViewEvent ( )
capability
None

ChangeSortOrderL(const RContactViewSortOrder &)

void ChangeSortOrderL ( const RContactViewSortOrder & aSortOrder )
capability
ReadUserData

Parameters

const RContactViewSortOrder & aSortOrder

Close()

void Close ( )
capability
None

ContactAtL(TInt)

CViewContact * ContactAtL ( TInt aIndex )
Returns the contact item at the specified index into the view.
capability
ReadUserData

Parameters

TInt aIndex Index

ContactViewPreferencesL()

TContactViewPreferences ContactViewPreferencesL ( )
capability
ReadUserData

ContactsMatchingCriteriaL(const MDesCArray &, RPointerArray< CViewContact > &, TBool, TUid)

void ContactsMatchingCriteriaL ( const MDesCArray & aFindWords,
RPointerArray < CViewContact > & aMatchedContacts,
TBool aPrefixSearch,
TUid aUid
)

Searches all contact items in the view for fields that contain the search strings specified.

capability
ReadUserData

Parameters

const MDesCArray & aFindWords A descriptor array containing one or more search strings
RPointerArray < CViewContact > & aMatchedContacts On return, an array of matching contact items
TBool aPrefixSearch
TUid aUid

CountL()

TInt CountL ( ) const
capability
ReadUserData

FindL(TContactItemId)

TInt FindL ( TContactItemId aId ) const
capability
ReadUserData

Parameters

TContactItemId aId

GetContactIdsL(const CArrayFix< TInt > &, CContactIdArray &)

void GetContactIdsL ( const CArrayFix < TInt > & aIndexes,
CContactIdArray & aContactIds
)
Convert between view indexes and contact ids. This method makes the request to the server.
capability
ReadUserData

Parameters

const CArrayFix < TInt > & aIndexes
CContactIdArray & aContactIds

GetContactsMatchingFilterL(TInt, RArray< TContactIdWithMapping > &)

void GetContactsMatchingFilterL ( TInt aFilter,
RArray < TContactIdWithMapping > & aMatchingContacts
)

Requests an array of contact IDs from the server-side view which match the filter provided by the client.

capability
ReadUserData

Parameters

TInt aFilter Filter supplied by client
RArray < TContactIdWithMapping > & aMatchingContacts Array of contacts which match the filter

GetSortOrderL(RContactViewSortOrder &)

void GetSortOrderL ( RContactViewSortOrder & aSortOrder )
capability
ReadUserData

Parameters

RContactViewSortOrder & aSortOrder

GetViewSortPluginImplUidL()

TUid GetViewSortPluginImplUidL ( ) const

OpenL(const CContactDatabase &, const RContactViewSortOrder &, TContactViewPreferences, const TUid &, const TDesC8 &)

void OpenL ( const CContactDatabase & aDb,
const RContactViewSortOrder & aSortOrder,
TContactViewPreferences aContactTypes,
const TUid & aSortPluginImplUid,
const TDesC8 & aSortPluginName
)
capability
ReadUserData

Parameters

const CContactDatabase & aDb
const RContactViewSortOrder & aSortOrder
TContactViewPreferences aContactTypes
const TUid & aSortPluginImplUid
const TDesC8 & aSortPluginName

OpenL(const CContactDatabase &, const TDesC &, const RContactViewSortOrder &, TContactViewPreferences, const TUid &, const TDesC8 &)

void OpenL ( const CContactDatabase & aDb,
const TDesC & aName,
const RContactViewSortOrder & aSortOrder,
TContactViewPreferences aContactTypes,
const TUid & aSortPluginImplUid,
const TDesC8 & aSortPluginName
)
capability
ReadUserData

Parameters

const CContactDatabase & aDb
const TDesC & aName
const RContactViewSortOrder & aSortOrder
TContactViewPreferences aContactTypes
const TUid & aSortPluginImplUid
const TDesC8 & aSortPluginName

PackageSortOrderAndPluginDetailsLC(const RContactViewSortOrder &, TContactViewPreferences, const TUid &, const TDesC8 &)

HBufC8 * PackageSortOrderAndPluginDetailsLC ( const RContactViewSortOrder & aSortOrder,
TContactViewPreferences aContactTypes,
const TUid & aSortPluginImplUid,
const TDesC8 & aSortPluginName
) const [private]

Parameters

const RContactViewSortOrder & aSortOrder
TContactViewPreferences aContactTypes
const TUid & aSortPluginImplUid
const TDesC8 & aSortPluginName

PackageSortOrderLC(const RContactViewSortOrder &, TContactViewPreferences)

HBufC8 * PackageSortOrderLC ( const RContactViewSortOrder & aSortOrder,
TContactViewPreferences aContactTypes
) const [private]

Parameters

const RContactViewSortOrder & aSortOrder
TContactViewPreferences aContactTypes

RequestViewEvent(TPckgBuf< TContactViewEvent > &, TRequestStatus &)

void RequestViewEvent ( TPckgBuf < TContactViewEvent > & aEvent,
TRequestStatus & aStatus
)
capability
ReadUserData

Parameters

TPckgBuf < TContactViewEvent > & aEvent
TRequestStatus & aStatus

SortOrderL()

const RContactViewSortOrder & SortOrderL ( )
capability
ReadUserData

Member Data Documentation

CViewContact * iContact

CViewContact * iContact [private]

RContactViewSortOrder iSortOrder

RContactViewSortOrder iSortOrder [private]