org.oddjob.sql
Interface SQLSerialization


public interface SQLSerialization

Abstraction for something that is able to serialize and deserialization, using SQL.

Author:
rob

Method Summary
 String[] children(Path path)
           
 void clear(Path path)
           
 void close()
           
 void persist(Path path, String id, Object o)
           
 void remove(Path path, String id)
           
 Object restore(Path path, String id, ClassLoader classLoader)
           
 

Method Detail

persist

void persist(Path path,
             String id,
             Object o)
             throws SQLException
Throws:
SQLException

restore

Object restore(Path path,
               String id,
               ClassLoader classLoader)
               throws SQLException
Throws:
SQLException

remove

void remove(Path path,
            String id)
            throws SQLException
Throws:
SQLException

children

String[] children(Path path)
                  throws SQLException
Throws:
SQLException

clear

void clear(Path path)
           throws SQLException
Throws:
SQLException

close

void close()
           throws SQLException
Throws:
SQLException