it.eng.spagobi.engines.drivers.geo
Class GeoDriver

java.lang.Object
  extended by it.eng.spagobi.engines.drivers.AbstractDriver
      extended by it.eng.spagobi.engines.drivers.geo.GeoDriver
All Implemented Interfaces:
IEngineDriver

public class GeoDriver
extends AbstractDriver
implements IEngineDriver

Driver Implementation (IEngineDriver Interface) for Geo External Engine.


Field Summary
static java.lang.String COUNTRY
           
static java.lang.String DOCUMENT_ID
           
static java.lang.String DOCUMENT_LABEL
           
static java.lang.String LANGUAGE
           
 
Constructor Summary
GeoDriver()
           
 
Method Summary
protected  java.util.Map applyService(java.util.Map pars)
           
 EngineURL getEditDocumentTemplateBuildUrl(java.lang.Object biobject, it.eng.spago.security.IEngUserProfile profile)
          Returns the EngineURL for the modification of the document template.
 EngineURL getNewDocumentTemplateBuildUrl(java.lang.Object biobject, it.eng.spago.security.IEngUserProfile profile)
          Returns the EngineURL for the creation of a new template for the document.
 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 it.eng.spagobi.engines.drivers.AbstractDriver
addBIParameterDescriptions, applySecurity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOCUMENT_ID

public static final java.lang.String DOCUMENT_ID
See Also:
Constant Field Values

DOCUMENT_LABEL

public static final java.lang.String DOCUMENT_LABEL
See Also:
Constant Field Values

COUNTRY

public static final java.lang.String COUNTRY
See Also:
Constant Field Values

LANGUAGE

public static final java.lang.String LANGUAGE
See Also:
Constant Field Values
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 IEngineDriver
Parameters:
profile - Profile of the user
roleName - the name of the execution role
biobject - the biobject
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 IEngineDriver
Parameters:
subObject - SubObject to execute
profile - Profile of the user
roleName - the name of the execution role
object - the object
Returns:
Map The map of the execution call parameters

getEditDocumentTemplateBuildUrl

public EngineURL getEditDocumentTemplateBuildUrl(java.lang.Object biobject,
                                                 it.eng.spago.security.IEngUserProfile profile)
                                          throws InvalidOperationRequest
Description copied from interface: IEngineDriver
Returns the EngineURL for the modification of the document template.

Specified by:
getEditDocumentTemplateBuildUrl in interface IEngineDriver
Parameters:
biobject - the biobject
profile - the profile
Returns:
the EngineURL for the modification of the document template
Throws:
InvalidOperationRequest - the invalid operation request

getNewDocumentTemplateBuildUrl

public EngineURL getNewDocumentTemplateBuildUrl(java.lang.Object biobject,
                                                it.eng.spago.security.IEngUserProfile profile)
                                         throws InvalidOperationRequest
Description copied from interface: IEngineDriver
Returns the EngineURL for the creation of a new template for the document.

Specified by:
getNewDocumentTemplateBuildUrl in interface IEngineDriver
Parameters:
biobject - the biobject
profile - the profile
Returns:
the EngineURL for the creation of a new template for the document
Throws:
InvalidOperationRequest - the invalid operation request

applyService

protected java.util.Map applyService(java.util.Map pars)