it.eng.spagobi.engines.drivers.commonj
Class CommonjDriver
java.lang.Object
it.eng.spagobi.engines.drivers.AbstractDriver
it.eng.spagobi.engines.drivers.commonj.CommonjDriver
- All Implemented Interfaces:
- IEngineDriver
public class CommonjDriver
- extends AbstractDriver
- implements IEngineDriver
Driver Implementation (IEngineDriver Interface) for COmmonJ External Engine.
Method Summary |
protected java.util.Map |
applyService(java.util.Map pars)
|
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 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)
SpagoBITalendEngine does not manage subobejcts, so this method is equivalent to getParameterMap(object, profile, roleName) . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
CommonjDriver
public CommonjDriver()
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 userroleName
- the name of the execution rolebiobject
- 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)
- SpagoBITalendEngine does not manage subobejcts, so this method is equivalent to
getParameterMap(object, profile, roleName)
.
- Specified by:
getParameterMap
in interface IEngineDriver
- Parameters:
subObject
- SubObject to executeprofile
- Profile of the userroleName
- the name of the execution roleobject
- 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
- Parameters:
biobject
- The BIOBject to editprofile
- 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
- Parameters:
biobject
- The BIOBject to editprofile
- the profile
- Returns:
- the new document template build url
- Throws:
InvalidOperationRequest
- the invalid operation request
applyService
protected java.util.Map applyService(java.util.Map pars)