|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDocumentResource
Represents a document resource.
Method Summary | |
---|---|
void |
remove()
Delete a document. |
org.restlet.representation.Representation |
retrieve()
Retrieve a document. |
org.restlet.representation.Representation |
store(org.restlet.representation.Representation rep)
Update or create a document. |
Method Detail |
---|
@Get org.restlet.representation.Representation retrieve() throws WrongNodeTypeException, org.neo4j.server.rest.web.NodeNotFoundException
org.neo4j.server.rest.web.NodeNotFoundException
WrongNodeTypeException
@Put org.restlet.representation.Representation store(org.restlet.representation.Representation rep) throws org.json.JSONException, java.io.IOException, org.neo4j.graphdb.NotFoundException, WrongNodeTypeException
rep
- The information for the new/update document
org.json.JSONException
java.io.IOException
org.neo4j.graphdb.NotFoundException
WrongNodeTypeException
@Delete void remove() throws org.neo4j.graphdb.NotFoundException, WrongNodeTypeException
WrongNodeTypeException
org.neo4j.graphdb.NotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |