org.vrspace.neurogrid
Interface Store

All Known Implementing Classes:
SerialFileStore, SQLStore, TextFileStore

public interface Store


Method Summary
 long count()
           
 void delete(NGObject obj)
           
 void init(DBAdapter db, LoadListener listener)
           
 NGObject retrieve(java.lang.Class what, long id)
           
 void store(NGObject obj)
           
 

Method Detail

store

public void store(NGObject obj)
           throws java.lang.Exception
Throws:
java.lang.Exception

retrieve

public NGObject retrieve(java.lang.Class what,
                         long id)
                  throws java.lang.Exception
Throws:
java.lang.Exception

delete

public void delete(NGObject obj)
            throws java.lang.Exception
Throws:
java.lang.Exception

init

public void init(DBAdapter db,
                 LoadListener listener)
          throws java.lang.Exception
Throws:
java.lang.Exception

count

public long count()
           throws java.lang.Exception
Throws:
java.lang.Exception