org.opentox.resource
Class TaskResource

java.lang.Object
  extended by org.restlet.resource.UniformResource
      extended by org.restlet.resource.ServerResource
          extended by org.opentox.resource.OTResource
              extended by org.opentox.resource.TaskResource

public class TaskResource
extends OTResource

Author:
chung

Nested Class Summary
 
Nested classes/interfaces inherited from class org.opentox.resource.OTResource
OTResource.Directories, OTResource.URIs
 
Field Summary
 
Fields inherited from class org.opentox.resource.OTResource
htmlEND, htmlHEAD, PMMLIntro, xmlIntro
 
Constructor Summary
TaskResource()
           
 
Method Summary
 void doInit()
           
protected  org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
          TODO: Return a representation of the task - use org.opentox.rdf.Task.
 
Methods inherited from class org.restlet.resource.ServerResource
delete, delete, describeVariants, doConditionalHandle, doGetInfo, doHandle, doHandle, doNegotiatedHandle, get, getInfo, getInfo, getPreferredVariant, getVariants, getVariants, handle, head, head, isAnnotated, isConditional, isExisting, isInRole, isNegotiated, options, options, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setChallengeRequest, setChallengeRequests, setConditional, setCookieSettings, setDimensions, setExisting, setLocationRef, setLocationRef, setNegotiated, setServerInfo, setStatus, setStatus, setStatus, setStatus, setVariants, updateAllowedMethods, updateDimensions
 
Methods inherited from class org.restlet.resource.UniformResource
doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getContext, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMethod, getOriginalRef, getProtocol, getQuery, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestEntity, getResponse, getResponseAttributes, getResponseEntity, getRootRef, getServerInfo, getStatus, init, isConfidential, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskResource

public TaskResource()
Method Detail

doInit

public void doInit()
            throws org.restlet.resource.ResourceException
Overrides:
doInit in class org.restlet.resource.UniformResource
Throws:
org.restlet.resource.ResourceException

get

protected org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
                                                 throws org.restlet.resource.ResourceException
TODO: Return a representation of the task - use org.opentox.rdf.Task.

Overrides:
get in class org.restlet.resource.ServerResource
Parameters:
variant -
Returns:
Representation of the given variant.
Throws:
org.restlet.resource.ResourceException