/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-06-22 17:29:31 UTC
  • Revision ID: tim@ed.am-20130622172931-ujydoni23t3a543b
minor style tweaks

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
                 *
48
49
                 * @param type the detail type
49
50
                 * @param detail the detail
50
51
                 * @return the cache identifier, or null
67
68
                 * Obtain a cache identifier from contact data.  This routine is
68
69
                 * designed to be as robust as possible and may return null when a cache
69
70
                 * identifier can not be created.
 
71
                 *
70
72
                 * @param contact the contact data
71
73
                 * @return the cache identifier, or null
72
74
                 */
144
146
        /**
145
147
         * Retrieve the contact id of a contact identified by the specified cache
146
148
         * identifier, if it exists.
 
149
         *
147
150
         * @param identifier the cache identifier
148
151
         * @return a contact id, or null
149
152
         */
165
168
 
166
169
        /**
167
170
         * Remove any cache entry that is identified by the cache identifier.
 
171
         *
168
172
         * @param identifier the cache identifier
169
173
         * @return the contact id of the contact that was removed, or null
170
174
         */
186
190
 
187
191
        /**
188
192
         * Add a lookup from a contact identifier to a contact id to the cache.
 
193
         *
189
194
         * @param identifier the cache identifier
190
195
         * @param id teh contact id
191
196
         */
210
215
 
211
216
        /**
212
217
         * Remove any data that is associated with an contact id.
 
218
         *
213
219
         * @param id
214
220
         */
215
221
        public void removeAssociatedData( Long id )