KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > api > internal > appmappersistence > ApplicationMappingManager


1
2 package org.enhydra.shark.api.internal.appmappersistence;
3
4 import java.util.List JavaDoc;
5
6 import org.enhydra.shark.api.ApplicationMappingTransaction;
7 import org.enhydra.shark.api.RootException;
8 import org.enhydra.shark.api.TransactionException;
9 import org.enhydra.shark.api.internal.working.CallbackUtilities;
10
11 /**
12  * Interface represents mappings between applications and tool agents.
13  * @author Zoran Milakovic
14  */

15 public interface ApplicationMappingManager
16 {
17    void configure (CallbackUtilities cus) throws RootException;
18
19    public boolean saveApplicationMapping( ApplicationMappingTransaction trans, ApplicationMap am ) throws RootException;
20
21    public boolean deleteApplicationMapping( ApplicationMappingTransaction trans, ApplicationMap am ) throws RootException;
22
23    public List JavaDoc getAllApplicationMappings( ApplicationMappingTransaction trans ) throws RootException;
24
25    public ApplicationMap createApplicationMap ();
26
27    public boolean deleteApplicationMapping(
28       ApplicationMappingTransaction trans,
29       String JavaDoc packageId,
30       String JavaDoc processDefinitionId,
31       String JavaDoc applicationId ) throws RootException;
32
33    public ApplicationMap getApplicationMap (
34       ApplicationMappingTransaction trans,
35       String JavaDoc pkgId,
36       String JavaDoc pDefId,
37       String JavaDoc appDefId) throws RootException;
38
39    public ApplicationMappingTransaction getApplicationMappingTransaction() throws TransactionException;
40 }
41
42
Popular Tags