public class OntologyResource extends AbstractResource
RDF)| Constructor and Description |
|---|
OntologyResource()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.jboss.resteasy.plugins.providers.atom.Entry |
create(RDF rdf)
S-RAMP atom POST to add an ontology to the repository.
|
void |
delete(String uuid)
Called to delete a single s-ramp ontology.
|
org.jboss.resteasy.plugins.providers.atom.Entry |
get(String uuid)
Called to get a single ontology by its UUID.
|
org.jboss.resteasy.plugins.providers.atom.Feed |
list()
Gets a feed of ontologies.
|
void |
update(String uuid,
org.jboss.resteasy.plugins.providers.atom.Entry entry)
Called to update a single ontology by providing a new OWL RDF document.
|
ensureSupportsMark, logErrorpublic org.jboss.resteasy.plugins.providers.atom.Entry create(RDF rdf) throws SrampAtomException
fileName - model - type - content - SrampAtomExceptionpublic void update(String uuid, org.jboss.resteasy.plugins.providers.atom.Entry entry) throws SrampAtomException
uuid - rdf - SrampAtomExceptionpublic org.jboss.resteasy.plugins.providers.atom.Entry get(String uuid) throws SrampAtomException
model - type - uuid - SrampAtomExceptionpublic void delete(String uuid) throws SrampAtomException
model - type - uuid - SrampAtomExceptionpublic org.jboss.resteasy.plugins.providers.atom.Feed list()
throws SrampAtomException
uri - ExceptionSrampAtomExceptionCopyright © 2011–2013 JBoss, a division of Red Hat. All rights reserved.