gr.uoa.di.madgik.environment.state
Class StateHandlingProvider

java.lang.Object
  extended by gr.uoa.di.madgik.environment.state.StateHandlingProvider
All Implemented Interfaces:
IEnvironmentProvider, IStateHandlingProvider

public class StateHandlingProvider
extends Object
implements IStateHandlingProvider


Constructor Summary
StateHandlingProvider()
           
 
Method Summary
 String CreateNewWSResource(String ForName, Object Resource, EnvHintCollection Hints)
           
 void DeleteWSResource(String ID, String ForName, EnvHintCollection Hints)
           
 Object GetWSResourceByIDForServiceClass(String ID, String ForName, EnvHintCollection Hints)
           
 List<Object> GetWSResourcesForServiceClass(String ForName, EnvHintCollection Hints)
           
 StateResource GetXMLWSResourceByIDForServiceClass(String ID, String ForName, EnvHintCollection Hints)
           
 List<StateResource> GetXMLWSResourcesForServiceClass(String ForName, EnvHintCollection Hints)
           
static IStateHandlingProvider Init(String ProviderName, EnvHintCollection Hints)
           
static boolean IsInit()
           
 Endpoint newEndpoint(String endpoint)
           
 void UpdateWSResource(String ID, String ForName, Object resource, EnvHintCollection Hints)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateHandlingProvider

public StateHandlingProvider()
Method Detail

Init

public static IStateHandlingProvider Init(String ProviderName,
                                          EnvHintCollection Hints)
                                   throws EnvironmentValidationException
Throws:
EnvironmentValidationException

IsInit

public static boolean IsInit()

CreateNewWSResource

public String CreateNewWSResource(String ForName,
                                  Object Resource,
                                  EnvHintCollection Hints)
                           throws EnvironmentInformationSystemException
Specified by:
CreateNewWSResource in interface IStateHandlingProvider
Throws:
EnvironmentInformationSystemException

UpdateWSResource

public void UpdateWSResource(String ID,
                             String ForName,
                             Object resource,
                             EnvHintCollection Hints)
                      throws EnvironmentInformationSystemException
Specified by:
UpdateWSResource in interface IStateHandlingProvider
Throws:
EnvironmentInformationSystemException

GetWSResourceByIDForServiceClass

public Object GetWSResourceByIDForServiceClass(String ID,
                                               String ForName,
                                               EnvHintCollection Hints)
                                        throws EnvironmentInformationSystemException
Specified by:
GetWSResourceByIDForServiceClass in interface IStateHandlingProvider
Throws:
EnvironmentInformationSystemException

GetWSResourcesForServiceClass

public List<Object> GetWSResourcesForServiceClass(String ForName,
                                                  EnvHintCollection Hints)
                                           throws EnvironmentInformationSystemException
Specified by:
GetWSResourcesForServiceClass in interface IStateHandlingProvider
Throws:
EnvironmentInformationSystemException

GetXMLWSResourceByIDForServiceClass

public StateResource GetXMLWSResourceByIDForServiceClass(String ID,
                                                         String ForName,
                                                         EnvHintCollection Hints)
                                                  throws EnvironmentInformationSystemException
Specified by:
GetXMLWSResourceByIDForServiceClass in interface IStateHandlingProvider
Throws:
EnvironmentInformationSystemException

GetXMLWSResourcesForServiceClass

public List<StateResource> GetXMLWSResourcesForServiceClass(String ForName,
                                                            EnvHintCollection Hints)
                                                     throws EnvironmentInformationSystemException
Specified by:
GetXMLWSResourcesForServiceClass in interface IStateHandlingProvider
Throws:
EnvironmentInformationSystemException

DeleteWSResource

public void DeleteWSResource(String ID,
                             String ForName,
                             EnvHintCollection Hints)
                      throws EnvironmentInformationSystemException
Specified by:
DeleteWSResource in interface IStateHandlingProvider
Throws:
EnvironmentInformationSystemException

newEndpoint

public Endpoint newEndpoint(String endpoint)
                     throws EnvironmentInformationSystemException
Specified by:
newEndpoint in interface IStateHandlingProvider
Throws:
EnvironmentInformationSystemException


Copyright © 2013. All Rights Reserved.