gr.uoa.di.madgik.rr.utils
Class DatastoreHelper

java.lang.Object
  extended by gr.uoa.di.madgik.rr.utils.DatastoreHelper

public class DatastoreHelper
extends java.lang.Object


Constructor Summary
DatastoreHelper()
           
 
Method Summary
static void clear(RRContext.DatastoreType target, java.util.Set<java.lang.Class<?>> objects)
           
static java.util.Set<IDaoElement> getItems(RRContext.DatastoreType target, java.lang.Class<?> obj)
           
static void replicate(RRContext.DatastoreType source, RRContext.DatastoreType target, java.util.Set<java.lang.Class<?>> objects)
           
static java.util.Set<IDaoElement> retrieveAll(RRContext.DatastoreType target, java.lang.Class<?> object)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatastoreHelper

public DatastoreHelper()
Method Detail

replicate

public static void replicate(RRContext.DatastoreType source,
                             RRContext.DatastoreType target,
                             java.util.Set<java.lang.Class<?>> objects)
                      throws ResourceRegistryException
Throws:
ResourceRegistryException

getItems

public static java.util.Set<IDaoElement> getItems(RRContext.DatastoreType target,
                                                  java.lang.Class<?> obj)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

clear

public static void clear(RRContext.DatastoreType target,
                         java.util.Set<java.lang.Class<?>> objects)
                  throws ResourceRegistryException
Throws:
ResourceRegistryException

retrieveAll

public static java.util.Set<IDaoElement> retrieveAll(RRContext.DatastoreType target,
                                                     java.lang.Class<?> object)
                                              throws ResourceRegistryException
Throws:
ResourceRegistryException