it.eng.spagobi.engines.documentcomposition.utils
Class DocumentCompositionUtils
java.lang.Object
it.eng.spagobi.engines.documentcomposition.utils.DocumentCompositionUtils
public class DocumentCompositionUtils
- extends java.lang.Object
- Author:
- Antonella Giachino (antonella.giachino@eng.it)
Utility Class for document composition
Method Summary |
static java.util.List |
getAvailableExporters(java.lang.String objLabel,
it.eng.spago.base.SessionContainer sessionContainer,
it.eng.spago.base.SourceBean requestSB)
Method called by document composition publisher , that returns alla available exporters for a single document contained in the composed one. |
static java.lang.String |
getExecutionUrl(java.lang.String objLabel,
it.eng.spago.base.SessionContainer sessionContainer,
it.eng.spago.base.SourceBean requestSB)
Returns an url for execute the document with the engine associated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messageBundle
public static final java.lang.String messageBundle
- See Also:
- Constant Field Values
DocumentCompositionUtils
public DocumentCompositionUtils()
getExecutionUrl
public static java.lang.String getExecutionUrl(java.lang.String objLabel,
it.eng.spago.base.SessionContainer sessionContainer,
it.eng.spago.base.SourceBean requestSB)
- Returns an url for execute the document with the engine associated.
It calls relative driver.
- Parameters:
objLabel
- the logical label of the document (gets from the template file)sessionContainer
- session objectrequestSB
- request object
- Returns:
- String the complete url. It use this format: |. If there is an error during the execution is valorized and url is null, else it is null and the url is complete.
getAvailableExporters
public static java.util.List getAvailableExporters(java.lang.String objLabel,
it.eng.spago.base.SessionContainer sessionContainer,
it.eng.spago.base.SourceBean requestSB)
- Method called by document composition publisher , that returns alla available exporters for a single document contained in the composed one.
- Parameters:
objLabel
- sessionContainer
- requestSB
-
- Returns: