org.eclipse.lyo.oslc4j.test.resources
Class TestResource

java.lang.Object
  extended by org.eclipse.lyo.oslc4j.test.resources.TestResource

public class TestResource
extends Object


Constructor Summary
TestResource()
           
 
Method Summary
 javax.ws.rs.core.Response addTest(javax.servlet.http.HttpServletRequest httpServletRequest, Test test)
           
 javax.ws.rs.core.Response deleteTest(String testId)
           
 Compact getCompact(String testId)
           
 Test getTest(String testId)
           
 Test[] getTests()
           
 javax.ws.rs.core.Response updateTest(String testId, Test test)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestResource

public TestResource()
Method Detail

getTests

public Test[] getTests()

getTest

public Test getTest(String testId)

getCompact

public Compact getCompact(String testId)
                   throws URISyntaxException
Throws:
URISyntaxException

addTest

public javax.ws.rs.core.Response addTest(@Context
                                         javax.servlet.http.HttpServletRequest httpServletRequest,
                                         Test test)
                                  throws URISyntaxException
Throws:
URISyntaxException

updateTest

public javax.ws.rs.core.Response updateTest(String testId,
                                            Test test)

deleteTest

public javax.ws.rs.core.Response deleteTest(String testId)


Copyright © 2012. All Rights Reserved.