it.eng.spagobi.drivers.geo
Class GeoDriver

java.lang.Object
  extended by it.eng.spagobi.drivers.geo.GeoDriver
All Implemented Interfaces:
it.eng.spagobi.drivers.IEngineDriver
Direct Known Subclasses:
GeoDriverTokenSign

public class GeoDriver
extends java.lang.Object
implements it.eng.spagobi.drivers.IEngineDriver

Driver Implementation (IEngineDriver Interface) for Geo Engine.


Constructor Summary
GeoDriver()
           
 
Method Summary
private  java.util.Map addBIParameters(it.eng.spagobi.bo.BIObject biobj, java.util.Map pars)
          Add into the parameters map the BIObject's BIParameter names and values
protected  java.util.Map applySecurity(java.util.Map pars)
          Applys changes for security reason if necessary
 it.eng.spagobi.drivers.EngineURL getEditDocumentTemplateBuildUrl(java.lang.Object biobject)
          Function not implemented.
private  java.util.Map getMap(it.eng.spagobi.bo.BIObject biobj)
          Starting from a BIObject extracts from it the map of the paramaeters for the execution call
 it.eng.spagobi.drivers.EngineURL getNewDocumentTemplateBuildUrl(java.lang.Object biobject)
          Function not implemented.
 java.util.Map getParameterMap(java.lang.Object biobject, it.eng.spago.security.IEngUserProfile profile, java.lang.String roleName)
          Returns a map of parameters which will be send in the request to the engine application.
 java.util.Map getParameterMap(java.lang.Object object, java.lang.Object subObject, it.eng.spago.security.IEngUserProfile profile, java.lang.String roleName)
          Returns a map of parameters which will be send in the request to the engine application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoDriver

public GeoDriver()
Method Detail

getParameterMap

public java.util.Map getParameterMap(java.lang.Object biobject,
                                     it.eng.spago.security.IEngUserProfile profile,
                                     java.lang.String roleName)
Returns a map of parameters which will be send in the request to the engine application.

Specified by:
getParameterMap in interface it.eng.spagobi.drivers.IEngineDriver
Parameters:
biObject - Object to execute
profile - Profile of the user
roleName - the name of the execution role
Returns:
Map The map of the execution call parameters

getParameterMap

public java.util.Map getParameterMap(java.lang.Object object,
                                     java.lang.Object subObject,
                                     it.eng.spago.security.IEngUserProfile profile,
                                     java.lang.String roleName)
Returns a map of parameters which will be send in the request to the engine application.

Specified by:
getParameterMap in interface it.eng.spagobi.drivers.IEngineDriver
Parameters:
biObject - Object container of the subObject
subObject - SubObject to execute
profile - Profile of the user
roleName - the name of the execution role
Returns:
Map The map of the execution call parameters

applySecurity

protected java.util.Map applySecurity(java.util.Map pars)
Applys changes for security reason if necessary

Parameters:
pars - The map of parameters
Returns:
the map of parameters to send to the engine

getMap

private java.util.Map getMap(it.eng.spagobi.bo.BIObject biobj)
Starting from a BIObject extracts from it the map of the paramaeters for the execution call

Parameters:
biobj - BIObject to execute
Returns:
Map The map of the execution call parameters

addBIParameters

private java.util.Map addBIParameters(it.eng.spagobi.bo.BIObject biobj,
                                      java.util.Map pars)
Add into the parameters map the BIObject's BIParameter names and values

Parameters:
biobj - BIOBject to execute
pars - Map of the parameters for the execution call
Returns:
Map The map of the execution call parameters

getEditDocumentTemplateBuildUrl

public it.eng.spagobi.drivers.EngineURL getEditDocumentTemplateBuildUrl(java.lang.Object biobject)
                                                                 throws it.eng.spagobi.drivers.exceptions.InvalidOperationRequest
Function not implemented. Thid method should not be called

Specified by:
getEditDocumentTemplateBuildUrl in interface it.eng.spagobi.drivers.IEngineDriver
Parameters:
biobject - The BIOBject to edit
Throws:
it.eng.spagobi.drivers.exceptions.InvalidOperationRequest

getNewDocumentTemplateBuildUrl

public it.eng.spagobi.drivers.EngineURL getNewDocumentTemplateBuildUrl(java.lang.Object biobject)
                                                                throws it.eng.spagobi.drivers.exceptions.InvalidOperationRequest
Function not implemented. Thid method should not be called

Specified by:
getNewDocumentTemplateBuildUrl in interface it.eng.spagobi.drivers.IEngineDriver
Parameters:
biobject - The BIOBject to edit
Throws:
it.eng.spagobi.drivers.exceptions.InvalidOperationRequest