Lines Matching refs:modelId
161 public @Nullable Cursor getItem(String modelId) { in getItem() argument
162 Integer pos = mPositions.get(modelId); in getItem()
165 Log.d(TAG, "Unabled to find cursor position for modelId: " + modelId); in getItem()
173 "Unabled to move cursor to position " + pos + " for modelId: " + modelId); in getItem()
189 public @Nullable DocumentInfo getDocument(String modelId) { in getDocument() argument
190 final Cursor cursor = getItem(modelId); in getDocument()
201 for (String modelId: selection) { in loadDocuments()
202 doc = loadDocument(modelId, filter); in loadDocuments()
211 for (String modelId: selection) { in hasDocuments()
212 if (loadDocument(modelId, filter) != null) { in hasDocuments()
222 private @Nullable DocumentInfo loadDocument(String modelId, Predicate<Cursor> filter) { in loadDocument() argument
223 final Cursor cursor = getItem(modelId); in loadDocument()
226 Log.w(TAG, "Unable to obtain document for modelId: " + modelId); in loadDocument()
234 if (VERBOSE) Log.v(TAG, "Filtered out document from results: " + modelId); in loadDocument()
238 public Uri getItemUri(String modelId) { in getItemUri() argument
239 final Cursor cursor = getItem(modelId); in getItemUri()
243 public UserId getItemUserId(String modelId) { in getItemUserId() argument
244 final Cursor cursor = getItem(modelId); in getItemUserId()