gr.uoa.di.madgik.rr
Class ResourceRegistry

java.lang.Object
  extended by gr.uoa.di.madgik.rr.ResourceRegistry

public class ResourceRegistry
extends Object


Constructor Summary
ResourceRegistry()
           
 
Method Summary
static RRContext getContext()
           
static long getCurrentIteration()
           
static Set<String> getEditableTargets()
           
static Set<String> getReadOnlyTargets()
           
static Set<String> getUpdateTargets()
           
static boolean isInitialBridgingComplete()
           
static boolean isReadPolicySupported(RRContext.ReadPolicy policy)
           
static boolean isWritePolicySupported(RRContext.WritePolicy policy)
           
static void retrieveDirect(Class<?> item)
           
static void retrieveDirect(Class<?> item, String id)
           
static void setDirty()
           
static void startBridging()
           
static void storeDirect(Class<?> item)
           
static void storeDirect(Class<?> item, String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceRegistry

public ResourceRegistry()
Method Detail

getContext

public static RRContext getContext()
                            throws ResourceRegistryException
Throws:
ResourceRegistryException

startBridging

public static void startBridging()
                          throws ResourceRegistryException
Throws:
ResourceRegistryException

isInitialBridgingComplete

public static boolean isInitialBridgingComplete()
                                         throws ResourceRegistryException
Throws:
ResourceRegistryException

retrieveDirect

public static void retrieveDirect(Class<?> item,
                                  String id)
                           throws ResourceRegistryException
Throws:
ResourceRegistryException

retrieveDirect

public static void retrieveDirect(Class<?> item)
                           throws ResourceRegistryException
Throws:
ResourceRegistryException

storeDirect

public static void storeDirect(Class<?> item,
                               String id)
                        throws ResourceRegistryException
Throws:
ResourceRegistryException

storeDirect

public static void storeDirect(Class<?> item)
                        throws ResourceRegistryException
Throws:
ResourceRegistryException

getReadOnlyTargets

public static Set<String> getReadOnlyTargets()

getUpdateTargets

public static Set<String> getUpdateTargets()

getEditableTargets

public static Set<String> getEditableTargets()

setDirty

public static void setDirty()

isWritePolicySupported

public static boolean isWritePolicySupported(RRContext.WritePolicy policy)
                                      throws ResourceRegistryException
Throws:
ResourceRegistryException

isReadPolicySupported

public static boolean isReadPolicySupported(RRContext.ReadPolicy policy)
                                     throws ResourceRegistryException
Throws:
ResourceRegistryException

getCurrentIteration

public static long getCurrentIteration()


Copyright © 2012. All Rights Reserved.