Class CODA
java.lang.Object
it.uniroma2.art.semanticturkey.services.STServiceAdapter
it.uniroma2.art.semanticturkey.services.core.CODA
- All Implemented Interfaces:
NewerNewStyleService
,STService
-
Field Summary
FieldsFields inherited from class it.uniroma2.art.semanticturkey.services.STServiceAdapter
applicationEventPublisher, cfManager, exptManager, stServiceContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionChecks whether remote provisioning (of converters) is enabledcom.fasterxml.jackson.databind.JsonNode
void
setRemoteProvisioningEnabled
(boolean enable) Sets whether remote provisioning (of converters) is enabledcom.fasterxml.jackson.databind.JsonNode
validatePearl
(String pearlCode, boolean rulesShouldExists) 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
-
Field Details
-
CODA_PROVISIONING_PID
- See Also:
-
-
Constructor Details
-
CODA
public CODA()
-
-
Method Details
-
isRemoteProvisioningEnabled
@STServiceOperation @PreAuthorize("@auth.isAdmin()") public Boolean isRemoteProvisioningEnabled() throws IOExceptionChecks whether remote provisioning (of converters) is enabled- Returns:
- Throws:
IOException
-
setRemoteProvisioningEnabled
@STServiceOperation(method=POST) @PreAuthorize("@auth.isAdmin()") public void setRemoteProvisioningEnabled(boolean enable) throws IOException Sets whether remote provisioning (of converters) is enabled- Parameters:
enable
-- Throws:
IOException
-
listConverterContracts
-
validatePearl
@STServiceOperation(method=POST) public com.fasterxml.jackson.databind.JsonNode validatePearl(String pearlCode, @Optional(defaultValue="true") boolean rulesShouldExists)
-