Class TableExportConfiguration
java.lang.Object
com.polarion.alm.tracker.exporter.ExportConfiguration
com.polarion.alm.tracker.exporter.TableExportConfiguration
- All Implemented Interfaces:
IExportConfiguration
,ITableExportConfiguration
public class TableExportConfiguration
extends ExportConfiguration
implements ITableExportConfiguration
- Author:
- Jiri Banszel, POLARION SOFTWARE
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.polarion.alm.tracker.exporter.IExportConfiguration
IExportConfiguration.IExportField
-
Field Summary
Fields inherited from interface com.polarion.alm.tracker.exporter.ITableExportConfiguration
EXPORT_TYPE
-
Constructor Summary
ConstructorDescriptionTableExportConfiguration
(IPObjectList<IWorkItem> workItems, String query, String charset, List fields, IExportTemplate template, Map params) -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()
Query used to obtain the Work Items, ornull
.Returns Work Items in the first level of the tree.Deprecated.Methods inherited from class com.polarion.alm.tracker.exporter.ExportConfiguration
getCharset, getContextId, getExportFields, getFields, getModule, getParameter, getTemplate, setContextId, setModule, setTemplate
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.polarion.alm.tracker.exporter.IExportConfiguration
getCharset, getContextId, getExportFields, getFields, getModule, getParameter, getTemplate
-
Constructor Details
-
TableExportConfiguration
public TableExportConfiguration(IPObjectList<IWorkItem> workItems, String query, String charset, List fields, IExportTemplate template, Map params) - Parameters:
workItems
- must not be nullquery
-charset
-fields
- either a list of field ids, or a list ofIExportConfiguration.IExportField
template
-params
-
-
-
Method Details
-
getWorkItems
Description copied from interface:IExportConfiguration
Returns 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:
getWorkItems
in interfaceIExportConfiguration
- Specified by:
getWorkItems
in interfaceITableExportConfiguration
- Overrides:
getWorkItems
in classExportConfiguration
- Returns:
- The list of
IWorkItem
s, nevernull
. - See Also:
-
getQuery
Description copied from interface:ITableExportConfiguration
Query used to obtain the Work Items, ornull
.- Specified by:
getQuery
in interfaceIExportConfiguration
- Specified by:
getQuery
in interfaceITableExportConfiguration
- Overrides:
getQuery
in classExportConfiguration
- Returns:
- The query used.
-
getWorkItemTree
Deprecated.- Specified by:
getWorkItemTree
in interfaceIExportConfiguration
- Overrides:
getWorkItemTree
in classExportConfiguration
- Returns:
- A tree of Work Items to export.
- See Also:
-