org.wsmostudio.repository.ordi
Class ORDIRepository

java.lang.Object
  extended by org.wsmostudio.repository.ordi.ORDIRepository
All Implemented Interfaces:
org.wsmo.datastore.DataStore, org.wsmo.datastore.WsmoRepository, org.wsmostudio.runtime.extension.Initialisable

public class ORDIRepository
extends java.lang.Object
implements org.wsmo.datastore.WsmoRepository, org.wsmostudio.runtime.extension.Initialisable


Field Summary
protected  com.ontotext.ordi.wsmo4rdf.WsmoConnection connection
           
protected  java.lang.String description
           
protected  java.util.Map<java.lang.Object,java.lang.Object> params
           
protected  com.ontotext.ordi.wsmo4rdf.WsmoSource source
           
 
Constructor Summary
ORDIRepository()
           
 
Method Summary
 void addGoal(org.wsmo.service.Goal goal)
           
 void addMediator(org.wsmo.mediator.Mediator med)
           
 void addOntology(org.omwg.ontology.Ontology ont)
           
 void addWebService(org.wsmo.service.WebService ws)
           
 void deleteGoal(org.wsmo.common.IRI id)
           
 void deleteMediator(org.wsmo.common.IRI id)
           
 void deleteOntology(org.wsmo.common.IRI id)
           
 void deleteWebService(org.wsmo.common.IRI id)
           
 java.lang.String getDescription()
           
 org.wsmo.service.Goal getGoal(org.wsmo.common.IRI id)
           
 org.wsmo.mediator.Mediator getMediator(org.wsmo.common.IRI id)
           
 org.omwg.ontology.Ontology getOntology(org.wsmo.common.IRI id)
           
 java.lang.String getVersion()
           
 org.wsmo.service.WebService getWebService(org.wsmo.common.IRI id)
           
 void initialise(java.util.Map params)
           
 java.util.List<org.wsmo.common.IRI> listGoals()
           
 java.util.List<org.wsmo.common.IRI> listMediators()
           
 java.util.List<org.wsmo.common.IRI> listOntologies()
           
 java.util.List<org.wsmo.common.IRI> listWebServices()
           
 java.util.Set<org.wsmo.common.Entity> load(org.wsmo.common.Identifier id)
           
 org.wsmo.common.Entity load(org.wsmo.common.Identifier id, java.lang.Class clazz)
           
 void remove(org.wsmo.common.Identifier id)
           
 void remove(org.wsmo.common.Identifier id, java.lang.Class clazz)
           
 void save(org.wsmo.common.Entity item)
           
 void saveGoal(org.wsmo.service.Goal ont)
           
 void saveMediator(org.wsmo.mediator.Mediator med)
           
 void saveOntology(org.omwg.ontology.Ontology ont)
           
 void saveWebService(org.wsmo.service.WebService ws)
           
 void setDescription(java.lang.String desc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected java.lang.String description

source

protected com.ontotext.ordi.wsmo4rdf.WsmoSource source

connection

protected com.ontotext.ordi.wsmo4rdf.WsmoConnection connection

params

protected java.util.Map<java.lang.Object,java.lang.Object> params
Constructor Detail

ORDIRepository

public ORDIRepository()
Method Detail

addGoal

public void addGoal(org.wsmo.service.Goal goal)
             throws org.wsmo.common.exception.SynchronisationException
Specified by:
addGoal in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

addMediator

public void addMediator(org.wsmo.mediator.Mediator med)
                 throws org.wsmo.common.exception.SynchronisationException
Specified by:
addMediator in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

addOntology

public void addOntology(org.omwg.ontology.Ontology ont)
                 throws org.wsmo.common.exception.SynchronisationException
Specified by:
addOntology in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

addWebService

public void addWebService(org.wsmo.service.WebService ws)
                   throws org.wsmo.common.exception.SynchronisationException
Specified by:
addWebService in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

deleteGoal

public void deleteGoal(org.wsmo.common.IRI id)
                throws org.wsmo.common.exception.SynchronisationException
Specified by:
deleteGoal in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

deleteMediator

public void deleteMediator(org.wsmo.common.IRI id)
                    throws org.wsmo.common.exception.SynchronisationException
Specified by:
deleteMediator in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

deleteOntology

public void deleteOntology(org.wsmo.common.IRI id)
                    throws org.wsmo.common.exception.SynchronisationException
Specified by:
deleteOntology in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

deleteWebService

public void deleteWebService(org.wsmo.common.IRI id)
                      throws org.wsmo.common.exception.SynchronisationException
Specified by:
deleteWebService in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

getGoal

public org.wsmo.service.Goal getGoal(org.wsmo.common.IRI id)
                              throws org.wsmo.common.exception.SynchronisationException
Specified by:
getGoal in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

getMediator

public org.wsmo.mediator.Mediator getMediator(org.wsmo.common.IRI id)
                                       throws org.wsmo.common.exception.SynchronisationException
Specified by:
getMediator in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

getOntology

public org.omwg.ontology.Ontology getOntology(org.wsmo.common.IRI id)
                                       throws org.wsmo.common.exception.SynchronisationException
Specified by:
getOntology in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

getVersion

public java.lang.String getVersion()
                            throws org.wsmo.common.exception.SynchronisationException
Specified by:
getVersion in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

getWebService

public org.wsmo.service.WebService getWebService(org.wsmo.common.IRI id)
                                          throws org.wsmo.common.exception.SynchronisationException
Specified by:
getWebService in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

listGoals

public java.util.List<org.wsmo.common.IRI> listGoals()
                                              throws org.wsmo.common.exception.SynchronisationException
Specified by:
listGoals in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

listMediators

public java.util.List<org.wsmo.common.IRI> listMediators()
                                                  throws org.wsmo.common.exception.SynchronisationException
Specified by:
listMediators in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

listOntologies

public java.util.List<org.wsmo.common.IRI> listOntologies()
                                                   throws org.wsmo.common.exception.SynchronisationException
Specified by:
listOntologies in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

listWebServices

public java.util.List<org.wsmo.common.IRI> listWebServices()
                                                    throws org.wsmo.common.exception.SynchronisationException
Specified by:
listWebServices in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

saveGoal

public void saveGoal(org.wsmo.service.Goal ont)
              throws org.wsmo.common.exception.SynchronisationException
Specified by:
saveGoal in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

saveMediator

public void saveMediator(org.wsmo.mediator.Mediator med)
                  throws org.wsmo.common.exception.SynchronisationException
Specified by:
saveMediator in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

saveOntology

public void saveOntology(org.omwg.ontology.Ontology ont)
                  throws org.wsmo.common.exception.SynchronisationException
Specified by:
saveOntology in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

saveWebService

public void saveWebService(org.wsmo.service.WebService ws)
                    throws org.wsmo.common.exception.SynchronisationException
Specified by:
saveWebService in interface org.wsmo.datastore.WsmoRepository
Throws:
org.wsmo.common.exception.SynchronisationException

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface org.wsmo.datastore.WsmoRepository

setDescription

public void setDescription(java.lang.String desc)
Specified by:
setDescription in interface org.wsmo.datastore.WsmoRepository

load

public org.wsmo.common.Entity load(org.wsmo.common.Identifier id,
                                   java.lang.Class clazz)
Specified by:
load in interface org.wsmo.datastore.DataStore

load

public java.util.Set<org.wsmo.common.Entity> load(org.wsmo.common.Identifier id)
Specified by:
load in interface org.wsmo.datastore.DataStore

remove

public void remove(org.wsmo.common.Identifier id,
                   java.lang.Class clazz)
Specified by:
remove in interface org.wsmo.datastore.DataStore

remove

public void remove(org.wsmo.common.Identifier id)
Specified by:
remove in interface org.wsmo.datastore.DataStore

save

public void save(org.wsmo.common.Entity item)
Specified by:
save in interface org.wsmo.datastore.DataStore

initialise

public void initialise(java.util.Map params)
                throws java.lang.Exception
Specified by:
initialise in interface org.wsmostudio.runtime.extension.Initialisable
Throws:
java.lang.Exception


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