it.eng.spagobi.drivers.birt
Class BirtReportDriverTokenSign

java.lang.Object
  extended by it.eng.spagobi.drivers.birt.BirtReportDriverTokenSign
All Implemented Interfaces:
it.eng.spagobi.drivers.IEngineDriver

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


Constructor Summary
BirtReportDriverTokenSign()
           
 
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
private  java.util.Map addSecurityToken(java.util.Map pars)
          Add to the map parameters the authethication token
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
 java.util.Map getParameterMap(java.lang.Object biobject)
          Return a map of parameters which will be sended in the request to the engine application.
 java.util.Map getParameterMap(java.lang.Object object, it.eng.spago.security.IEngUserProfile profile)
          Return a map of parameters which will be sended in the request to the engine application.
 java.util.Map getParameterMap(java.lang.Object object, java.lang.Object subObject)
          Return a map of parameters which will be sended 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)
          Return a map of parameters which will be sended 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

BirtReportDriverTokenSign

public BirtReportDriverTokenSign()
Method Detail

getParameterMap

public java.util.Map getParameterMap(java.lang.Object biobject)
Return a map of parameters which will be sended in the request to the engine application.

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

getParameterMap

public java.util.Map getParameterMap(java.lang.Object object,
                                     it.eng.spago.security.IEngUserProfile profile)
Return a map of parameters which will be sended 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
Returns:
Map The map of the execution call parameters

getParameterMap

public java.util.Map getParameterMap(java.lang.Object object,
                                     java.lang.Object subObject)
Return a map of parameters which will be sended 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
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)
Return a map of parameters which will be sended 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
Returns:
Map The map of the execution call parameters

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

addSecurityToken

private java.util.Map addSecurityToken(java.util.Map pars)
Add to the map parameters the authethication token

Parameters:
pars - Map of the parameters
Returns:
Map of the parameters containing the security information