Class Services
java.lang.Object
it.uniroma2.art.semanticturkey.services.STServiceAdapter
it.uniroma2.art.semanticturkey.services.core.Services
- All Implemented Interfaces:
NewerNewStyleService
,STService
This class provides services for obtain information on the available services.
- Author:
- Manuel Fiorelli
-
Field Summary
Fields inherited from class it.uniroma2.art.semanticturkey.services.STServiceAdapter
applicationEventPublisher, cfManager, exptManager, stServiceContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the extension paths associated with active extension bundles.getServiceClasses
(String extensionPath) Returns the services classes utilizing a given extension path.getServiceInvocationForm
(org.eclipse.rdf4j.model.IRI operationIRI) Returns the description of an operation.getServiceOperation
(org.eclipse.rdf4j.model.IRI operationIRI) Returns the description of an operation.getServiceOperationAsCustomService
(org.eclipse.rdf4j.model.IRI operationIRI) Returns the description of an operation.getServiceOperations
(String extensionPath, String serviceClass) Returns the operations of a service class bound to an extension path.Methods inherited from class it.uniroma2.art.semanticturkey.services.STServiceAdapter
addValue, checkNotLocallyDefined, createQueryBuilder, generateIRI, generateNatureSPARQLSelectPart, generateNatureSPARQLWherePart, generateResourceWithCustomConstructor, getCodaLexModeForSearchFromLexicalizationModel, getDeleteGraph, getGraphFromNature, getInitializedCodaCore, getManagedConnection, getMetadataGraph, getOptionalProject, getPlatformTransactionManager, getProject, getRepository, getRoleFromNature, getUserNamedGraphs, getWorkingGraph, instantiateSearchStrategy, instantiateSearchStrategy, parseReference, publishResourceDeleted, publishResourceDeleted, removeReifiedValue, retrieveResources, shutDownCodaCore, updateTriplePredicate
-
Constructor Details
-
Services
public Services()
-
-
Method Details
-
getExtensionPaths
Returns the extension paths associated with active extension bundles. Usually, they are in the formgroupId/artifactId
.- Returns:
-
getServiceClasses
Returns the services classes utilizing a given extension path.- Returns:
-
getServiceOperations
@STServiceOperation public Collection<String> getServiceOperations(String extensionPath, String serviceClass) Returns the operations of a service class bound to an extension path.- Parameters:
extensionPath
-serviceClass
-- Returns:
-
getServiceOperation
@STServiceOperation public Optional<OperationDescription> getServiceOperation(org.eclipse.rdf4j.model.IRI operationIRI) Returns the description of an operation. The operationIRI is structured as follows:http://semanticturkey.uniroma2.it/services/{extensionPath}/{serviceClass}/{operation}
- Parameters:
operationIRI
-- Returns:
-
getServiceOperationAsCustomService
@STServiceOperation public Operation getServiceOperationAsCustomService(org.eclipse.rdf4j.model.IRI operationIRI) Returns the description of an operation. The operationIRI is structured as follows:http://semanticturkey.uniroma2.it/services/{extensionPath}/{serviceClass}/{operation}
- Parameters:
operationIRI
-- Returns:
-
getServiceInvocationForm
@STServiceOperation public STProperties getServiceInvocationForm(org.eclipse.rdf4j.model.IRI operationIRI) Returns the description of an operation. The operationIRI is structured as follows:http://semanticturkey.uniroma2.it/services/{extensionPath}/{serviceClass}/{operation}
- Parameters:
operationIRI
-- Returns:
-