/android/import-contacts

To get this branch, use:
bzr branch http://bzr.ed.am/android/import-contacts

« back to all changes in this revision

Viewing changes to src/am/ed/importcontacts/ContactsCache.java

  • Committer: Tim Marston
  • Date: 2013-05-10 12:16:15 UTC
  • Revision ID: tim@ed.am-20130510121615-g8qhsu0h3t0ymrt6
Tags: 1.3.2
fix spacing in NEWS

Show diffs side-by-side

added added

removed removed

4
4
 * Copyright (C) 2011 to 2012 Tim Marston <tim@ed.am>
5
5
 *
6
6
 * This file is part of the Import Contacts program (hereafter referred
7
 
 * to as "this program").  For more information, see
 
7
 * to as "this program"). For more information, see
8
8
 * http://ed.am/dev/android/import-contacts
9
9
 *
10
10
 * This program is free software: you can redistribute it and/or modify
45
45
                 * Obtain a cache identifier.  This routine is designed to be as robust
46
46
                 * as possible (in terms of bad or null detail values), and to return
47
47
                 * null when a cache identifier can not be created.
48
 
                 *
49
48
                 * @param type the detail type
50
49
                 * @param detail the detail
51
50
                 * @return the cache identifier, or null
68
67
                 * Obtain a cache identifier from contact data.  This routine is
69
68
                 * designed to be as robust as possible and may return null when a cache
70
69
                 * identifier can not be created.
71
 
                 *
72
70
                 * @param contact the contact data
73
71
                 * @return the cache identifier, or null
74
72
                 */
146
144
        /**
147
145
         * Retrieve the contact id of a contact identified by the specified cache
148
146
         * identifier, if it exists.
149
 
         *
150
147
         * @param identifier the cache identifier
151
148
         * @return a contact id, or null
152
149
         */
168
165
 
169
166
        /**
170
167
         * Remove any cache entry that is identified by the cache identifier.
171
 
         *
172
168
         * @param identifier the cache identifier
173
169
         * @return the contact id of the contact that was removed, or null
174
170
         */
190
186
 
191
187
        /**
192
188
         * Add a lookup from a contact identifier to a contact id to the cache.
193
 
         *
194
189
         * @param identifier the cache identifier
195
190
         * @param id teh contact id
196
191
         */
215
210
 
216
211
        /**
217
212
         * Remove any data that is associated with an contact id.
218
 
         *
219
213
         * @param id
220
214
         */
221
215
        public void removeAssociatedData( Long id )