|  | 
| int | delete (Uri uri, String selection, String[] selectionArgs) | 
|  | 
| String | getType (Uri uri) | 
|  | 
| Uri | insert (Uri uri, ContentValues values) | 
|  | 
| boolean | onCreate () | 
|  | 
| Cursor | query (Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) | 
|  | 
| int | update (Uri uri, ContentValues values, String selection, String[] selectionArgs) | 
|  | 
◆ delete()
  
  | 
        
          | int com.freerdp.freerdpcore.services.FreeRDPSuggestionProvider.delete | ( | Uri | uri, |  
          |  |  | String | selection, |  
          |  |  | String[] | selectionArgs |  
          |  | ) |  |  |  | inline | 
 
 
◆ getType()
  
  | 
        
          | String com.freerdp.freerdpcore.services.FreeRDPSuggestionProvider.getType | ( | Uri | uri | ) |  |  | inline | 
 
 
◆ insert()
  
  | 
        
          | Uri com.freerdp.freerdpcore.services.FreeRDPSuggestionProvider.insert | ( | Uri | uri, |  
          |  |  | ContentValues | values |  
          |  | ) |  |  |  | inline | 
 
 
◆ onCreate()
  
  | 
        
          | boolean com.freerdp.freerdpcore.services.FreeRDPSuggestionProvider.onCreate | ( |  | ) |  |  | inline | 
 
 
◆ query()
  
  | 
        
          | Cursor com.freerdp.freerdpcore.services.FreeRDPSuggestionProvider.query | ( | Uri | uri, |  
          |  |  | String[] | projection, |  
          |  |  | String | selection, |  
          |  |  | String[] | selectionArgs, |  
          |  |  | String | sortOrder |  
          |  | ) |  |  |  | inline | 
 
Definition at line 57 of file FreeRDPSuggestionProvider.java.
   59  {
   60 
   61    String query = (selectionArgs != null && selectionArgs.length > 0) ? selectionArgs[0] : "";
   62 
   63    
   64    ArrayList<BookmarkBase> history =
   65        GlobalApp.getQuickConnectHistoryGateway().findHistory(query);
   66 
   67    
   68    ArrayList<BookmarkBase> manualBookmarks;
   69    if (query.length() > 0)
   70      manualBookmarks = GlobalApp.getManualBookmarkGateway().findByLabelOrHostnameLike(query);
   71    else
   72      manualBookmarks = GlobalApp.getManualBookmarkGateway().findAll();
   73 
   74    return createResultCursor(history, manualBookmarks);
   75  }
 
 
◆ update()
  
  | 
        
          | int com.freerdp.freerdpcore.services.FreeRDPSuggestionProvider.update | ( | Uri | uri, |  
          |  |  | ContentValues | values, |  
          |  |  | String | selection, |  
          |  |  | String[] | selectionArgs |  
          |  | ) |  |  |  | inline | 
 
 
◆ CONTENT_URI
  
  | 
        
          | final Uri com.freerdp.freerdpcore.services.FreeRDPSuggestionProvider.CONTENT_URI |  | static | 
 
 
The documentation for this class was generated from the following file: