Class ExportConfiguration
java.lang.Object
com.polarion.alm.tracker.exporter.ExportConfiguration
- All Implemented Interfaces:
IExportConfiguration
- Direct Known Subclasses:
MatrixExportConfiguration,ModuleExportConfiguration,TableExportConfiguration,TreeExportConfiguration
Implementation of
IExportConfiguration suitable for simple exports and for subclassing.- Author:
- Jiri Banszel, POLARION SOFTWARE
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.polarion.alm.tracker.exporter.IExportConfiguration
IExportConfiguration.IExportField -
Constructor Summary
ConstructorsConstructorDescriptionExportConfiguration(IPObjectTree tree, String query, String charset, List fields, IExportTemplate template, Map params) Deprecated.ExportConfiguration(IPObjectList workItems, String query, String charset, List fields, IExportTemplate template, Map params) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionReturns the module in the context that the export was invoked for.getParameter(String id) getQuery()Deprecated.Deprecated.Deprecated.voidsetContextId(IContextId contextId) voidvoidsetTemplate(IExportTemplate template)
-
Constructor Details
-
ExportConfiguration
@Deprecated public ExportConfiguration(IPObjectTree tree, String query, String charset, List fields, IExportTemplate template, Map params) Deprecated. -
ExportConfiguration
@Deprecated public ExportConfiguration(IPObjectList workItems, String query, String charset, List fields, IExportTemplate template, Map params) Deprecated.
-
-
Method Details
-
setContextId
- Parameters:
contextId-- Since:
- 3.5.1
-
getContextId
- Specified by:
getContextIdin interfaceIExportConfiguration- Returns:
- The context where export was invoked.
- Since:
- 3.5.1
-
setModule
- Parameters:
module-- Since:
- 3.5.2
-
getModule
Description copied from interface:IExportConfigurationReturns the module in the context that the export was invoked for.- Specified by:
getModulein interfaceIExportConfiguration- Returns:
- module or
null - Since:
- 3.5.2
-
getCharset
- Specified by:
getCharsetin interfaceIExportConfiguration
-
getExportFields
- Specified by:
getExportFieldsin interfaceIExportConfiguration- Returns:
- Fields to export.
- Since:
- 3.5.2
-
getFields
- Specified by:
getFieldsin interfaceIExportConfiguration- Returns:
- The list of field IDs.
-
getTemplate
- Specified by:
getTemplatein interfaceIExportConfiguration
-
setTemplate
- Since:
- 3.17.1
-
getParameter
- Specified by:
getParameterin interfaceIExportConfiguration
-
getWorkItemTree
Deprecated.- Specified by:
getWorkItemTreein interfaceIExportConfiguration- Returns:
- A tree of Work Items to export.
- See Also:
-
getWorkItems
Deprecated.Description copied from interface:IExportConfigurationReturns Work Items in the first level of the tree. This is a convenient method for exporters that cannot export a tree. A single level tree is always passed to them so that this method only returns the list of Work Items to export.- Specified by:
getWorkItemsin interfaceIExportConfiguration- Returns:
- The list of
IWorkItems, nevernull. - See Also:
-
getQuery
Deprecated.- Specified by:
getQueryin interfaceIExportConfiguration- Returns:
- The query used.
-
TreeExportConfiguration