fr.lri.bd.olap.soap
Class SoapClient

java.lang.Object
  extended by fr.lri.bd.olap.soap.SoapClient

public class SoapClient
extends Object

SoapClient is singleton of application used to send SOAP messages to VERD engine

Author:
holubec

Method Summary
static SoapClient getSoapClient()
           
 VERDOLAPServiceStub getSoapStub()
           
 String[] getTemplates()
          Return names of VERD templates for visualization
static void changeSoapURL()
          Soap URL is changed, generate new stub object
static void init(String URI)
          Initialization with VERD engine URI
 void showNewGraph(ViewDTO view, String template)
          Show new visualization using VERD engine's tamplate
 void visualizeTree(OlapTree tree, String template)
          Visualize datamart using VERD engine
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public static void init(String URI)
Initialization with VERD engine URI

Parameters:
URI - URI string

changeSoapURL

public static void changeSoapURL()
Soap URL is changed, generate new stub object


getSoapClient

public static SoapClient getSoapClient()
Returns:
instance of SOAP client

getSoapStub

public VERDOLAPServiceStub getSoapStub()
Returns:
specified VERDOLAPServiceStub for VERD URI

showNewGraph

public void showNewGraph(ViewDTO view,
                         String template)
                  throws RemoteException
Show new visualization using VERD engine's tamplate

Parameters:
view - view DTO
template - name of VERD engine's template
Throws:
RemoteException

visualizeTree

public void visualizeTree(OlapTree tree,
                          String template)
                   throws RemoteException
Visualize datamart using VERD engine

Parameters:
tree - OLAP tree
template - initial template
Throws:
RemoteException

getTemplates

public String[] getTemplates()
                      throws RemoteException
Return names of VERD templates for visualization

Returns:
VERD template names
Throws:
RemoteException