org.qi4j.library.rest
Class EntitiesResource

java.lang.Object
  extended by org.restlet.resource.UniformResource
      extended by org.restlet.resource.ServerResource
          extended by org.qi4j.library.rest.EntitiesResource

public class EntitiesResource
extends org.restlet.resource.ServerResource

Listing of all Entities.

Mapped to /entity


Constructor Summary
EntitiesResource()
           
 
Method Summary
protected  org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
           
protected  org.restlet.representation.Representation post(org.restlet.representation.Representation entity, org.restlet.representation.Variant variant)
           
 
Methods inherited from class org.restlet.resource.ServerResource
abort, commit, delete, delete, describeVariants, doConditionalHandle, doHandle, doHandle, doNegotiatedHandle, get, getInfo, getInfo, getOnSent, getPreferredVariant, getVariants, handle, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, post, put, put, 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, updateDimensions
 
Methods inherited from class org.restlet.resource.UniformResource
doCatch, doInit, doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getContext, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getQuery, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestEntity, getResponse, getResponseAttributes, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, init, isConfidential, release, setRequest, setResponse, toObject, toRepresentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntitiesResource

public EntitiesResource()
Method Detail

get

protected org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
                                                 throws org.restlet.resource.ResourceException
Overrides:
get in class org.restlet.resource.ServerResource
Throws:
org.restlet.resource.ResourceException

post

protected org.restlet.representation.Representation post(org.restlet.representation.Representation entity,
                                                         org.restlet.representation.Variant variant)
                                                  throws org.restlet.resource.ResourceException
Overrides:
post in class org.restlet.resource.ServerResource
Throws:
org.restlet.resource.ResourceException