equal
deleted
inserted
replaced
172 const QString &presenceState, |
172 const QString &presenceState, |
173 const QString &presenceText, |
173 const QString &presenceText, |
174 const QString &statusText, |
174 const QString &statusText, |
175 const Int64 timeStamp |
175 const Int64 timeStamp |
176 ); |
176 ); |
|
177 |
177 |
178 |
178 |
179 |
179 /**delete a row in the contact table */ |
180 /**delete a row in the contact table */ |
180 SmfError removeContactFromTable(const int aContactId); |
181 SmfError removeContactFromTable(const int aContactId); |
181 |
182 |
186 TBool contactIfExist( const int aContactId); |
187 TBool contactIfExist( const int aContactId); |
187 |
188 |
188 |
189 |
189 /*------------------Operation on Relation Table-------------------*/ |
190 /*------------------Operation on Relation Table-------------------*/ |
190 /**insert a row in relation table and return relationId */ |
191 /**insert a row in relation table and return relationId */ |
191 const int addRelationToTable(const int aContactId, int aRelationId = ENewRelation); |
192 int addRelationToTable(const int aContactId, int aRelationId = ENewRelation); |
192 |
193 |
193 /**delete a relation table*/ |
194 /**delete a relation table*/ |
194 SmfError deleteRelationFromTable(const int aRelationId); |
195 SmfError deleteRelationFromTable(const int aRelationId); |
195 |
196 |
196 /**delete a row in relation table*/ |
197 /**delete a row in relation table*/ |
204 |
205 |
205 /**search for relation id*/ |
206 /**search for relation id*/ |
206 int searchRelationId(const int aContactId); |
207 int searchRelationId(const int aContactId); |
207 |
208 |
208 /**search for a reation contact having highest index value*/ |
209 /**search for a reation contact having highest index value*/ |
209 const int findMaxIndexValue(const int aRelationId ); |
210 int findMaxIndexValue(const int aRelationId ); |
210 |
211 |
211 /**search for a reationId highest value*/ |
212 /**search for a reationId highest value*/ |
212 const int findMaxRelationId(); |
213 int findMaxRelationId(); |
213 |
214 |
214 /**On deletion of a contact it decrease index of all contacts |
215 /**On deletion of a contact it decrease index of all contacts |
215 * having index greater than it in that relation. |
216 * having index greater than it in that relation. |
216 * */ |
217 * */ |
217 void manageContactIndex(const int aRelationId, const int aContactIndex ); |
218 void manageContactIndex(const int aRelationId, const int aContactIndex ); |