eu.larkc.core.management
Class RdfHandlerResourceUsingRdfGraph

java.lang.Object
  extended by org.restlet.resource.UniformResource
      extended by org.restlet.resource.ServerResource
          extended by eu.larkc.core.management.RdfHandlerResourceUsingRdfGraph
All Implemented Interfaces:
RDFHandlerResource

public class RdfHandlerResourceUsingRdfGraph
extends org.restlet.resource.ServerResource
implements RDFHandlerResource

RDF handler which is capable of processing workflows (and additional parameters) defined in RDF. Used by the so-called "management interface".

Author:
Christoph Fuchs

Constructor Summary
RdfHandlerResourceUsingRdfGraph()
           
 
Method Summary
 org.restlet.representation.Representation downloadWorkflowDescription(org.restlet.representation.Representation entity)
          Downloads a remote workflow description (RDF document) and creates a set of statement from the retrieved file.
 
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.UniformResource
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RdfHandlerResourceUsingRdfGraph

public RdfHandlerResourceUsingRdfGraph()
Method Detail

downloadWorkflowDescription

public org.restlet.representation.Representation downloadWorkflowDescription(org.restlet.representation.Representation entity)
                                                                      throws org.apache.http.client.ClientProtocolException,
                                                                             java.io.IOException,
                                                                             IllegalWorkflowGraphException,
                                                                             java.lang.Exception
Description copied from interface: RDFHandlerResource
Downloads a remote workflow description (RDF document) and creates a set of statement from the retrieved file.

Specified by:
downloadWorkflowDescription in interface RDFHandlerResource
Parameters:
entity - the entity
Returns:
the representation
Throws:
org.apache.http.client.ClientProtocolException - if the client protocol is invalid
java.io.IOException - on I/O error
IllegalWorkflowGraphException - if the executor could not be initialized
java.lang.Exception