it.eng.spagobi.engines.drivers
Class AbstractDriver

java.lang.Object
  extended by it.eng.spagobi.engines.drivers.AbstractDriver
Direct Known Subclasses:
AccessibilityDriver, BirtReportDriver, CommonjDriver, GenericDriver, GeoDriver, JasperReportDriver, JPivotDriver, NetworkDriver, QbeDriver, SmartFilterDriver, SpagoBIKpiInternalEngine, TalendDriver, WekaDriver, WorksheetDriver

public class AbstractDriver
extends java.lang.Object

Author:
Angelo Bernabei angelo.bernabei@eng.it

Constructor Summary
AbstractDriver()
           
 
Method Summary
protected  java.util.Map addBIParameterDescriptions(BIObject biobj, java.util.Map pars)
          get the description of the parameter and create a new biparameter to pass at the engine with url parameter_name+DESCRIPTION_SUFFIX
 void applyLocale(java.util.Locale locale)
           
protected  java.util.Map applySecurity(java.util.Map pars, it.eng.spago.security.IEngUserProfile profile)
          Applys changes for security reason if necessary
 byte[] ElaborateTemplate(byte[] template)
          Returns the template elaborated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDriver

public AbstractDriver()
Method Detail

applySecurity

protected java.util.Map applySecurity(java.util.Map pars,
                                      it.eng.spago.security.IEngUserProfile profile)
Applys changes for security reason if necessary

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

addBIParameterDescriptions

protected java.util.Map addBIParameterDescriptions(BIObject biobj,
                                                   java.util.Map pars)
get the description of the parameter and create a new biparameter to pass at the engine with url parameter_name+DESCRIPTION_SUFFIX

Parameters:
biobj -
pars -
Returns:

ElaborateTemplate

public byte[] ElaborateTemplate(byte[] template)
                         throws InvalidOperationRequest
Returns the template elaborated.

Parameters:
byte[] - the template
profile - the profile
Returns:
the byte[] with the modification of the document template
Throws:
InvalidOperationRequest - the invalid operation request

applyLocale

public void applyLocale(java.util.Locale locale)