equal
deleted
inserted
replaced
66 * @return Id of a newly created data item |
66 * @return Id of a newly created data item |
67 */ |
67 */ |
68 TUint AddDataL( CCPLiwMap& aMap ); |
68 TUint AddDataL( CCPLiwMap& aMap ); |
69 |
69 |
70 /** |
70 /** |
71 * Data is not added to database. Only notification is send to observers. |
|
72 * |
|
73 * @param aData Data to be added. |
|
74 * @return Id of a newly created data item |
|
75 */ |
|
76 void AddNonPersistentDataL( const CCPLiwMap* aMap ); |
|
77 |
|
78 /** |
|
79 * Fetches data from database |
71 * Fetches data from database |
80 * @param aInParamList filter and sorting criteria |
72 * @param aInParamList filter and sorting criteria |
81 * @param aOutParamList results |
73 * @param aOutParamList results |
82 */ |
74 */ |
83 void GetListL( const CCPLiwMap& aMa, CLiwGenericParamList& aOutParamList ); |
75 void GetListL( const CCPLiwMap& aMa, CLiwGenericParamList& aOutParamList ); |
201 * @return activate flag |
193 * @return activate flag |
202 */ |
194 */ |
203 TBool GetActivateInfoL( const CCPLiwMap* aMap ); |
195 TBool GetActivateInfoL( const CCPLiwMap* aMap ); |
204 |
196 |
205 /** |
197 /** |
206 * Builds change info list based on query result to database |
198 * Builds change info list |
207 * @param aMap - map containing parameters needed to build change info list |
199 * @param aMap - map containing parameters needed to build change info list |
208 * @param aParam - param from getlist result |
200 * @param aParam - param from getlist result |
209 * @param aChangeInfoList - output list containing change info list sent |
201 * @param aChangeInfoList - output list containing change info list sent |
210 * as notification |
202 * as notification |
211 */ |
203 */ |
220 * as notification |
212 * as notification |
221 */ |
213 */ |
222 void BuildDefaultChangeInfoL( |
214 void BuildDefaultChangeInfoL( |
223 const CCPLiwMap* aMap, |
215 const CCPLiwMap* aMap, |
224 CLiwDefaultList* aChangeInfoList ); |
216 CLiwDefaultList* aChangeInfoList ); |
225 /** |
217 |
226 * Builds change info list when query to database returned nothing |
|
227 * @param aMap - map containing parameters needed to build change info list |
|
228 * @param aChangeInfoList - output list containing change info list sent |
|
229 * as notification |
|
230 */ |
|
231 void BuildChangeInfoForAddL( |
|
232 const CCPLiwMap* aMap, |
|
233 CLiwDefaultList* aChangeInfoList ); |
|
234 |
218 |
235 /** |
219 /** |
236 * Copies variant from in to out map if entry with provided key exists |
220 * Copies variant from in to out map if entry with provided key exists |
237 * @param aKey a key |
221 * @param aKey a key |
238 * @param aInMap input map |
222 * @param aInMap input map |