|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.query.template.ReportTemplateHelper
This is a helper class which contains the implementation for processing
XML Source which defines a report.
Supported API: true
Extendable: false
Nested Class Summary | |
(package private) static class |
ReportTemplateHelper.ReportApplicationContext
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Constructor Summary | |
ReportTemplateHelper()
|
Method Summary | |
protected static String |
_buildSQL(String a_qmlSource,
Hashtable a_inputs,
Locale a_locale)
This method is used to build the SQL representation for the QML XMLSource. |
protected static boolean |
_checkAdvancedQueryAccess(WTContainerRef a_containerReference)
Indicates if the current user has access to advanced query capabilities based on the specified container context. |
protected static QueryResult |
_generateResults(String a_qmlSource,
Hashtable a_inputs,
Locale a_locale,
WTContainerRef a_containerRef)
This method is used to generate a QueryResult from the QML specification and locale. |
protected static URL |
_getExecuteReportURL(Properties a_properties,
ReportTemplate a_reportTemplate)
This method is used to construct the URL to execute the report. |
protected static URL |
_getGenerateFormURL(Properties a_properties,
ReportTemplate a_reportTemplate)
This method is used to construct the URL for the report generation form. |
static void |
bindParameters(XMLSource a_qmlSource,
StatementSpec a_statementSpec,
Hashtable a_parameterMap)
This method is used to bind parameters from a name and value Hashtable to a StatementSpec instance. |
private static Vector |
buildColumnDefs(Node a_document,
Locale a_locale)
|
static ColumnExpression |
buildColumnExpression(String a_value,
String a_type,
Locale a_locale)
|
static Hashtable |
buildParameterMap(ParameterTemplate[] a_parameterTemplates,
Hashtable a_inputs,
boolean use_defaults)
This method is used to build a Hashtable of actual values from ParameterTemplate objects and an input Hashtable. |
static ParameterTemplate |
buildParameterTemplate(Element a_element)
|
static ParameterTemplate[] |
buildParameterTemplates(XMLSource a_qmlSource)
This method is used to build a Vector of ParameterTemplate objects from the specified XMLSource. |
static String |
buildSQL(String a_qmlSource,
Hashtable a_inputs,
Locale a_locale)
This method is used to build the SQL representation for the QML XMLSource. |
static String |
buildSQL(XMLSource a_qmlSource,
Hashtable a_inputs,
Locale a_locale)
This method is used to build the SQL representation for the QML XMLSource. |
static StatementSpec |
buildStatement(XMLSource a_qmlSource)
Deprecated. as of R7.0, use buildStatement(XMLSource, Locale, Hashtable) |
static StatementSpec |
buildStatement(XMLSource a_qmlSource,
Locale a_locale)
Deprecated. as of R7.0, use buildStatement(XMLSource, Locale, Hashtable) |
static StatementSpec |
buildStatement(XMLSource a_qmlSource,
Locale a_locale,
Hashtable a_parameterMap)
This method is used to build the Statement given the QML XMLSource, locale and parameters. |
private static TableModel |
buildTableModel(DOMXMLSource a_qmlSource,
QueryResult a_queryResult,
Hashtable a_inputs,
Locale a_locale)
|
static boolean |
checkAdvancedQueryAccess(WTContainerRef a_containerReference)
Indicates if the current user has access to advanced query capabilities based on the specified container context. |
static String |
concatMediaTypeAndEncoding(String mediaType,
String encoding)
Concatenate a MIME type string (without encoding information) and encoding information. |
static DOMXMLSource |
convertToDOM(XMLSource a_qmlSource)
This method converts the QML XMLSource to a DOM Source. |
static ReaderXMLSource |
convertToReader(String a_qmlSource)
This method converts the string to a ReaderXMLSource. |
static SAXXMLSource |
convertToSAX(XMLSource a_qmlSource)
This method converts the QML XMLSource to a SAX Source. |
static XMLSource |
generateReport(ReportTemplate a_reportTemplate,
Hashtable params,
Locale locale)
This method generates a standard report in XML format. |
static XMLSource |
generateReport(ReportTemplate a_reportTemplate,
Hashtable params,
Locale locale,
XMLSource resultSource)
This method generates a standard report in XML format. |
private static QueryResult |
generateResults(DOMXMLSource a_qmlSource,
Hashtable a_inputs,
boolean a_bypassAccessControl,
Locale a_locale)
|
static QueryResult |
generateResults(ReportTemplate a_reportTemplate,
Hashtable a_inputs)
Deprecated. as of R7.0, use generateResults(ReportTemplate, Hashtable, Locale) |
static QueryResult |
generateResults(ReportTemplate a_reportTemplate,
Hashtable a_inputs,
Locale a_locale)
This method is used to generate a QueryResult from the Report Template and locale. |
static QueryResult |
generateResults(String a_qmlSource,
Hashtable a_inputs)
Deprecated. as of 7.0, use generateResults(String, Hashtable, Locale, WTContainerRef) |
static QueryResult |
generateResults(String a_qmlSource,
Hashtable a_inputs,
Locale a_locale)
Deprecated. as of R7.0, use generateResults(String, Hashtable, Locale, WTContainerRef) |
static QueryResult |
generateResults(String a_qmlSource,
Hashtable a_inputs,
Locale a_locale,
WTContainerRef a_containerRef)
This method is used to generate a QueryResult from the QML specification and locale. |
static QueryResult |
generateResults(XMLSource a_qmlSource,
Hashtable a_inputs)
Deprecated. as of R7.0, use generateResults(XMLSource, Hashtable, Locale, WTContainerRef) |
static QueryResult |
generateResults(XMLSource a_qmlSource,
Hashtable a_inputs,
Locale a_locale)
Deprecated. Use generateResults(XMLSource, Hashtable, Locale, WTContainerRef) |
static QueryResult |
generateResults(XMLSource a_qmlSource,
Hashtable a_inputs,
Locale a_locale,
WTContainerRef a_containerRef)
This method is used to generate a QueryResult from the QML specification and locale. |
(package private) static QueryResult |
generateResultsNoCriteriaDrop(ReportTemplate a_reportTemplate,
Hashtable a_inputs,
Locale a_locale)
|
static TableModel |
generateTableModel(ReportTemplate a_ReportTemplate,
Hashtable a_inputs)
Deprecated. as of R7.0, use generateTableModel(ReportTemplate, Hashtable, Locale) |
static TableModel |
generateTableModel(ReportTemplate a_ReportTemplate,
Hashtable a_inputs,
Locale a_locale)
This method is used to generate a TableModel from a Report Template and parameter input values. |
static TableModel |
generateTableModel(String a_qmlSource,
Hashtable a_inputs)
Deprecated. as of R7.0, use generateTableModel(String, Hashtable, Locale, WTContainerRef) |
static TableModel |
generateTableModel(String a_qmlSource,
Hashtable a_inputs,
Locale a_locale)
Deprecated. as of R7.0, use generateTableModel(String, Hashtable, Locale, WTContainerRef) |
static TableModel |
generateTableModel(String a_qmlSource,
Hashtable a_inputs,
Locale a_locale,
WTContainerRef a_containerRef)
This method is used to generate a TableModel from QML source and parameter input values. |
static TableModel |
generateTableModel(XMLSource a_qmlSource,
Hashtable a_inputs)
Deprecated. as of R7.0, use generateTableModel(XMLSource, Hashtable, Locale, WTContainerRef) |
static TableModel |
generateTableModel(XMLSource a_qmlSource,
Hashtable a_inputs,
Locale a_locale)
Deprecated. as of R7.0, use generateTableModel(XMLSource, Hashtable, Locale, WTContainerRef) |
static TableModel |
generateTableModel(XMLSource a_qmlSource,
Hashtable a_inputs,
Locale a_locale,
WTContainerRef a_containerRef)
This method is used to generate a TableModel from QML source and parameter input values. |
static XMLSource |
generateXML(ReportTemplate a_reportTemplate,
Hashtable a_inputs)
Deprecated. as of R7.0, use generateXML(ReportTemplate, Hashtable, Locale) |
static XMLSource |
generateXML(ReportTemplate a_reportTemplate,
Hashtable a_inputs,
Locale a_locale)
This method takes a Report Template as input and is used to execute the report query and return the results as an XMLSource. |
static XMLSource |
generateXML(XMLSource a_qmlSource,
Hashtable a_inputs)
Deprecated. as of R7.0, use generateXML(XMLSource, Hashtable, Locale) |
static XMLSource |
generateXML(XMLSource a_qmlSource,
Hashtable a_inputs,
Locale a_locale)
This method takes a Report Template and paramters as input and is used to execute the report query and return the results as an XMLSource. |
static Enumeration |
getAvailableMacros()
Return an enumeration of available macros that can be used in ParameterTemplate processing. |
static Enumeration |
getAvailableXSLFormats()
Deprecated. as of 8.0, use getAvailableXSLFormats(Locale) |
static List |
getAvailableXSLFormats(Locale a_locale)
Return an List of available XSL formats that can be used in report processing. |
(package private) static boolean |
getBypassAccessControl(DOMXMLSource a_qmlSource)
Determine whether QML either explicitly calls for access control to be by-passed or requires that access control be by-passed for the features used therein. |
static String |
getDataFormatExtension(String a_outputMimeType)
|
static URL |
getExecuteReportURL()
Deprecated. as of 7.0, use getExecuteReportURL(Properties, ReportTemplate) |
static URL |
getExecuteReportURL(Properties a_properties)
Deprecated. as of 7.0, use getExecuteReportURL(Properties, ReportTemplate) |
static URL |
getExecuteReportURL(Properties a_properties,
ReportTemplate a_reportTemplate)
This method is used to construct the URL to execute the report. |
static String |
getFileTypeExtension(String a_outputMimeType)
This method will set the file extension type for the MIME type. |
static URL |
getGenerateFormURL()
Deprecated. as of 7.0, use getGenerateFormURL(Properties, ReportTemplate) |
static URL |
getGenerateFormURL(Properties a_properties)
Deprecated. as of 7.0, use getGenerateFormURL(Properties, ReportTemplate) |
static URL |
getGenerateFormURL(Properties a_properties,
ReportTemplate a_reportTemplate)
This method is used to construct the URL for the report generation form. |
static Locale |
getLocale(Map a_parameterMap)
|
static ColumnExpression |
getMacroExpression(Element a_element,
Object a_macro)
|
static MacroExpressionProcessor |
getMacroExpressionProcessor(Object a_macroName)
|
private static Object |
getParameterValue(ParameterTemplate a_parameterTemplate,
Hashtable a_inputs,
boolean a_useDefault)
|
static ReportPostProcessor |
getPostProcessor(String originalMimeType)
Get an instance of a post-processor for a given MIME type if one has been registered, else returns null. |
static Enumeration |
getQueryClassNames()
Return an enumeration of query class names that should be included in the list of available query classes. |
static XSLTransform |
getTransform(XSLSpec xslSpec,
XMLSource reportSource,
Properties xslProperties,
Locale locale)
This method derives an XSLTransform object from the specified parameters. |
(package private) static URL |
getURL(String a_processorMethodName,
String a_actionValue,
Properties a_properties,
ReportTemplate a_reportTemplate)
|
static XMLSourceFactory |
getXMLSourceFactory()
This method returns a default XML source factory. |
static StreamXMLSource |
getXSLFormatStream(String a_resourceName,
Locale a_locale)
Return an StreamXMLSource for the specified XSL format. |
private static String |
getXSLPath(String a_resourceName,
Locale a_locale)
|
static XSLSpec |
getXSLSpec(ReportTemplate a_reportTemplate,
Hashtable params)
This method derives an XSLSpec object from the specified ReportTemplate and parameters. |
private static boolean |
isBypassAccessControl(DOMXMLSource a_qmlSource)
Determine whether QML explicitly calls for access control to be by-passed. |
private static Date |
parseDate(String a_value,
DateFormat a_dateFormat)
|
private static Object |
processOperandValue(Element a_operandChildElement,
Object a_value,
Locale a_locale)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final StatementFactory STATEMENT_FACTORY
static final boolean SERVER
private static final String FC_RESOURCE
public static final String POST_PROC_PREF_NODE
public static final String OID_KEY
public static final String FORMAT_TYPE_KEY
public static final String DELEGATE_NAME_KEY
public static final String XSL_1_KEY
public static final String XSL_2_KEY
public static final String JAVA_RESOURCE_BUNDLE_KEY
public static final String FORMAT_TYPE_DELEGATE
public static final String FORMAT_TYPE_CUSTOM
public static final String REPORT_PROCESSOR_EXECUTE_METHOD_NAME
public static final String REPORT_PROCESSOR_ACTION
public static final String REPORT_PROCESSOR_EXECUTE
public static final String REPORT_PROCESSOR_PRODUCE
public static final String PARAMETER_NAME_ENCODING_TYPE
static boolean VERBOSE
private static String[] adminAccessGroupNames
private static final String XSL_RESOURCE_SERVICE_NAME
private static final String QUERY_CLASS_NAME_RESOURCE_SERVICE_NAME
private static final String URL_PROCESSOR_NAME
private static final char DOT
private static final char SLASH
private static final String XSL_EXTENSION
private static final String NULL_XSL_PATH
private static final Hashtable EXTENSION_MAP
private static final String XML_EXTENSION
private static final String CSV_EXTENSION
private static final String TSV_EXTENSION
private static final String HTML_EXTENSION
private static final String SVG_EXTENSION
private static final String SVG_MIME_TYPE
private static final String XML_MIME_TYPE
private static final String CSV_MIME_TYPE
private static final String HTML_MIME_TYPE
private static final String TSV_MIME_TYPE
private static final ReportTemplateHelper.ReportApplicationContext CONTEXT
private static final ReferenceFactory REFERENCE_FACTORY
private static final String PARAMETER_TIMESTAMP_FORMAT
private static final String PARAMETER_TIMESTAMP_TIMEZONE_FORMAT
private static final Object PARAMETER_LOCALE_KEY
Constructor Detail |
public ReportTemplateHelper()
Method Detail |
public static StatementSpec buildStatement(XMLSource a_qmlSource) throws WTException
a_qmlSource
- Input QML representation of a query
WTException
public static TableModel generateTableModel(XMLSource a_qmlSource, Hashtable a_inputs) throws WTException
a_qmlSource
- Input QML representation of a querya_inputs
- Parameter input name and value pairs
WTException
public static XMLSource generateXML(XMLSource a_qmlSource, Hashtable a_inputs) throws WTException
a_qmlSource
- Input QML representation of a querya_inputs
- Parameter input name and value pairs
WTException
public static URL getGenerateFormURL() throws WTException
WTException
public static URL getExecuteReportURL() throws WTException
WTException
public static ParameterTemplate[] buildParameterTemplates(XMLSource a_qmlSource) throws WTException
a_qmlSource
- Input QML representation of a query
WTException
public static Hashtable buildParameterMap(ParameterTemplate[] a_parameterTemplates, Hashtable a_inputs, boolean use_defaults) throws WTException
a_parameterTemplates
- Array of ParameterTemplate instances for a reporta_inputs
- Parameter input name and value pairsuse_defaults
-
WTException
public static void bindParameters(XMLSource a_qmlSource, StatementSpec a_statementSpec, Hashtable a_parameterMap) throws WTException
a_qmlSource
- Input QML representation of a querya_statementSpec
- Bind parameter values will be bound to this instance.a_parameterMap
- Parameter input name and value pairs
WTException
public static Enumeration getAvailableMacros()
public static Enumeration getAvailableXSLFormats()
public static XMLSourceFactory getXMLSourceFactory()
public static StreamXMLSource getXSLFormatStream(String a_resourceName, Locale a_locale)
a_resourceName
- a_locale
- parameter to get Locale specific XSL
public static SAXXMLSource convertToSAX(XMLSource a_qmlSource) throws WTException
a_qmlSource
- Input QML representation of a query
WTException
public static URL getGenerateFormURL(Properties a_properties) throws WTException
a_properties
- Additional properties to include in the URL.
WTException
public static URL getExecuteReportURL(Properties a_properties) throws WTException
a_properties
- Additional properties to include in the URL.
WTException
public static URL getGenerateFormURL(Properties a_properties, ReportTemplate a_reportTemplate) throws WTException
a_properties
- Additional properties to include in the URL. If null, then no additional properties are added.a_reportTemplate
- Context object for the URL. If null, then the context object is not added.
WTException
protected static URL _getGenerateFormURL(Properties a_properties, ReportTemplate a_reportTemplate) throws WTException
a_properties
- Additional properties to include in the URL. If null, then no additional properties are added.a_reportTemplate
- Context object for the URL. If null, then the context object is not added.
WTException
public static URL getExecuteReportURL(Properties a_properties, ReportTemplate a_reportTemplate) throws WTException
a_properties
- Additional properties to include in the URL. If null, then no additional properties are added.a_reportTemplate
- Context object for the URL. If null, then the context object is not added.
WTException
protected static URL _getExecuteReportURL(Properties a_properties, ReportTemplate a_reportTemplate) throws WTException
a_properties
- Additional properties to include in the URL. If null, then no additional properties are added.a_reportTemplate
- Context object for the URL. If null, then the context object is not added.
WTException
public static ReaderXMLSource convertToReader(String a_qmlSource) throws WTException
a_qmlSource
- Input QML representation of a query
WTException
public static DOMXMLSource convertToDOM(XMLSource a_qmlSource) throws WTException
a_qmlSource
- Input QML representation of a query
WTException
public static String buildSQL(String a_qmlSource, Hashtable a_inputs, Locale a_locale) throws WTException
a_qmlSource
- QML to use to build SQL.a_inputs
- Parameter inputs to use. If null, then empty criteria are not dropped.a_locale
- Locale for display messages.
WTException
protected static String _buildSQL(String a_qmlSource, Hashtable a_inputs, Locale a_locale) throws WTException
a_qmlSource
- QML to use to build SQL.a_inputs
- Parameter inputs to use. If null, then empty criteria are not dropped.a_locale
- Locale for display messages.
WTException
public static QueryResult generateResults(XMLSource a_qmlSource, Hashtable a_inputs) throws WTException
a_qmlSource
- Input QML representation of a querya_inputs
- Parameter input name and value pairs
WTException
public static TableModel generateTableModel(String a_qmlSource, Hashtable a_inputs) throws WTException
a_qmlSource
- Input QML representation of a querya_inputs
- Parameter input name and value pairs
WTException
public static QueryResult generateResults(String a_qmlSource, Hashtable a_inputs) throws WTException
a_qmlSource
- Input QML representation of a querya_inputs
- Parameter input name and value pairs
WTException
public static QueryResult generateResults(ReportTemplate a_reportTemplate, Hashtable a_inputs) throws WTException
a_reportTemplate
- a_inputs
- Parameter input name and value pairs
WTException
public static XMLSource generateXML(ReportTemplate a_reportTemplate, Hashtable a_inputs) throws WTException
a_reportTemplate
- a_inputs
-
WTException
public static TableModel generateTableModel(ReportTemplate a_ReportTemplate, Hashtable a_inputs, Locale a_locale) throws WTException
a_ReportTemplate
- a_inputs
- a_locale
-
WTException
public static XMLSource generateReport(ReportTemplate a_reportTemplate, Hashtable params, Locale locale) throws WTException
a_reportTemplate
- ReportTemplate instance to use as the report sourceparams
- Parameter arguments to use as input for the report query.locale
- Locale to use for localized text
WTException
public static XSLSpec getXSLSpec(ReportTemplate a_reportTemplate, Hashtable params) throws WTException
a_reportTemplate
- ReportTemplate object to derive the XSLSpec from.params
- Parameters to use to derive XSLSpec.
WTException
public static XSLTransform getTransform(XSLSpec xslSpec, XMLSource reportSource, Properties xslProperties, Locale locale) throws WTException
xslSpec
- Specifies the XSL transforms that will be applied.reportSource
- Report source that will be transformed.xslProperties
- Properties passed to the factory creating the XSLTransform objects.locale
- Specifies the Locale that will be applied.
WTException
public static XMLSource generateReport(ReportTemplate a_reportTemplate, Hashtable params, Locale locale, XMLSource resultSource) throws WTException
a_reportTemplate
- ReportTemplate instance to use as the report sourceparams
- Parameter arguments to use as input for the report query.locale
- Locale to use for localized textresultSource
- Result XML source to use in the report
WTException
public static XMLSource generateXML(ReportTemplate a_reportTemplate, Hashtable a_inputs, Locale a_locale) throws WTException
a_reportTemplate
- a_inputs
- a_locale
-
WTException
public static TableModel generateTableModel(ReportTemplate a_ReportTemplate, Hashtable a_inputs) throws WTException
a_ReportTemplate
- a_inputs
-
WTException
public static TableModel generateTableModel(XMLSource a_qmlSource, Hashtable a_inputs, Locale a_locale, WTContainerRef a_containerRef) throws WTException
a_qmlSource
- a_inputs
- a_locale
- a_containerRef
- The container context to execute this query in.
WTException
public static XMLSource generateXML(XMLSource a_qmlSource, Hashtable a_inputs, Locale a_locale) throws WTException
a_qmlSource
- a_inputs
- a_locale
-
WTException
public static TableModel generateTableModel(String a_qmlSource, Hashtable a_inputs, Locale a_locale, WTContainerRef a_containerRef) throws WTException
a_qmlSource
- a_inputs
- a_locale
- a_containerRef
- The container context to execute this query in.
WTException
public static QueryResult generateResults(String a_qmlSource, Hashtable a_inputs, Locale a_locale, WTContainerRef a_containerRef) throws WTException
a_qmlSource
- a_inputs
- a_locale
- a_containerRef
- The container context to execute this query in.
WTException
protected static QueryResult _generateResults(String a_qmlSource, Hashtable a_inputs, Locale a_locale, WTContainerRef a_containerRef) throws WTException
a_qmlSource
- a_inputs
- a_locale
- a_containerRef
- The container context to execute this query in.
WTException
public static QueryResult generateResults(ReportTemplate a_reportTemplate, Hashtable a_inputs, Locale a_locale) throws WTException
a_reportTemplate
- a_inputs
- a_locale
-
WTException
public static QueryResult generateResults(XMLSource a_qmlSource, Hashtable a_inputs, Locale a_locale, WTContainerRef a_containerRef) throws WTException
a_qmlSource
- a_inputs
- a_locale
- a_containerRef
- The container context to execute this query in.
WTException
public static StatementSpec buildStatement(XMLSource a_qmlSource, Locale a_locale, Hashtable a_parameterMap) throws WTException
a_qmlSource
- a_locale
- a_parameterMap
-
WTException
public static StatementSpec buildStatement(XMLSource a_qmlSource, Locale a_locale) throws WTException
a_qmlSource
- a_locale
-
WTException
public static Enumeration getQueryClassNames()
public static String getFileTypeExtension(String a_outputMimeType) throws WTException
a_outputMimeType
-
WTException
public static String buildSQL(XMLSource a_qmlSource, Hashtable a_inputs, Locale a_locale) throws WTException
a_qmlSource
- QML to use to build SQL.a_inputs
- Parameter inputs to use. If null, then empty criteria are not dropped.a_locale
- Locale for message display.
WTException
public static QueryResult generateResults(XMLSource a_qmlSource, Hashtable a_inputs, Locale a_locale) throws WTException
a_qmlSource
- a_inputs
- a_locale
-
WTException
public static QueryResult generateResults(String a_qmlSource, Hashtable a_inputs, Locale a_locale) throws WTException
a_qmlSource
- a_inputs
- a_locale
-
WTException
public static TableModel generateTableModel(String a_qmlSource, Hashtable a_inputs, Locale a_locale) throws WTException
a_qmlSource
- a_inputs
- a_locale
-
WTException
public static TableModel generateTableModel(XMLSource a_qmlSource, Hashtable a_inputs, Locale a_locale) throws WTException
a_qmlSource
- a_inputs
- a_locale
-
WTException
public static boolean checkAdvancedQueryAccess(WTContainerRef a_containerReference) throws WTException
a_containerReference
- Container references to use when checking advanced query enabled groups.
WTException
protected static boolean _checkAdvancedQueryAccess(WTContainerRef a_containerReference) throws WTException
a_containerReference
- Container references to use when checking advanced query enabled groups.
WTException
public static List getAvailableXSLFormats(Locale a_locale)
a_locale
- Locale to use to look up XSL formats
public static String getDataFormatExtension(String a_outputMimeType) throws WTException
WTException
public static ReportPostProcessor getPostProcessor(String originalMimeType)
originalMimeType
- original MIME type of report result
public static String concatMediaTypeAndEncoding(String mediaType, String encoding)
mediaType
- MIME type string without encoding informationencoding
- character encoding name
public static ParameterTemplate buildParameterTemplate(Element a_element) throws WTException
WTException
public static ColumnExpression getMacroExpression(Element a_element, Object a_macro) throws WTException
WTException
public static MacroExpressionProcessor getMacroExpressionProcessor(Object a_macroName) throws WTException
WTException
public static Locale getLocale(Map a_parameterMap)
public static ColumnExpression buildColumnExpression(String a_value, String a_type, Locale a_locale) throws WTException
WTException
private static Date parseDate(String a_value, DateFormat a_dateFormat)
private static Object processOperandValue(Element a_operandChildElement, Object a_value, Locale a_locale) throws WTException
WTException
private static QueryResult generateResults(DOMXMLSource a_qmlSource, Hashtable a_inputs, boolean a_bypassAccessControl, Locale a_locale) throws WTException
WTException
static boolean getBypassAccessControl(DOMXMLSource a_qmlSource) throws WTException
WTException
private static boolean isBypassAccessControl(DOMXMLSource a_qmlSource) throws WTException
WTException
private static Vector buildColumnDefs(Node a_document, Locale a_locale) throws WTPropertyVetoException, WTException
WTPropertyVetoException
WTException
private static TableModel buildTableModel(DOMXMLSource a_qmlSource, QueryResult a_queryResult, Hashtable a_inputs, Locale a_locale) throws WTException
WTException
static URL getURL(String a_processorMethodName, String a_actionValue, Properties a_properties, ReportTemplate a_reportTemplate) throws WTException
WTException
private static Object getParameterValue(ParameterTemplate a_parameterTemplate, Hashtable a_inputs, boolean a_useDefault) throws WTException
WTException
private static String getXSLPath(String a_resourceName, Locale a_locale)
static QueryResult generateResultsNoCriteriaDrop(ReportTemplate a_reportTemplate, Hashtable a_inputs, Locale a_locale) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |