KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > SOFAnode > Made > TIR > Impl > TIRImplObject


1 /* $Id: TIRImplObject.java,v 1.2 2004/05/20 14:23:52 bures Exp $ */
2 package SOFA.SOFAnode.Made.TIR.Impl;
3 import java.rmi.Remote JavaDoc;
4 import java.rmi.RemoteException JavaDoc;
5
6 import SOFA.SOFAnode.Made.TIR.Container;
7 import SOFA.SOFAnode.Made.TIR.Repository;
8 import SOFA.SOFAnode.Made.TIR.TIRExceptCommit;
9
10 interface TIRImplObject extends Remote JavaDoc{
11   public void save(Storage st) throws RemoteException JavaDoc, TIRExceptStorage;
12   public void load(Storage st) throws RemoteException JavaDoc, TIRExceptStorage;
13   /* some kinds of object haven't set all attributes correctly,
14      postLoad fix these */

15   public void postLoad(RepositoryImpl r) throws RemoteException JavaDoc, TIRExceptStorage;
16   public boolean isNew() throws RemoteException JavaDoc;
17   public void canCommit() throws RemoteException JavaDoc, TIRExceptCommit;
18   public void doCommit(Container in, Repository rep) throws RemoteException JavaDoc;
19   public void doAbort(long workId) throws RemoteException JavaDoc;
20 }
21
Popular Tags