RContactRemoteView Class Reference

#include <app/cntviewbase.h>

class RContactRemoteView : public RSubSessionBase

Inherits from

  • RContactRemoteView
    Public Member Functions
    HBufC *AllFieldsLC(TInt, const TDesC &)
    TContactItemId AtL(TInt)
    TInt CancelRequestViewEvent()
    voidChangeSortOrderL(const RContactViewSortOrder &)
    voidClose()
    CViewContact *ContactAtL(TInt)
    TContactViewPreferences ContactViewPreferencesL()
    voidContactsMatchingCriteriaL(const MDesCArray &, RPointerArray< CViewContact > &, TBool, TUid)
    TInt CountL()
    TInt FindL(TContactItemId)
    voidGetContactIdsL(const CArrayFix< TInt > &, CContactIdArray &)
    voidGetContactsMatchingFilterL(TInt, RArray< TContactIdWithMapping > &)
    voidGetSortOrderL(RContactViewSortOrder &)
    TUid GetViewSortPluginImplUidL()
    voidOpenL(const CContactDatabase &, const RContactViewSortOrder &, TContactViewPreferences, const TUid &, const TDesC8 &)
    voidOpenL(const CContactDatabase &, const TDesC &, const RContactViewSortOrder &, TContactViewPreferences, const TUid &, const TDesC8 &)
    voidRequestViewEvent(TPckgBuf< TContactViewEvent > &, TRequestStatus &)
    const RContactViewSortOrder &SortOrderL()
    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

    Detailed Description

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

    See also: CContactRemoteViewBase

    Member Function Documentation

    AllFieldsLC ( TInt, const TDesC & )

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

    AtL ( TInt )

    TContactItemId AtL(TIntaIndex)const
    capability
    ReadUserData

    CancelRequestViewEvent ( )

    TInt CancelRequestViewEvent()
    capability
    None

    ChangeSortOrderL ( const RContactViewSortOrder & )

    voidChangeSortOrderL(const RContactViewSortOrder &aSortOrder)
    capability
    ReadUserData

    Close ( )

    voidClose()
    capability
    None

    ContactAtL ( TInt )

    CViewContact *ContactAtL(TIntaIndex)
    Returns the contact item at the specified index into the view.
    capability
    ReadUserData
    ParameterDescription
    aIndexIndex

    ContactViewPreferencesL ( )

    TContactViewPreferences ContactViewPreferencesL()
    capability
    ReadUserData

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

    voidContactsMatchingCriteriaL(const MDesCArray &aFindWords,
    RPointerArray< CViewContact > &aMatchedContacts,
    TBoolaPrefixSearch,
    TUidaUid
    )

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

    capability
    ReadUserData
    ParameterDescription
    aFindWordsA descriptor array containing one or more search strings
    aMatchedContactsOn return, an array of matching contact items

    CountL ( )

    TInt CountL()const
    capability
    ReadUserData

    FindL ( TContactItemId )

    TInt FindL(TContactItemIdaId)const
    capability
    ReadUserData

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

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

    GetContactsMatchingFilterL ( TInt, RArray< TContactIdWithMapping > & )

    voidGetContactsMatchingFilterL(TIntaFilter,
    RArray< TContactIdWithMapping > &aMatchingContacts
    )

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

    capability
    ReadUserData
    ParameterDescription
    aFilterFilter supplied by client
    aMatchingContactsArray of contacts which match the filter

    GetSortOrderL ( RContactViewSortOrder & )

    voidGetSortOrderL(RContactViewSortOrder &aSortOrder)
    capability
    ReadUserData

    GetViewSortPluginImplUidL ( )

    TUid GetViewSortPluginImplUidL()const

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

    voidOpenL(const CContactDatabase &aDb,
    const RContactViewSortOrder &aSortOrder,
    TContactViewPreferencesaContactTypes,
    const TUid &aSortPluginImplUid,
    const TDesC8 &aSortPluginName
    )
    capability
    ReadUserData

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

    voidOpenL(const CContactDatabase &aDb,
    const TDesC &aName,
    const RContactViewSortOrder &aSortOrder,
    TContactViewPreferencesaContactTypes,
    const TUid &aSortPluginImplUid,
    const TDesC8 &aSortPluginName
    )
    capability
    ReadUserData

    RequestViewEvent ( TPckgBuf< TContactViewEvent > &, TRequestStatus & )

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

    SortOrderL ( )

    const RContactViewSortOrder &SortOrderL()
    capability
    ReadUserData