1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 package org.wsmo.datastore;
27
28 import java.util.*;
29
30 import org.omwg.ontology.*;
31 import org.wsmo.common.*;
32 import org.wsmo.common.exception.*;
33 import org.wsmo.service.*;
34 import org.wsmo.mediator.*;
35
36
37
38
39
40
41
42 public interface WsmoRepository extends DataStore {
43
44 public String getDescription();
45
46 public void setDescription(String desc);
47
48 String getVersion() throws SynchronisationException;
49
50 public void addOntology(Ontology ont) throws SynchronisationException;
51
52 public void saveOntology(Ontology ont) throws SynchronisationException;
53
54 public Ontology getOntology(IRI id) throws SynchronisationException;
55
56 public void deleteOntology(IRI id) throws SynchronisationException;
57
58 public List<IRI> listOntologies() throws SynchronisationException;
59
60 public void addGoal(Goal goal) throws SynchronisationException;
61
62 public void saveGoal(Goal ont) throws SynchronisationException;
63
64 public Goal getGoal(IRI id) throws SynchronisationException;
65
66 public void deleteGoal(IRI id) throws SynchronisationException;
67
68 public List<IRI> listGoals() throws SynchronisationException;
69
70 public void addMediator(Mediator med) throws SynchronisationException;
71
72 public void saveMediator(Mediator med) throws SynchronisationException;
73
74 public Mediator getMediator(IRI id) throws SynchronisationException;
75
76 public void deleteMediator(IRI id) throws SynchronisationException;
77
78 public List<IRI> listMediators() throws SynchronisationException;
79
80 public void addWebService(WebService ws) throws SynchronisationException;
81
82 public void saveWebService(WebService ws) throws SynchronisationException;
83
84 public WebService getWebService(IRI id) throws SynchronisationException;
85
86 public void deleteWebService(IRI id) throws SynchronisationException;
87
88 public List<IRI> listWebServices() throws SynchronisationException;
89 }
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113