|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overlord.sramp.server.atom.services.AbstractResource
org.overlord.sramp.server.atom.services.OntologyResource
public class OntologyResource
The JAX-RS resource that handles ontology specific tasks, including:
RDF)
| Constructor Summary | |
|---|---|
OntologyResource()
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.overlord.sramp.server.atom.services.AbstractResource |
|---|
logError |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OntologyResource()
| Method Detail |
|---|
public org.jboss.resteasy.plugins.providers.atom.Entry create(RDF rdf)
throws SrampAtomException
fileName - model - type - content -
SrampAtomException
public void update(String uuid,
org.jboss.resteasy.plugins.providers.atom.Entry entry)
throws SrampAtomException
uuid - rdf -
SrampAtomException
public org.jboss.resteasy.plugins.providers.atom.Entry get(String uuid)
throws SrampAtomException
model - type - uuid -
SrampAtomException
public void delete(String uuid)
throws SrampAtomException
model - type - uuid -
SrampAtomException
public org.jboss.resteasy.plugins.providers.atom.Feed list()
throws SrampAtomException
uri -
Exception
SrampAtomException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||