it.eng.spagobi.engines.drivers.chart
Class ChartDriver

java.lang.Object
  extended by it.eng.spagobi.engines.drivers.AbstractDriver
      extended by it.eng.spagobi.engines.drivers.generic.GenericDriver
          extended by it.eng.spagobi.engines.drivers.chart.ChartDriver
All Implemented Interfaces:
IEngineDriver

public class ChartDriver
extends GenericDriver

Driver Implementation (IEngineDriver Interface) for Chart External Engine.


Field Summary
 
Fields inherited from class it.eng.spagobi.engines.drivers.generic.GenericDriver
COUNTRY, DOCUMENT_ID, DOCUMENT_LABEL, LANGUAGE
 
Constructor Summary
ChartDriver()
           
 
Method Summary
 EngineURL getEditDocumentTemplateBuildUrl(java.lang.Object biobject, it.eng.spago.security.IEngUserProfile profile)
          Function not implemented.
 EngineURL getNewDocumentTemplateBuildUrl(java.lang.Object biobject, it.eng.spago.security.IEngUserProfile profile)
          Function not implemented.
 java.util.Map getParameterMap(java.lang.Object analyticalDocument, 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 analyticalDocument, java.lang.Object analyticalDocumentSubObject, 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
 

Constructor Detail

ChartDriver

public ChartDriver()
Method Detail

getParameterMap

public java.util.Map getParameterMap(java.lang.Object analyticalDocument,
                                     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
Overrides:
getParameterMap in class GenericDriver
Parameters:
profile - Profile of the user
roleName - the name of the execution role
analyticalDocument - the biobject
Returns:
Map The map of the execution call parameters

getParameterMap

public java.util.Map getParameterMap(java.lang.Object analyticalDocument,
                                     java.lang.Object analyticalDocumentSubObject,
                                     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
Overrides:
getParameterMap in class GenericDriver
Parameters:
analyticalDocumentSubObject - SubObject to execute
profile - Profile of the user
roleName - the name of the execution role
analyticalDocument - 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
Function not implemented. Thid method should not be called

Specified by:
getEditDocumentTemplateBuildUrl in interface IEngineDriver
Overrides:
getEditDocumentTemplateBuildUrl in class GenericDriver
Parameters:
biobject - The BIOBject to edit
profile - the profile
Returns:
the edits the document template build url
Throws:
InvalidOperationRequest - the invalid operation request

getNewDocumentTemplateBuildUrl

public EngineURL getNewDocumentTemplateBuildUrl(java.lang.Object biobject,
                                                it.eng.spago.security.IEngUserProfile profile)
                                         throws InvalidOperationRequest
Function not implemented. Thid method should not be called

Specified by:
getNewDocumentTemplateBuildUrl in interface IEngineDriver
Overrides:
getNewDocumentTemplateBuildUrl in class GenericDriver
Parameters:
biobject - The BIOBject to edit
profile - the profile
Returns:
the new document template build url
Throws:
InvalidOperationRequest - the invalid operation request