|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.resource.Resource
org.restlet.resource.UniformResource
org.restlet.resource.ServerResource
ch.hsr.bieridee.resourcehandler.TagResource
public class TagResource
Tag Resource.
Constructor Summary | |
---|---|
TagResource()
|
Method Summary | |
---|---|
void |
doInit()
|
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. |
Methods inherited from class org.restlet.resource.ServerResource |
---|
abort, commit, getOnSent, getVariants, handle, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setAutoCommitting, setChallengeRequests, setCommitted, setConditional, setCookieSettings, setDimensions, setExisting, setLocationRef, setLocationRef, setNegotiated, setOnSent, setServerInfo, setStatus, setStatus, setStatus, setStatus, updateAllowedMethods |
Methods inherited from class org.restlet.resource.Resource |
---|
getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getConnegService, getContext, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getQuery, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestCacheDirectives, getRequestEntity, getResponse, getResponseAttributes, getResponseCacheDirectives, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, init, isConfidential, isLoggable, release, setApplication, setRequest, setResponse, toObject, toRepresentation, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TagResource()
Method Detail |
---|
public void doInit()
doInit
in class org.restlet.resource.Resource
public org.restlet.representation.Representation retrieve() throws WrongNodeTypeException, org.neo4j.server.rest.web.NodeNotFoundException
IDocumentResource
retrieve
in interface IDocumentResource
WrongNodeTypeException
org.neo4j.server.rest.web.NodeNotFoundException
public void remove() throws org.neo4j.graphdb.NotFoundException, WrongNodeTypeException
IDocumentResource
remove
in interface IDocumentResource
org.neo4j.graphdb.NotFoundException
WrongNodeTypeException
public org.restlet.representation.Representation store(org.restlet.representation.Representation rep) throws org.json.JSONException, java.io.IOException, org.neo4j.graphdb.NotFoundException, WrongNodeTypeException
IDocumentResource
store
in interface IDocumentResource
rep
- The information for the new/update document
org.json.JSONException
java.io.IOException
org.neo4j.graphdb.NotFoundException
WrongNodeTypeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |