jPOS 1.6.1 API Documentation

org.jpos.tpl
Interface PersistentPeer


public interface PersistentPeer

Version:
$Id: PersistentPeer.java 2594 2008-01-22 16:41:31Z apr $
Author:
Alejandro P. Revilla

Method Summary
 void create(java.lang.Object obj)
           
 void load(java.lang.Object obj)
           
 void remove(java.lang.Object obj)
           
 void setPersistentEngine(PersistentEngine engine)
           
 void update(java.lang.Object obj)
           
 

Method Detail

setPersistentEngine

void setPersistentEngine(PersistentEngine engine)

create

void create(java.lang.Object obj)
            throws java.sql.SQLException
Throws:
java.sql.SQLException

load

void load(java.lang.Object obj)
          throws java.sql.SQLException,
                 NotFoundException
Throws:
java.sql.SQLException
NotFoundException

update

void update(java.lang.Object obj)
            throws java.sql.SQLException,
                   NotFoundException
Throws:
java.sql.SQLException
NotFoundException

remove

void remove(java.lang.Object obj)
            throws java.sql.SQLException,
                   NotFoundException
Throws:
java.sql.SQLException
NotFoundException

jPOS.org