org.eclipse.lyo.oslc4j.test
Class Persistence

java.lang.Object
  extended by org.eclipse.lyo.oslc4j.test.Persistence

public class Persistence
extends Object


Method Summary
static void addTest(Test test)
           
static Test deleteTest(String identifier)
           
static long getNextIdentifier()
           
static Test getTest(String identifier)
           
static Test[] getTests()
           
static void load(String uriString)
           
static void save(String uriString)
           
static Test updateTest(String identifier, Test test)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

load

public static void load(String uriString)
                 throws DatatypeConfigurationException,
                        FileNotFoundException,
                        IllegalAccessException,
                        IllegalArgumentException,
                        InstantiationException,
                        InvocationTargetException,
                        OslcCoreApplicationException,
                        URISyntaxException,
                        SecurityException,
                        NoSuchMethodException
Throws:
DatatypeConfigurationException
FileNotFoundException
IllegalAccessException
IllegalArgumentException
InstantiationException
InvocationTargetException
OslcCoreApplicationException
URISyntaxException
SecurityException
NoSuchMethodException

save

public static void save(String uriString)
                 throws URISyntaxException,
                        OslcCoreApplicationException,
                        IllegalArgumentException,
                        DatatypeConfigurationException,
                        IllegalAccessException,
                        InvocationTargetException,
                        FileNotFoundException
Throws:
URISyntaxException
OslcCoreApplicationException
IllegalArgumentException
DatatypeConfigurationException
IllegalAccessException
InvocationTargetException
FileNotFoundException

getNextIdentifier

public static long getNextIdentifier()

getTests

public static Test[] getTests()

getTest

public static Test getTest(String identifier)

addTest

public static void addTest(Test test)

updateTest

public static Test updateTest(String identifier,
                              Test test)

deleteTest

public static Test deleteTest(String identifier)


Copyright © 2013. All Rights Reserved.