org.wsmo.datastore
Interface WsmoRepository

All Superinterfaces:
DataStore

public interface WsmoRepository
extends DataStore

An WSMO Repository facade

Version:
$Revision: 1951 $ $Date: 2007-04-02 17:19:19 +0300 (Mon, 02 Apr 2007) $
Author:
not attributable

Method Summary
 void addGoal(Goal goal)
           
 void addMediator(Mediator med)
           
 void addOntology(Ontology ont)
           
 void addWebService(WebService ws)
           
 void deleteGoal(IRI id)
           
 void deleteMediator(IRI id)
           
 void deleteOntology(IRI id)
           
 void deleteWebService(IRI id)
           
 String getDescription()
           
 Goal getGoal(IRI id)
           
 Mediator getMediator(IRI id)
           
 Ontology getOntology(IRI id)
           
 String getVersion()
           
 WebService getWebService(IRI id)
           
 List<IRI> listGoals()
           
 List<IRI> listMediators()
           
 List<IRI> listOntologies()
           
 List<IRI> listWebServices()
           
 void saveGoal(Goal ont)
           
 void saveMediator(Mediator med)
           
 void saveOntology(Ontology ont)
           
 void saveWebService(WebService ws)
           
 void setDescription(String desc)
           
 
Methods inherited from interface org.wsmo.datastore.DataStore
load, load, remove, remove, save
 

Method Detail

getDescription

String getDescription()

setDescription

void setDescription(String desc)

getVersion

String getVersion()
                  throws SynchronisationException
Throws:
SynchronisationException

addOntology

void addOntology(Ontology ont)
                 throws SynchronisationException
Throws:
SynchronisationException

saveOntology

void saveOntology(Ontology ont)
                  throws SynchronisationException
Throws:
SynchronisationException

getOntology

Ontology getOntology(IRI id)
                     throws SynchronisationException
Throws:
SynchronisationException

deleteOntology

void deleteOntology(IRI id)
                    throws SynchronisationException
Throws:
SynchronisationException

listOntologies

List<IRI> listOntologies()
                         throws SynchronisationException
Throws:
SynchronisationException

addGoal

void addGoal(Goal goal)
             throws SynchronisationException
Throws:
SynchronisationException

saveGoal

void saveGoal(Goal ont)
              throws SynchronisationException
Throws:
SynchronisationException

getGoal

Goal getGoal(IRI id)
             throws SynchronisationException
Throws:
SynchronisationException

deleteGoal

void deleteGoal(IRI id)
                throws SynchronisationException
Throws:
SynchronisationException

listGoals

List<IRI> listGoals()
                    throws SynchronisationException
Throws:
SynchronisationException

addMediator

void addMediator(Mediator med)
                 throws SynchronisationException
Throws:
SynchronisationException

saveMediator

void saveMediator(Mediator med)
                  throws SynchronisationException
Throws:
SynchronisationException

getMediator

Mediator getMediator(IRI id)
                     throws SynchronisationException
Throws:
SynchronisationException

deleteMediator

void deleteMediator(IRI id)
                    throws SynchronisationException
Throws:
SynchronisationException

listMediators

List<IRI> listMediators()
                        throws SynchronisationException
Throws:
SynchronisationException

addWebService

void addWebService(WebService ws)
                   throws SynchronisationException
Throws:
SynchronisationException

saveWebService

void saveWebService(WebService ws)
                    throws SynchronisationException
Throws:
SynchronisationException

getWebService

WebService getWebService(IRI id)
                         throws SynchronisationException
Throws:
SynchronisationException

deleteWebService

void deleteWebService(IRI id)
                      throws SynchronisationException
Throws:
SynchronisationException

listWebServices

List<IRI> listWebServices()
                          throws SynchronisationException
Throws:
SynchronisationException


Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.