176 |
176 |
177 CContactIdArray* FindL(const TDesC& aText, const CContactItemFieldDef* aFieldDef, TUint aSessionId); |
177 CContactIdArray* FindL(const TDesC& aText, const CContactItemFieldDef* aFieldDef, TUint aSessionId); |
178 void FindAsyncInitL(const TDesC& aText,CContactItemFieldDef* aFieldDef); |
178 void FindAsyncInitL(const TDesC& aText,CContactItemFieldDef* aFieldDef); |
179 void FindAsyncTextDefInitL(const CDesCArray& aWords,CContactTextDef* aTextDef); |
179 void FindAsyncTextDefInitL(const CDesCArray& aWords,CContactTextDef* aTextDef); |
180 CContactIdArray* FindAsyncL(TBool& aMoreToGo, TUint aSessionId); |
180 CContactIdArray* FindAsyncL(TBool& aMoreToGo, TUint aSessionId); |
|
181 void Reset(); |
181 |
182 |
182 TBool UsesIdentityFieldsOnly(TInt aFindFlags); |
183 TBool UsesIdentityFieldsOnly(TInt aFindFlags); |
183 void ConstructBitwiseFlagsFromTextDef(TInt& aFindFlags,TInt& aIdentityColumnsCount,const CContactTextDef* aTextDef); |
184 void ConstructBitwiseFlagsFromTextDef(TInt& aFindFlags,TInt& aIdentityColumnsCount,const CContactTextDef* aTextDef); |
184 TBool SeekContactL(TContactItemId aReqId,TContactItemId& aId,TUid& aContactType, TBool& aDeleted); |
185 TBool SeekContactL(TContactItemId aReqId,TContactItemId& aId,TUid& aContactType, TBool& aDeleted); |
185 |
186 |
192 CContactIdArray* DeletedL(); |
193 CContactIdArray* DeletedL(); |
193 TBool PerformFindIterationL(CContactIdArray *aIdsFound, const TDesC& aText, RSqlStatement aStatement, TInt aFieldsToSearch, TUint aSessionId); |
194 TBool PerformFindIterationL(CContactIdArray *aIdsFound, const TDesC& aText, RSqlStatement aStatement, TInt aFieldsToSearch, TUint aSessionId); |
194 TBool PerformIdFindIterationL(CContactIdArray *aIdsFound, RSqlStatement aStatement); |
195 TBool PerformIdFindIterationL(CContactIdArray *aIdsFound, RSqlStatement aStatement); |
195 TBool FindL(CContactIdArray *aIdsFound, const TDesC& aText,const CContactItemFieldDef *aFieldDef, RSqlStatement aStatement, TUint aSessionId); |
196 TBool FindL(CContactIdArray *aIdsFound, const TDesC& aText,const CContactItemFieldDef *aFieldDef, RSqlStatement aStatement, TUint aSessionId); |
196 CContactIdArray* FilterDatabaseL(CCntFilter& aFilter); |
197 CContactIdArray* FilterDatabaseL(CCntFilter& aFilter); |
197 void Reset(); |
198 |
198 TInt MaximumSizeOfIdentitySearchSyntax(); |
199 TInt MaximumSizeOfIdentitySearchSyntax(); |
199 TInt ApproximateSizeOfSearchString(); |
200 TInt ApproximateSizeOfSearchString(); |
200 void doAppendFieldsToSearchString(HBufC* aOrderFields) const; |
201 void doAppendFieldsToSearchString(HBufC* aOrderFields) const; |
201 TBool GetContactIdsForTextDefFindL(CContactIdArray* aIdArray, TUint aSessionId); |
202 TBool GetContactIdsForTextDefFindL(CContactIdArray* aIdArray, TUint aSessionId); |
202 TBool PerformTextDefFindIterationL(CContactIdArray* aIdArray); |
203 TBool PerformTextDefFindIterationL(CContactIdArray* aIdArray); |
231 RSqlStatement selectBlobStatement; |
232 RSqlStatement selectBlobStatement; |
232 RSqlStatement selectIdentityStatement; |
233 RSqlStatement selectIdentityStatement; |
233 RSqlStatement selectEmailStatement; |
234 RSqlStatement selectEmailStatement; |
234 RSqlStatement selectSIPStatement; |
235 RSqlStatement selectSIPStatement; |
235 RSqlStatement selectIdFromIdentityStatement; |
236 RSqlStatement selectIdFromIdentityStatement; |
|
237 |
|
238 //The flag for RSqlstatements |
|
239 TBool iRSqlstatementsWorking; |
236 }; |
240 }; |
237 |
241 |
238 // Forward class reference. |
242 // Forward class reference. |
239 class CCntPplViewManager; |
243 class CCntPplViewManager; |
240 |
244 |