|
||||||||||
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
com.sibvisions.rad.server.http.rest.AbstractStorageServerResource
public class AbstractStorageServerResource
The AbstractStorageServerResource
lists all available records of an AbstractStorage
.
Constructor Summary | |
---|---|
AbstractStorageServerResource()
|
Method Summary | |
---|---|
org.restlet.representation.Representation |
executeDelete()
Deletes records from the storage. |
org.restlet.representation.Representation |
executeFetch()
Fetches records from the storage. |
org.restlet.representation.Representation |
executeGetMetaData()
Gets the metadata for the storage. |
org.restlet.representation.Representation |
executeInsert(org.restlet.representation.Representation pRepresentation)
Inserts a new record. |
org.restlet.representation.Representation |
executeUpdate(org.restlet.representation.Representation pRepresentation)
Updates a record. |
Methods inherited from class org.restlet.resource.ServerResource |
---|
abort, commit, delete, delete, describeVariants, doCatch, doConditionalHandle, doError, doHandle, doHandle, doNegotiatedHandle, get, get, getAttribute, getInfo, getInfo, getOnSent, getPreferredVariant, getVariants, getVariants, handle, hasAnnotations, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setAttribute, setAutoCommitting, setChallengeRequests, setCommitted, setConditional, setCookieSettings, setDimensions, setExisting, setLocationRef, setLocationRef, setNegotiated, setOnSent, setProxyChallengeRequests, setServerInfo, setStatus, setStatus, setStatus, setStatus, updateAllowedMethods, updateDimensions |
Methods inherited from class org.restlet.resource.Resource |
---|
doError, doInit, doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getConnegService, getContext, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMatrixValue, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getProxyChallengeRequests, getProxyChallengeResponse, getQuery, getQueryValue, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestCacheDirectives, getRequestEntity, getResponse, getResponseAttributes, getResponseCacheDirectives, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, init, isConfidential, isLoggable, release, setApplication, setQueryValue, setRequest, setResponse, toObject, toRepresentation, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractStorageServerResource()
Method Detail |
---|
@Get public org.restlet.representation.Representation executeFetch() throws Throwable
Throwable
- if fetch fails@Post public org.restlet.representation.Representation executeInsert(org.restlet.representation.Representation pRepresentation) throws Throwable
pRepresentation
- the new record
Throwable
- if insert fails@Put public org.restlet.representation.Representation executeUpdate(org.restlet.representation.Representation pRepresentation) throws Throwable
pRepresentation
- the new record
Throwable
- if update fails@Delete public org.restlet.representation.Representation executeDelete() throws Throwable
Throwable
- if delete fails@Options public org.restlet.representation.Representation executeGetMetaData() throws Throwable
Throwable
- if metadata detection fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |