equal
deleted
inserted
replaced
165 * @param aSqlDb The handle to the database. |
165 * @param aSqlDb The handle to the database. |
166 */ |
166 */ |
167 static void CreateCustomSortQueryL( const RArray<TInt>& aEntryIds, |
167 static void CreateCustomSortQueryL( const RArray<TInt>& aEntryIds, |
168 RPointerArray<CCaSqlQuery>& aSqlQuery, |
168 RPointerArray<CCaSqlQuery>& aSqlQuery, |
169 RSqlDatabase& aSqlDb ); |
169 RSqlDatabase& aSqlDb ); |
|
170 |
|
171 /** |
|
172 * Creates an sql query for finding an icon. |
|
173 * |
|
174 * @param aEntry The entry which has icon description. |
|
175 * @param aQuery The result query. |
|
176 */ |
|
177 static void CreateFindIconQueryL( CCaInnerEntry* aEntry, |
|
178 CCaSqlQuery* aQuery); |
170 |
179 |
171 private: |
180 private: |
172 |
181 |
173 /** |
182 /** |
174 * Creates an sql query to add an icon into the icon table. |
183 * Creates an sql query to add an icon into the icon table. |
218 * @param aEntry The entry to be updated. |
227 * @param aEntry The entry to be updated. |
219 * @param aQuery The result query. |
228 * @param aQuery The result query. |
220 */ |
229 */ |
221 static void CreateUpdateQueryEntryL( const CCaInnerEntry* aEntry, |
230 static void CreateUpdateQueryEntryL( const CCaInnerEntry* aEntry, |
222 CCaSqlQuery* aQuery ); |
231 CCaSqlQuery* aQuery ); |
223 |
232 |
224 /** |
233 /** |
225 * Creates an sql query to get a list of entries by the given ids. |
234 * Creates an sql query to get a list of entries by the given ids. |
226 * |
235 * |
227 * @param aIdEntryCount The number of entries to fetch. |
236 * @param aIdEntryCount The number of entries to fetch. |
228 * @param aQuery The result query. |
237 * @param aQuery The result query. |