com.ontotext.ordi.wsmo4rdf.remote.server
Interface WsmoConnectionService
- All Known Implementing Classes:
- WsmoConnectionServiceImpl
public interface WsmoConnectionService
Provides functionality of a
WsmoConnection
remotely. An integer
identifier specifies which WsmoConnection
instance is used.
- Author:
- mihail.konstantinov@ontotext.com
- See Also:
WsmoSource
Method Summary |
void |
addGoal(int connectionId,
String goal)
|
void |
addMediator(int connectionId,
String mediatorAsString)
|
void |
addOntology(int connectionId,
String ont)
|
void |
addWebService(int connectionId,
String webServiceAsString)
|
void |
clearWarnings(int connectionId)
|
void |
close(int connectionId)
|
void |
commit(int connectionId)
|
void |
deleteGoal(int connectionId,
String iri)
|
void |
deleteMediator(int connectionId,
String iriAsString)
|
void |
deleteOntology(int connectionId,
String id)
|
void |
deleteWebService(int connectionId,
String iriAsString)
|
String |
evaluate(int connectionId,
String query)
|
String |
getDescription(int connectionId)
|
String |
getGoal(int connectionId,
String iri)
|
String |
getMediator(int connectionId,
String iriAsString)
|
String |
getOntology(int connectionId,
String id)
|
String |
getVersion(int connectionId)
|
String |
getWebService(int connectionId,
String iriAsString)
|
boolean |
isAutoCommit(int connectionId)
|
boolean |
isOpen(int connectionId)
|
boolean |
isReadOnly(int connectionId)
|
List<String> |
listGoals(int connectionId)
|
List<String> |
listMediators(int connectionId)
|
List<String> |
listOntologies(int connectionId)
|
List<String> |
listWebServices(int connectionId)
|
void |
rollback(int connectionId)
|
void |
saveGoal(int connectionId,
String goal)
|
void |
saveMediator(int connectionId,
String mediatorAsString)
|
void |
saveOntology(int connectionId,
String ont)
|
void |
saveWebService(int connectionId,
String webServiceAsString)
|
void |
setAutoCommit(int connectionId,
boolean mode)
|
void |
setDescription(int connectionId,
String desc)
|
evaluate
String evaluate(int connectionId,
String query)
throws MalformedQueryException,
NonExistingEntryException,
OrdiConfigurationException
- Throws:
MalformedQueryException
NonExistingEntryException
OrdiConfigurationException
getDescription
String getDescription(int connectionId)
throws NonExistingEntryException
- Throws:
NonExistingEntryException
setDescription
void setDescription(int connectionId,
String desc)
throws NonExistingEntryException
- Throws:
NonExistingEntryException
getVersion
String getVersion(int connectionId)
throws SynchronisationException,
NonExistingEntryException
- Throws:
SynchronisationException
NonExistingEntryException
addOntology
void addOntology(int connectionId,
String ont)
throws SynchronisationException,
NonExistingEntryException,
UnmarshalException
- Throws:
SynchronisationException
NonExistingEntryException
UnmarshalException
getOntology
String getOntology(int connectionId,
String id)
throws SynchronisationException,
NonExistingEntryException
- Throws:
SynchronisationException
NonExistingEntryException
deleteOntology
void deleteOntology(int connectionId,
String id)
throws SynchronisationException,
NonExistingEntryException
- Throws:
SynchronisationException
NonExistingEntryException
listOntologies
List<String> listOntologies(int connectionId)
throws SynchronisationException,
NonExistingEntryException
- Throws:
SynchronisationException
NonExistingEntryException
saveOntology
void saveOntology(int connectionId,
String ont)
throws SynchronisationException,
NonExistingEntryException,
UnmarshalException
- Throws:
SynchronisationException
NonExistingEntryException
UnmarshalException
addGoal
void addGoal(int connectionId,
String goal)
throws SynchronisationException,
UnmarshalException,
NonExistingEntryException
- Throws:
SynchronisationException
UnmarshalException
NonExistingEntryException
getGoal
String getGoal(int connectionId,
String iri)
throws SynchronisationException,
NonExistingEntryException
- Throws:
SynchronisationException
NonExistingEntryException
deleteGoal
void deleteGoal(int connectionId,
String iri)
throws SynchronisationException,
NonExistingEntryException
- Throws:
SynchronisationException
NonExistingEntryException
listGoals
List<String> listGoals(int connectionId)
throws SynchronisationException,
NonExistingEntryException
- Throws:
SynchronisationException
NonExistingEntryException
saveGoal
void saveGoal(int connectionId,
String goal)
throws SynchronisationException,
UnmarshalException,
NonExistingEntryException
- Throws:
SynchronisationException
UnmarshalException
NonExistingEntryException
addWebService
void addWebService(int connectionId,
String webServiceAsString)
throws SynchronisationException,
NonExistingEntryException,
UnmarshalException
- Throws:
SynchronisationException
NonExistingEntryException
UnmarshalException
saveWebService
void saveWebService(int connectionId,
String webServiceAsString)
throws SynchronisationException,
NonExistingEntryException,
UnmarshalException
- Throws:
SynchronisationException
NonExistingEntryException
UnmarshalException
getWebService
String getWebService(int connectionId,
String iriAsString)
throws SynchronisationException,
NonExistingEntryException
- Throws:
SynchronisationException
NonExistingEntryException
deleteWebService
void deleteWebService(int connectionId,
String iriAsString)
throws SynchronisationException,
NonExistingEntryException
- Throws:
SynchronisationException
NonExistingEntryException
listWebServices
List<String> listWebServices(int connectionId)
throws SynchronisationException,
NonExistingEntryException
- Throws:
SynchronisationException
NonExistingEntryException
addMediator
void addMediator(int connectionId,
String mediatorAsString)
throws SynchronisationException,
NonExistingEntryException,
UnmarshalException
- Throws:
SynchronisationException
NonExistingEntryException
UnmarshalException
saveMediator
void saveMediator(int connectionId,
String mediatorAsString)
throws SynchronisationException,
NonExistingEntryException,
UnmarshalException
- Throws:
SynchronisationException
NonExistingEntryException
UnmarshalException
getMediator
String getMediator(int connectionId,
String iriAsString)
throws SynchronisationException,
NonExistingEntryException
- Throws:
SynchronisationException
NonExistingEntryException
deleteMediator
void deleteMediator(int connectionId,
String iriAsString)
throws SynchronisationException,
NonExistingEntryException
- Throws:
SynchronisationException
NonExistingEntryException
listMediators
List<String> listMediators(int connectionId)
throws SynchronisationException,
NonExistingEntryException
- Throws:
SynchronisationException
NonExistingEntryException
isAutoCommit
boolean isAutoCommit(int connectionId)
throws NonExistingEntryException
- Throws:
NonExistingEntryException
setAutoCommit
void setAutoCommit(int connectionId,
boolean mode)
throws ORDIException,
NonExistingEntryException
- Throws:
ORDIException
NonExistingEntryException
rollback
void rollback(int connectionId)
throws ORDIException,
NonExistingEntryException
- Throws:
ORDIException
NonExistingEntryException
commit
void commit(int connectionId)
throws ORDIException,
NonExistingEntryException
- Throws:
ORDIException
NonExistingEntryException
isReadOnly
boolean isReadOnly(int connectionId)
throws NonExistingEntryException
- Throws:
NonExistingEntryException
isOpen
boolean isOpen(int connectionId)
throws NonExistingEntryException
- Throws:
NonExistingEntryException
close
void close(int connectionId)
throws ORDIException,
NonExistingEntryException
- Throws:
ORDIException
NonExistingEntryException
clearWarnings
void clearWarnings(int connectionId)
throws NonExistingEntryException
- Throws:
NonExistingEntryException
Copyright © 2008. All Rights Reserved.