|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.webreport.service.builder.ResourceTreeBuilder
public final class ResourceTreeBuilder
ResourceTreeBuilder provides a tool for resource tree.
| Field Summary | |
|---|---|
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_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_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_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 Summary | |
|---|---|
ResourceTreeBuilder()
Creates ResourceTreeBuilder instance. |
|
ResourceTreeBuilder(jet.web.dhtml.DHTMLRptSheet report)
Creates ResourceTreeBuilder instance by the specified
report. |
|
| Method Summary | |
|---|---|
JNode |
buildCatalogDSTree(CatalogAPI catalogAPI,
java.lang.String user)
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)
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
.
| Constructor Detail |
|---|
public ResourceTreeBuilder()
ResourceTreeBuilder instance.
public ResourceTreeBuilder(jet.web.dhtml.DHTMLRptSheet report)
ResourceTreeBuilder instance by the specified
report.
report - the report.| Method Detail |
|---|
public JNode buildReportDSTree(java.lang.String rptset_id,
java.lang.String sheet_id,
java.lang.String subKey)
rptset_id - the report set id.sheet_id - the report name.subKey - the key of the engine.
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 jet.rptservice.api.exception.JRScheduleException
rptset_id - the report set id.sheet_id - the report name.dsid - ID of the result object.comp - the component name
jet.rptservice.api.exception.JRScheduleException
public JNode buildCatalogDSTree(CatalogAPI catalogAPI,
java.lang.String user)
catalogAPI - user - the user name.
jet.api.CatalogAPI.public static java.util.Properties getDefaultSetting(java.util.Properties props)
props - java.util.Properties
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||