com.dynamide.db
Class MongoAutoSuggest

java.lang.Object
  extended by com.dynamide.db.MongoAutoSuggest

public class MongoAutoSuggest
extends java.lang.Object


Constructor Summary
MongoAutoSuggest()
           
 
Method Summary
static com.mongodb.Mongo getMongo()
           
static com.mongodb.DBCursor getNotes(java.lang.String tag)
           
static java.lang.String lookupAutocomplete(java.lang.String term)
           
static void main(java.lang.String[] args)
           
static java.lang.String storeNotes(java.lang.String tag, java.lang.String notes)
           
static java.lang.String storeNotesObject(java.lang.String tag, java.lang.String notesJSON)
           
static java.lang.String testSerialization()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MongoAutoSuggest

public MongoAutoSuggest()
Method Detail

testSerialization

public static java.lang.String testSerialization()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

storeNotesObject

public static java.lang.String storeNotesObject(java.lang.String tag,
                                                java.lang.String notesJSON)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

storeNotes

public static java.lang.String storeNotes(java.lang.String tag,
                                          java.lang.String notes)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getNotes

public static com.mongodb.DBCursor getNotes(java.lang.String tag)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

lookupAutocomplete

public static java.lang.String lookupAutocomplete(java.lang.String term)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getMongo

public static com.mongodb.Mongo getMongo()


Copyright 2001-2013 DYNAMIDE.COM. All Rights Reserved.