KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > api > internal > transaction > SharkInternalTransaction


1 package org.enhydra.shark.api.internal.transaction;
2
3 import org.enhydra.shark.api.RootException;
4 import org.enhydra.shark.api.SharkTransaction;
5 import org.enhydra.shark.api.internal.working.WfProcessInternal;
6 import org.enhydra.shark.api.internal.working.WfResourceInternal;
7
8 /**
9  * Since Shark tends to be a transaction oriented, this is
10  * the interface that the kernel uses to signal operations on the
11  * transaction.
12  *
13  * @author Sasa Bojanic
14  * @author Vladimir Puskas
15  */

16 public interface SharkInternalTransaction extends SharkTransaction {
17
18    public void addToTransaction (String JavaDoc procId,WfProcessInternal proc) throws RootException;
19
20    public void addToTransaction (String JavaDoc resUname,WfResourceInternal res) throws RootException;
21
22    public void removeProcess (String JavaDoc procId) throws RootException;
23
24    public void removeResource (String JavaDoc resUname) throws RootException;
25
26    public WfProcessInternal getProcess (String JavaDoc procId) throws RootException;
27
28    public WfResourceInternal getResource (String JavaDoc resUname) throws RootException;
29
30 }
31
32
Popular Tags