public final class ResourceTreeBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_CATEGORY
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_COMPONENT
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DATASOURCE
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DETAIL
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DIMENSION
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_CTF
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_CTF_ADD
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_CTF_ERROR
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_CTF_ROOT
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_CTF_USED
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_CTF_USED_ERROR
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_FORMULA
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_FORMULA_ADD
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_FORMULA_ERROR
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_FORMULA_ROOT
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_FORMULA_USED
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_FORMULA_USED_ERROR
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_FUNCTION
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_FUNCTION_ADD
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_FUNCTION_ERROR
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_FUNCTION_ROOT
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_FUNCTION_USED
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_FUNCTION_USED_ERROR
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_MEASURE
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_MEASURE_ADD
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_MEASURE_ERROR
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_MEASURE_ROOT
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_MEASURE_USED
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_MEASURE_USED_ERROR
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_PARAMETER
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_DYNAMIC_PARAMETER_ROOT
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_GLOBAL_PARAMETER
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_GLOBAL_PARAMETER_ROOT
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_HANDLE
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_MAPPING_NAME
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_MEASURE
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
static java.lang.String |
TYPE_SQLTYPE
The constant in the JRServer DHTML, that identifies the generic tree node
type, and starts with TYPE_.
|
Constructor and Description |
---|
ResourceTreeBuilder(DHTMLRptSheet report)
Creates
ResourceTreeBuilder instance by the specified
report. |
ResourceTreeBuilder(java.lang.String sessionId,
java.lang.String rptSetId)
Creates
ResourceTreeBuilder instance. |
Modifier and Type | Method and Description |
---|---|
JNode |
_buildCrosstabFormulaNodes(java.lang.String rptset_id,
java.lang.String sheet_id,
DHTMLFlyResourceScope scope,
boolean enableAdd,
boolean only_pass_one_formulas,
int orderType,
DisplayName[] names,
java.util.HashMap prop) |
JNode |
buildCatalogDSTree(CatalogAPI catalogAPI,
java.lang.String user,
boolean newRpt)
Returns the catalog data source tree.
|
JNode |
buildComponentDSTree(java.lang.String rptset_id,
java.lang.String sheet_id,
java.lang.String dsid,
java.lang.String comp)
Returns the resource tree of the specified component.
|
JNode |
buildCubeNode(java.lang.String rptset_id,
java.lang.String sheet_id,
java.lang.String rcName,
java.util.HashMap prop)
Returns the cube tree.
|
JNode |
buildReportDSTree(java.lang.String rptset_id,
java.lang.String sheet_id,
java.lang.String subKey,
java.lang.String dsid)
Returns the report Data Source tree.
|
JNode |
buildReportDSTree(java.lang.String rptset_id,
java.lang.String sheet_id,
java.lang.String subKey,
java.lang.String handle,
java.util.HashSet<java.lang.Integer> filterSqls)
Returns the report resource tree.
|
static java.util.Properties |
getDefaultSetting(java.util.Properties props)
Returns the default setting for the resource tree.
|
static DisplayName[] |
getFlyFormulaDisplayNames(DesignService _ds,
java.lang.String rptset_id,
FlyResourceScopeImpl scope) |
void |
setCatName(java.lang.String catName) |
public static final java.lang.String TYPE_DATASOURCE
TYPE_DATASOURCE
.public static final java.lang.String TYPE_COMPONENT
TYPE_COMPONENT
.public static final java.lang.String TYPE_HANDLE
TYPE_HANDLE
.public static final java.lang.String TYPE_CATEGORY
TYPE_CATEGORY
.public static final java.lang.String TYPE_DIMENSION
TYPE_DIMENSION
.public static final java.lang.String TYPE_MEASURE
TYPE_MEASURE
.public static final java.lang.String TYPE_DETAIL
TYPE_DETAIL
.public static final java.lang.String TYPE_SQLTYPE
TYPE_SQLTYPE
.public static final java.lang.String TYPE_DYNAMIC
TYPE_DYNAMIC
.public static final java.lang.String TYPE_MAPPING_NAME
TYPE_MAPPING_NAME
.public static final java.lang.String TYPE_DYNAMIC_FORMULA_ROOT
TYPE_DYNAMIC_FORMULA_ROOT
.public static final java.lang.String TYPE_DYNAMIC_FORMULA_ADD
TYPE_DYNAMIC_FORMULA_ADD
.public static final java.lang.String TYPE_DYNAMIC_FORMULA
TYPE_DYNAMIC_FORMULA
.public static final java.lang.String TYPE_DYNAMIC_FORMULA_ERROR
TYPE_DYNAMIC_FORMULA_ERROR
.public static final java.lang.String TYPE_DYNAMIC_FORMULA_USED
TYPE_DYNAMIC_FORMULA_USED
.public static final java.lang.String TYPE_DYNAMIC_FORMULA_USED_ERROR
TYPE_DYNAMIC_FORMULA_USED_ERROR
.public static final java.lang.String TYPE_DYNAMIC_MEASURE_ROOT
TYPE_DYNAMIC_MEASURE_ROOT
.public static final java.lang.String TYPE_DYNAMIC_MEASURE_ADD
TYPE_DYNAMIC_MEASURE_ADD
.public static final java.lang.String TYPE_DYNAMIC_MEASURE
TYPE_DYNAMIC_MEASURE
.public static final java.lang.String TYPE_DYNAMIC_MEASURE_ERROR
TYPE_DYNAMIC_MEASURE_ERROR
.public static final java.lang.String TYPE_DYNAMIC_MEASURE_USED
TYPE_DYNAMIC_MEASURE_USED
.public static final java.lang.String TYPE_DYNAMIC_MEASURE_USED_ERROR
TYPE_DYNAMIC_MEASURE_USED_ERROR
.public static final java.lang.String TYPE_DYNAMIC_FUNCTION_ROOT
TYPE_DYNAMIC_FUNCTION_ROOT
.public static final java.lang.String TYPE_DYNAMIC_FUNCTION_ADD
TYPE_DYNAMIC_FUNCTION_ADD
.public static final java.lang.String TYPE_DYNAMIC_FUNCTION
TYPE_DYNAMIC_FUNCTION
.public static final java.lang.String TYPE_DYNAMIC_FUNCTION_ERROR
TYPE_DYNAMIC_FUNCTION_ERROR
.public static final java.lang.String TYPE_DYNAMIC_FUNCTION_USED
TYPE_DYNAMIC_FUNCTION_USED
.public static final java.lang.String TYPE_DYNAMIC_FUNCTION_USED_ERROR
TYPE_DYNAMIC_FUNCTION_USED_ERROR
.public static final java.lang.String TYPE_DYNAMIC_PARAMETER
TYPE_DYNAMIC_PARAMETER
.public static final java.lang.String TYPE_GLOBAL_PARAMETER
TYPE_GLOBAL_PARAMETER
.public static final java.lang.String TYPE_DYNAMIC_PARAMETER_ROOT
TYPE_DYNAMIC_PARAMETER_ROOT
.public static final java.lang.String TYPE_GLOBAL_PARAMETER_ROOT
TYPE_GLOBAL_PARAMETER_ROOT
.public static final java.lang.String TYPE_DYNAMIC_CTF_ROOT
TYPE_DYNAMIC_CTF_ROOT
.public static final java.lang.String TYPE_DYNAMIC_CTF_ADD
TYPE_DYNAMIC_CTF_ADD
.public static final java.lang.String TYPE_DYNAMIC_CTF_ERROR
TYPE_DYNAMIC_CTF_ERROR
.public static final java.lang.String TYPE_DYNAMIC_CTF_USED
TYPE_DYNAMIC_CTF_USED
.public static final java.lang.String TYPE_DYNAMIC_CTF_USED_ERROR
TYPE_DYNAMIC_CTF_USED_ERROR
.public static final java.lang.String TYPE_DYNAMIC_CTF
TYPE_DYNAMIC_CTF
.public ResourceTreeBuilder(java.lang.String sessionId, java.lang.String rptSetId)
ResourceTreeBuilder
instance.public ResourceTreeBuilder(DHTMLRptSheet report)
ResourceTreeBuilder
instance by the specified
report.report
- the report.public JNode buildReportDSTree(java.lang.String rptset_id, java.lang.String sheet_id, java.lang.String subKey, java.lang.String dsid) throws JRScheduleException
rptset_id
- the report set id.sheet_id
- the report name.subKey
- the key of the engine.dsid
- JRScheduleException
public JNode buildReportDSTree(java.lang.String rptset_id, java.lang.String sheet_id, java.lang.String subKey, java.lang.String handle, java.util.HashSet<java.lang.Integer> filterSqls)
rptset_id
- the report set id.sheet_id
- the report name.subKey
- the key of the engine.handle
- the report cube qualified name (made by data source name,
query name, report cube name, with separator '.').filterSqls
- public JNode buildCubeNode(java.lang.String rptset_id, java.lang.String sheet_id, java.lang.String rcName, java.util.HashMap prop)
rptset_id
- the report set id.sheet_id
- the report name.rcName
- the report cube qualified name (made by data source name,
query name, report cube name, with separator '.').prop
- the tree configuration properties, such as image path, root
expand level.public JNode buildComponentDSTree(java.lang.String rptset_id, java.lang.String sheet_id, java.lang.String dsid, java.lang.String comp) throws JRScheduleException
rptset_id
- the report set id.sheet_id
- the report name.dsid
- ID of the result object.comp
- the component nameJRScheduleException
public JNode buildCatalogDSTree(CatalogAPI catalogAPI, java.lang.String user, boolean newRpt) throws JRScheduleException
catalogAPI
- user
- the user name.newRpt
- //[JREP-8434][END]JRScheduleException
jet.api.CatalogAPI.
public static DisplayName[] getFlyFormulaDisplayNames(DesignService _ds, java.lang.String rptset_id, FlyResourceScopeImpl scope)
public JNode _buildCrosstabFormulaNodes(java.lang.String rptset_id, java.lang.String sheet_id, DHTMLFlyResourceScope scope, boolean enableAdd, boolean only_pass_one_formulas, int orderType, DisplayName[] names, java.util.HashMap prop)
public static java.util.Properties getDefaultSetting(java.util.Properties props)
props
- java.util.Properties
public void setCatName(java.lang.String catName)