|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.api.API
jet.api.CatalogAPI
public class CatalogAPI
CatalogAPI class provides methods to manipulate the catalog objects. By building a CatalogAPI instance in a Java program, users can edit a report by methods provided by API.
| Field Summary | |
|---|---|
static int |
ALIAS
SQL alias class type. |
static int |
AVERAGE
function name |
static java.lang.String |
BINARY
parameter type |
static java.lang.String |
BOOLEAN
parameter type |
static int |
BUSINESSLOGIC
Business logic class type. |
static int |
BUSINESSLOGIC_CATEGORY
Business logic catagory class type. |
static int |
BUSINESSLOGIC_DETAILINFO
Business logic detail class type. |
static int |
BUSINESSLOGIC_DIMENSION
Business logic dimension class type. |
static int |
BUSINESSLOGIC_HIERARCHY
Business logic hierarchy class type. |
static int |
BUSINESSLOGIC_HIERARCHYCONTAINER
Business logic hirerarchy container class type. |
static int |
BUSINESSLOGIC_MEASURE
Business logic measure class type. |
static int |
CATALOG
Root class types. |
static int |
COLUMN
SQL column class type. |
static int |
CONNECTION
SQL connection class type. |
static int |
COUNT
function name |
static java.lang.String |
CURRENCY
parameter type |
static int |
DATABASE
Database class type. |
static java.lang.String |
DATE
parameter type |
static java.lang.String |
DATETIME
parameter type |
static java.lang.String |
DECIMAL
parameter type |
static int |
DISTINCTCOUNT
function name |
static int |
ENCODINGAUTO
encoded data type |
static int |
ENCODINGNO
encoded data type |
static int |
ENCODINGYES
encoded data type |
static int |
EXTRA_NAME_JDBC
extra name type |
static int |
EXTRA_NAME_USERDEFINED
extra name type |
static int |
FILESQL
SQL select statement class type. |
static int |
FORMULA
Formula class type. |
static int |
HDS
HierDataSource class type. |
static java.lang.String |
INTEGER
parameter type |
static int |
JDBC
connection by JDBC |
static int |
JDBC_ODBC_BRIDGE
connection by JDBC-ODBC bridge |
static int |
MAXIMUM
function name |
static int |
MINIMUM
function name |
static java.lang.String |
NUMBER
parameter type |
static int |
ONDEMAND_QUERY
ondemand query class type. |
static int |
PARAMETER
Parameter class type. |
static java.lang.String |
PARAMETERS
parameter type |
static int |
PATTERN_1PART_NAME
qualified name pattern |
static int |
PATTERN_2PART_NAME
qualified name pattern |
static int |
PATTERN_3PART_NAME
qualified name pattern |
static int |
POPULATIONSTDDEV
function name |
static int |
POPULATIONVARIANCE
function name |
static int |
PROCEDURE
SQL procedure class type. |
static int |
QUERY
SQL query class type |
static int |
READ_ONLY_DEFAULT
connection Read-only property |
static int |
READ_ONLY_FALSE
connection Read-only property |
static int |
READ_ONLY_TRUE
connection Read-only property |
static int |
STDDEV
function name |
static java.lang.String |
STRING
parameter type |
static int |
SUM
function name |
static int |
SUMMARY
Summary class type. |
static int |
SYNONYM
SQL synonym class type. |
static int |
TABLE
SQL table class type. |
static java.lang.String |
TIME
parameter type |
static int |
TRANSACTION_DEFAULT
transaction isolation level value |
static int |
TRANSACTION_NONE
transaction isolation level value |
static int |
TRANSACTION_READ_COMMITTED
transaction isolation level value |
static int |
TRANSACTION_READ_UNCOMMITTED
transaction isolation level value |
static int |
TRANSACTION_REPEATABLE_READ
transaction isolation level value |
static int |
TRANSACTION_SERIALIZABLE
transaction isolation level value |
static int |
UDS
User defined data source class type. |
static int |
VARIANCE
function name |
static int |
VIEW
SQL view class type. |
static int |
WHEREPORTION
SQL where portion clause. |
static int |
XML_CONNECTION
xml connection class type. |
static int |
XML_MDCONTAINER
cml container class type. |
| Fields inherited from class jet.api.API |
|---|
CAT, CENTIMETER, COLOR, DOUBLE, ENUM, FLOAT, handles, INCH, LONG, PIXEL, REFERENCE, RPT, SELFRPT, TEXTRPT, UNKNOWN, XMLCAT, XMLRPT |
| Method Summary | |
|---|---|
boolean |
checkParam(ParameterInfo info)
check whether the parameter is valid or not |
Designer |
create(java.lang.String path,
java.lang.String name)
Creates a new Designer with the report name. |
boolean |
delete(java.lang.String handle)
Deletes an object from its parent node. |
boolean |
delete(java.lang.String qryName,
java.lang.String tablename)
Deletes the selected table in the query |
boolean |
delete(java.lang.String qryName,
java.lang.String unionQuery,
boolean unionAll)
Deletes union query in a query |
boolean |
delete(java.lang.String qryName,
java.lang.String tablename,
java.lang.String columnname,
java.lang.String expression)
Deletes the QBE condition in the query |
boolean |
delete(java.lang.String qryName,
java.lang.String sExpression1,
java.lang.String sOperator,
java.lang.String sExpression2,
java.lang.String sLogic)
Deletes where conditions in the query |
boolean |
delete(java.lang.String qryName,
java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo)
Deletes joins in the query |
boolean |
delete(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo)
Deletes joins in the query |
boolean |
delete(java.lang.String dataSourceName,
java.lang.String qryName,
UnionInfo info)
Deletes union query in a query |
boolean |
delete(java.lang.String qryName,
UnionInfo info)
Deletes union query in a query |
boolean |
deleteCompCol(java.lang.String qryName,
java.lang.String columnName)
delete a computed column into query. |
boolean |
deleteCompCol(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String columnName)
delete a computed column into query. |
boolean |
deleteCondition(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String sExpression1,
java.lang.String sOperator,
java.lang.String sExpression2,
java.lang.String sLogic)
Deletes where conditions in the query |
boolean |
deleteQBE(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tablename,
java.lang.String columnname,
java.lang.String expression)
Deletes the QBE condition in the query |
boolean |
deleteQuery(java.lang.String qryName)
Deletes the query |
boolean |
deleteQuery(java.lang.String dataSourceName,
java.lang.String qryName)
Deletes the query |
boolean |
deleteQueryField(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tablename,
java.lang.String columnname)
Deletes the selected fields in the query |
boolean |
deleteQueryTable(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tablename)
Deletes the selected table in the query |
boolean |
deleteUnionQuery(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String unionQuery,
boolean unionAll)
Deletes union query in a query |
java.lang.String[][] |
getAndConditions(java.lang.String queryName)
Deprecated.Gets "AND" conditions in the query |
java.lang.String[][] |
getAndConditions(java.lang.String dataSourceName,
java.lang.String queryName)
Deprecated.Gets "AND" conditions in the query |
AndInfo[] |
getAndInfos(java.lang.String queryName)
get "And" condition infomations of the query |
AndInfo[] |
getAndInfos(java.lang.String dataSourceName,
java.lang.String queryName)
get "And" condition infomations of the query |
java.lang.String[] |
getBLCategoryHandles(java.lang.String handle)
Gets business catagory handles in specified business logic node. |
java.lang.String[] |
getBLDetailHandles(java.lang.String handle)
Gets business logic detail information handles in specified business logic node. |
java.lang.String[] |
getBLDimensionHandles(java.lang.String handle)
Gets business logic Dimension handles in specified business logic node. |
java.lang.String[] |
getBLHierarchyHandles(java.lang.String handle)
Gets business catagory handles in specified business logic node. |
java.lang.String[] |
getBLMeasureHandles(java.lang.String handle)
Gets business logic Measure handles in specified business logic node. |
java.lang.String |
getBLNodeQualifyName(java.lang.String handle)
Gets business logic node qualify name. |
java.lang.String[] |
getBLViewHandles(java.lang.String dataSourceName)
Gets business logic view handles in specified datasource. |
java.lang.String[] |
getBLViewHandles(java.lang.String dataSourceName,
int queryType)
Gets business logic view handles by specified query type in specified datasource. |
java.lang.String[] |
getBLViewNames(java.lang.String dataSourceName)
Gets business view names in specified datasource. |
java.lang.String[] |
getBLViewNames(java.lang.String dataSourceName,
int queryType)
Gets business view names in specified datasource. |
java.lang.String[] |
getBusinessNodeNames(java.lang.String dataSourceName,
java.lang.String businessViewName)
Gets business node names in specified datasource. |
java.lang.String[] |
getChartFunctions(java.lang.String queryName,
java.lang.String groupBy)
Gets formulae and summaries which are valid to the query and grouped on this field. |
java.lang.String[] |
getChartFunctions(java.lang.String dataSourceName,
java.lang.String queryName,
java.lang.String groupBy)
Gets formulae and summaries which are valid to the query and grouped on this field. |
java.lang.String[] |
getColumnMappingnames(java.lang.String queryName)
Gets column mapping names in the query |
java.lang.String[] |
getColumnMappingnames(java.lang.String dataSourceName,
java.lang.String queryName)
Gets column mapping names in the query |
QueryTableInfo |
getColumns(java.lang.String queryName,
boolean allColumns)
Gets columns in the query |
QueryTableInfo |
getColumns(java.lang.String dataSourceName,
java.lang.String queryName,
boolean allColumns)
Gets columns in the query |
QueryTableInfo |
getColumnsCanBeGroupedBy(java.lang.String queryName)
Gets columns which can be grouped by in the query |
QueryTableInfo |
getColumnsCanBeGroupedBy(java.lang.String dataSourceName,
java.lang.String queryName)
Gets columns which can be grouped by in the query |
java.lang.String[] |
getCompColumnHandles(java.lang.String dataSourceName,
java.lang.String queryName)
Gets computed column handles in the query |
java.lang.String[] |
getCompColumns(java.lang.String queryName)
Gets computed columns in the query |
java.lang.String[] |
getCompColumns(java.lang.String dataSourceName,
java.lang.String queryName)
Gets computed columns in the query |
ConnectionInfo |
getConnectionInfo()
get connection informations |
ConnectionInfo |
getConnectionInfo(java.lang.String dataSourceName)
get connection informations |
java.lang.String[] |
getDataSources()
Gets all DataSource in the catalog. |
java.lang.String[] |
getDBFields(java.lang.String qryName)
Gets DBFields that can be used in the query. |
java.lang.String[] |
getDBFields(java.lang.String dataSourceName,
java.lang.String qryName)
Gets DBFields that can be used in the query. |
java.lang.String[] |
getForeignKeys(java.lang.String tablename)
get foreign keys of the table |
java.lang.String[] |
getForeignKeys(java.lang.String sourceName,
java.lang.String tablename)
get foreign keys of the table |
java.lang.String[] |
getFormulae()
Gets formulae that can be used in the catalog. |
java.lang.String[] |
getFormulae(java.lang.String dataSourceName)
Gets formulae that can be used in the catalog. |
java.lang.String[] |
getFormulaeCanBeGroupedBy(java.lang.String queryName)
Gets formulae which are valid to the query and can be grouped on |
java.lang.String[] |
getFormulaeCanBeGroupedBy(java.lang.String queryName,
java.lang.String groupBy)
Gets formulae which are valid to the query and grouped on this field |
java.lang.String[] |
getFormulaeForQuery(java.lang.String queryName)
Gets formulae which are valid to the query |
java.lang.String[] |
getFormulaeForQuery(java.lang.String dataSourceName,
java.lang.String queryName)
Gets formulae which are valid to the query |
FormulaInfo |
getFormulaInfo(java.lang.String handle)
get formula information |
java.lang.String[] |
getFormulasCanBeGroupedBy(java.lang.String dataSourceName,
java.lang.String queryName)
Gets formulae which are valid to the query and can be grouped on |
java.lang.String[] |
getFunctions(int iType)
get names of embeded functions by the field type |
java.lang.String[] |
getFunctions(java.lang.String resourceName)
get names of embeded functions by the field name |
java.lang.String[] |
getFunctions(java.lang.String dataSourceName,
java.lang.String resourceName)
get names of embeded functions by the field name |
java.lang.String |
getHandle(java.lang.String resourceName,
int type)
get the object handle |
java.lang.String |
getHandle(java.lang.String dataSourceName,
java.lang.String resourceName,
int type)
get the object handle |
java.lang.String[] |
getHDSs()
Gets all HDS in the default database of catalog. |
java.lang.String[] |
getHDSs(java.lang.String dataSourceName)
Gets all HDS in the specified database of catalog. |
JoinInfo[] |
getJoinInfos(java.lang.String queryName)
Gets joins in the query |
JoinInfo[] |
getJoinInfos(java.lang.String dataSourceName,
java.lang.String queryName)
Gets joins in the query |
java.lang.String[][] |
getJoins(java.lang.String queryName)
Deprecated.Gets joins in the query |
java.lang.String[][] |
getJoins(java.lang.String dataSourceName,
java.lang.String queryName)
Deprecated.Gets joins in the query |
QueryTableInfo |
getMapColumns(java.lang.String queryName)
get table and column infomation of this query |
QueryTableInfo |
getMapColumns(java.lang.String dataSourceName,
java.lang.String queryName)
get table and column infomation of this query |
java.lang.String |
getMappingname(java.lang.String handle)
Gets mapping name of object |
java.lang.String[] |
getMappingnames(java.lang.String DSName)
Gets the field mapping names in the data source |
java.lang.String[] |
getMappingnames(java.lang.String dataSourceName,
java.lang.String DSName)
Gets the field mapping names in the data source of a specified database |
java.lang.String |
getNewFormulaName()
Gets the default formula name for the formula to be created in the current catalog,which must be unique. |
java.lang.String |
getNewFormulaName(java.lang.String sourceName)
Gets the default formula name for the formula to be created in the current catalog,which must be unique. |
java.lang.String |
getNewQueryName()
Gets the default query name for the query to be created in the current catalog,which must be unique. |
java.lang.String |
getNewQueryName(java.lang.String sourceName)
Gets the default query name for the query to be created in the current catalog,which must be unique. |
java.lang.String |
getNewReportName()
Gets a default report name for the report to be created, which must be unique. |
ObjectInfo |
getObjectInfo(java.lang.String handle)
get entity information in Catalog |
ObjectInfo |
getObjectInfo(java.lang.String resourceName,
int type)
get entity information in Catalog |
ObjectInfo |
getObjectInfo(java.lang.String dataSourceName,
java.lang.String resourceName,
int type)
get entity information in Catalog |
java.lang.String[] |
getParameter()
Gets parameters in the catalog. |
java.lang.String[] |
getParameter(java.lang.String dataSourceName)
Gets parameters in the catalog. |
java.lang.String[] |
getParameterCanBeGroupedBy()
Gets parameters which can be grouped by |
java.lang.String[] |
getParameterCanBeGroupedBy(java.lang.String dataSourceName)
Gets parameters which can be grouped by |
ParameterInfo |
getParameterInfo(java.lang.String handle)
get paramter information |
java.lang.String[] |
getPrimaryKeys(java.lang.String tablename)
get Primary keys of table |
java.lang.String[] |
getPrimaryKeys(java.lang.String dataSourceName,
java.lang.String tablename)
get Primary keys of table |
java.lang.String[] |
getProcColumns(java.lang.String procedureName)
Gets all cloumn names of stored procedures |
java.lang.String[] |
getProcColumns(java.lang.String dataSourceName,
java.lang.String procedureName)
Gets all cloumn names of stored procedures |
java.lang.String[] |
getProcColumnsMap(java.lang.String proceName)
Gets all cloumn mapping names of stored procedures |
java.lang.String[] |
getProcColumnsMap(java.lang.String dataSourceName,
java.lang.String proceName)
Gets all cloumn mapping names of stored procedures |
java.lang.String[] |
getProcedureNames()
Gets all stored procedures in the catalog. |
java.lang.String[] |
getProcedureNames(java.lang.String dataSourceName)
Gets all stored procedures in the catalog. |
java.lang.String[][] |
getQBEInfo(java.lang.String queryName)
Deprecated.Gets QBE infomation in the query |
java.lang.String[][] |
getQBEInfo(java.lang.String dataSourceName,
java.lang.String queryName)
Deprecated.Gets QBE infomation in the query |
QBEInfo[] |
getQBEInfos(java.lang.String queryName)
get "QBE" condition infomation of the query |
QBEInfo[] |
getQBEInfos(java.lang.String dataSourceName,
java.lang.String queryName)
get "QBE" condition infomation of the query |
java.lang.String[] |
getQueries()
Gets queries in the catalog. |
java.lang.String[] |
getQueries(java.lang.String dataSourceName)
Gets queries in the specified database. |
java.lang.String |
getQuoteChar()
get quote char in connection |
java.lang.String |
getQuoteChar(java.lang.String dataSourceName)
get quote char in connection |
java.lang.String[] |
getSPFields(java.lang.String dataSourceName,
java.lang.String spName,
boolean isMapping)
get the specified store procedure's fields real field name |
java.lang.String[] |
getSPFieldsMap(java.lang.String dataSourceName,
java.lang.String spName,
boolean isMapping)
get the specified store procedure's fields mapping name |
java.lang.String[] |
getSQLColumns(java.lang.String sqlname)
Gets all cloumn names of file SQL |
java.lang.String[] |
getSQLColumns(java.lang.String dataSourceName,
java.lang.String sqlname)
Gets all cloumn names of file SQL |
java.lang.String[] |
getSQLColumnsMap(java.lang.String sqlname)
Gets all cloumn mapping names of the file SQL |
java.lang.String[] |
getSQLColumnsMap(java.lang.String dataSourceName,
java.lang.String sqlname)
Gets all cloumn mapping names of the file SQL |
java.lang.String[] |
getSQLs()
Gets all SQL files in the catalog. |
java.lang.String[] |
getSQLs(java.lang.String dataSourceName)
Gets all SQL files in the catalog. |
java.lang.String |
getSQLString(java.lang.String queryName)
Gets sql statement text of a queriable object |
java.lang.String |
getSQLString(java.lang.String dataSourceName,
java.lang.String queryName)
Gets sql statement text of a queriable object |
int |
getSQLType(java.lang.String query,
java.lang.String colName)
Gets sql type of a column |
int |
getSQLType(java.lang.String sourceName,
java.lang.String query,
java.lang.String colName)
Gets sql type of a column |
java.lang.String[] |
getSubQueries(java.lang.String queryName)
get "sub-query" conditions infomation of the query |
java.lang.String[] |
getSubQueries(java.lang.String dataSourceName,
java.lang.String queryName)
get "sub-query" conditions infomation of the query |
java.lang.String[] |
getSummaries()
Gets summaries that can be used in the catalog. |
java.lang.String[] |
getSummaries(java.lang.String dataSourceName)
Gets summaries that can be used in the catalog. |
java.lang.String[] |
getSummariesForQuery(java.lang.String queryName)
Gets Summaries which are valid to the query |
java.lang.String[] |
getSummariesForQuery(java.lang.String dataSourceName,
java.lang.String queryName)
Gets Summaries which are valid to the query |
java.lang.String[] |
getSummaryCanBeSortedBy(java.lang.String queryName,
java.lang.String groupBy)
Gets summary which can be sorted by |
java.lang.String[] |
getSummaryCanBeSortedBy(java.lang.String dataSourceName,
java.lang.String queryName,
java.lang.String groupBy)
Gets summary which can be sorted by |
SummaryInfo |
getSummaryInfo(java.lang.String handle)
get summary information |
java.lang.String[] |
getTableColumns(java.lang.String tablename)
Gets all cloumn names of the table |
java.lang.String[] |
getTableColumns(java.lang.String tablename,
boolean isMapping)
Gets all cloumn names of the table |
java.lang.String[] |
getTableColumns(java.lang.String dataSourceName,
java.lang.String tablename)
Gets all cloumn names of the table |
java.lang.String[] |
getTableColumns(java.lang.String dataSourceName,
java.lang.String tablename,
boolean isMapping)
Gets all cloumn names of the table |
java.lang.String[] |
getTableColumnsMap(java.lang.String tablename)
Gets all cloumn mapping names of table |
java.lang.String[] |
getTableColumnsMap(java.lang.String tablename,
boolean isMapping)
Gets all cloumn mapping names of table |
java.lang.String[] |
getTableColumnsMap(java.lang.String dataSourceName,
java.lang.String tablename)
Gets all cloumn mapping names of table |
java.lang.String[] |
getTableColumnsMap(java.lang.String dataSourceName,
java.lang.String tablename,
boolean isMapping)
Gets all cloumn mapping names of table |
java.lang.String[] |
getTables()
Gets tables and views in the connection |
java.lang.String[] |
getTables(boolean bIncludeSystemTable)
Gets tables and views in the data source |
java.lang.String[] |
getTables(java.lang.String dataSourceName)
Gets tables and views in the connection of specified database |
java.lang.String[] |
getTables(java.lang.String dataSourceName,
boolean bIncludeSystemTable)
Gets tables and views in the data source |
java.lang.String[] |
getUDSColumns(java.lang.String udsname)
Gets all cloumns name of UDS |
java.lang.String[] |
getUDSColumns(java.lang.String dataSourceName,
java.lang.String udsname)
Gets all cloumns name of UDS |
java.lang.String[] |
getUDSColumnsMap(java.lang.String udsname)
Gets all cloumns mapping name of UDS |
java.lang.String[] |
getUDSColumnsMap(java.lang.String dataSourceName,
java.lang.String udsname)
Gets all cloumns mapping name of UDS |
java.lang.String[] |
getUDSs()
Gets all UDSs in the catalog. |
java.lang.String[] |
getUDSs(java.lang.String dataSourceName)
Gets all UDSs in the catalog. |
java.lang.String[] |
getUnionableQueries(java.lang.String queryname)
get query names that can be unioned to this query |
java.lang.String[] |
getUnionableQueries(java.lang.String dataSourceName,
java.lang.String queryname)
get query names that can be unioned to this query |
UnionInfos |
getUnionInfos(java.lang.String queryName)
Gets union query information of a specified query |
UnionInfos |
getUnionInfos(java.lang.String dataSourceName,
java.lang.String queryName)
Gets union query information of a specified query |
java.lang.String[] |
getUnionQueries(java.lang.String queryName)
Gets unioned query names of a specified query |
java.lang.String[] |
getUnionQueries(java.lang.String queryName,
boolean isUnionAll)
Gets unioned query names of a specified query according to union status |
java.lang.String[] |
getUnionQueries(java.lang.String dataSourceName,
java.lang.String queryName)
Gets unioned query names of a specified query |
java.lang.String[] |
getUnionQueries(java.lang.String dataSourceName,
java.lang.String queryName,
boolean isUnionAll)
Gets unioned query names of a specified query according to union status |
java.lang.String |
getUserID()
Gets user's ID |
java.lang.String |
insert(boolean bUseJDBCODBCBridge,
java.lang.String name,
java.lang.String desc,
java.lang.String url,
java.lang.String driver)
Inserts a database connection |
java.lang.String |
insert(boolean bUseJDBCODBCBridge,
java.lang.String strName,
java.lang.String strDesc,
java.lang.String URL,
java.lang.String DRV,
ConnectionInfo info)
Inserts a database connection |
java.lang.String |
insert(java.lang.String dataSourceName,
boolean bUseJDBCODBCBridge,
java.lang.String name,
java.lang.String desc,
java.lang.String url,
java.lang.String driver)
Inserts a database connection |
java.lang.String |
insert(java.lang.String dataSourceName,
boolean bUseJDBCODBCBridge,
java.lang.String strName,
java.lang.String strDesc,
java.lang.String URL,
java.lang.String DRV,
ConnectionInfo info)
Inserts a database connection |
java.lang.String |
insert(java.lang.String name,
int type)
insert resource entity into catalog. |
java.lang.String |
insert(java.lang.String qryName,
QueryFieldInfo queryFieldInfo,
QueryJoinInfo queryJoinInfo,
QueryQBEInfo queryQBEInfo,
QueryAndInfo queryAndInfo)
Inserts a query into the catalog. |
java.lang.String |
insert(java.lang.String SQLName,
java.lang.String filename)
Imports a SQL file |
java.lang.String |
insert(java.lang.String dataSourceName,
java.lang.String name,
int type)
insert resource entity into catalog. |
java.lang.String |
insert(java.lang.String summaryName,
java.lang.String desc,
int functionType,
java.lang.String fieldName,
java.lang.String groupByFld)
Defines a aggregate function |
java.lang.String |
insert(java.lang.String dataSourceName,
java.lang.String qryName,
QueryFieldInfo queryFieldInfo,
QueryJoinInfo queryJoinInfo,
QueryQBEInfo queryQBEInfo,
QueryAndInfo queryAndInfo)
Inserts a query into the catalog. |
java.lang.String |
insert(java.lang.String formulaName,
java.lang.String desc,
java.lang.String expression)
Adds a formula to the database according to the specified name, description and expression. |
java.lang.String |
insert(java.lang.String catalogName,
java.lang.String schemaPattern,
java.lang.String tablePattern,
int type)
Inserts a table or view into the catalog. |
java.lang.String |
insert(java.lang.String catalogName,
java.lang.String schemaPattern,
java.lang.String tablePattern,
int type,
boolean setMappingName)
Inserts a table or view into the catalog. |
java.lang.String |
insert(java.lang.String dataSourceName,
java.lang.String summaryName,
java.lang.String desc,
int functionType,
java.lang.String fieldName,
java.lang.String groupByFld)
Defines a aggregate function |
java.lang.String |
insert(java.lang.String dataSourceName,
java.lang.String formulaName,
java.lang.String desc,
java.lang.String expression)
Adds a formula to the database according to the specified name, description and expression. |
java.lang.String |
insert(java.lang.String tableName,
java.lang.String catalogName,
java.lang.String schemaPattern,
java.lang.String tablePattern,
int type,
boolean setMappingName)
Inserts a table or view into the catalog. |
java.lang.String |
insert(java.lang.String tableName,
java.lang.String catalogName,
java.lang.String schemaPattern,
java.lang.String tablePattern,
int type,
java.lang.String character)
Inserts a table or view into the catalog. |
java.lang.String |
insert(java.lang.String parameterName,
java.lang.String desc,
java.lang.String prompt,
java.lang.String type,
java.lang.String defaultValue)
Defines a parameter |
java.lang.String |
insert(java.lang.String procName,
java.lang.String catalog,
java.lang.String schema,
java.lang.String name,
java.lang.String remarks,
int iType)
Inserts a stored procedure into Connection |
java.lang.String |
insert(java.lang.String procName,
java.lang.String catalog,
java.lang.String schema,
java.lang.String name,
java.lang.String remarks,
int iType,
boolean setMappingName)
Inserts a stored procedure into Connection |
java.lang.String |
insert(java.lang.String dataSourceName,
java.lang.String tableName,
java.lang.String catalogName,
java.lang.String schemaPattern,
java.lang.String tablePattern,
int type,
java.lang.String character)
Inserts a table or view into the catalog. |
java.lang.String |
insert(java.lang.String dataSourceName,
java.lang.String parameterName,
java.lang.String desc,
java.lang.String prompt,
java.lang.String type,
java.lang.String defaultValue)
Defines a parameter |
java.lang.String |
insert(java.lang.String dataSourceName,
java.lang.String procName,
java.lang.String catalog,
java.lang.String schema,
java.lang.String name,
java.lang.String remarks,
int iType,
boolean setMappingName)
Inserts a stored procedure into Connection |
java.lang.String |
insert(java.lang.String dataSourceName,
java.lang.String procName,
java.lang.String catalog,
java.lang.String schema,
java.lang.String name,
java.lang.String remarks,
int iType,
boolean setMappingName,
java.lang.String connector)
Inserts a stored procedure into Connection |
java.lang.String |
insert(java.lang.String dataSourceName,
java.lang.String procName,
java.lang.String catalog,
java.lang.String schema,
java.lang.String name,
java.lang.String remarks,
int iType,
java.lang.String connector)
Inserts a stored procedure into Connection |
java.lang.String |
insert(java.lang.String dataSourceName,
java.lang.String strDSName,
java.lang.String strClassName,
java.lang.String strParameter,
UDSColumnInfo udsColInfo)
Inserts a user defined datasource |
java.lang.String |
insert(java.lang.String strDSName,
java.lang.String strClassName,
java.lang.String strParameter,
UDSColumnInfo udsColInfo)
Inserts a user defined datasource |
java.lang.String |
insert(java.lang.String dataSourceName,
java.lang.String wherePotionName,
java.lang.String desc,
WherePortionInfo whereportionInfo)
Defines a where potion |
java.lang.String |
insert(java.lang.String wherePotionName,
java.lang.String desc,
WherePortionInfo whereportionInfo)
Defines a where potion |
java.lang.String |
insertBLCategory(java.lang.String parentHandle,
BLCategoryInfo info)
Inserts a business logic Category information into specified object |
java.lang.String |
insertBLDetail(java.lang.String parentHandle,
BLDetailInfo info)
Inserts a business logic Detail information into specified object |
java.lang.String |
insertBLDimension(java.lang.String parentHandle,
BLDimensionInfo info)
Inserts a business logic dimension into specified object |
java.lang.String |
insertBLHierarchy(java.lang.String blViewHandle,
BLHierarchyInfo info)
Inserts a business logic Category information into specified object |
java.lang.String |
insertBLMeasure(java.lang.String parentHandle,
BLMeasureInfo info)
Inserts a business logic measure into specified object |
java.lang.String |
insertBusinessView(java.lang.String dataSourceName,
java.lang.String queriableName,
java.lang.String businessViewName)
Inserts a business view into specified queriable object |
java.lang.String |
insertClassHDS(java.lang.String dataSourceName,
java.lang.String name,
java.lang.String classPath,
java.lang.String parameter)
insert resource entity into catalog. |
java.lang.String |
insertCompCol(java.lang.String qryName,
java.lang.String columnName,
java.lang.String sExpression)
Inserts a computed column into query. |
java.lang.String |
insertCompCol(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String columnName,
java.lang.String sExpression)
Inserts a computed column into query. |
java.lang.String |
insertSql(java.lang.String dataSourceName,
java.lang.String SQLName,
java.lang.String filename)
Imports a SQL file |
java.lang.String |
insertXMLHDS(java.lang.String dataSourceName,
java.lang.String name,
java.lang.String xmlPath,
java.lang.String xsdPath)
insert resource entity into catalog. |
boolean |
isDistinctQuery(java.lang.String dataSourceName,
java.lang.String queryName)
set the distinct status of query |
boolean |
isModified()
whether the catalog was modified |
boolean |
isNameExist(java.lang.String name)
judge whether the resource entity has existed in the catalog |
boolean |
isNameExist(java.lang.String dataSourceName,
java.lang.String name)
judge whether the resource entity has existed in the catalog |
java.lang.String |
mapFunction(int function)
convert function type number to String |
java.lang.String |
parseFormula(java.lang.String dataSourceName,
FormulaInfo info)
parse the formula in the database |
java.lang.String |
parseFormulae()
parse formulae in the database |
java.lang.String |
parseFormulae(java.lang.String dataSourceName)
parse formulae in the database |
void |
rename(java.lang.String resourceName,
java.lang.String newName,
int type)
rename the specified object |
void |
rename(java.lang.String dataSourceName,
java.lang.String resourceName,
java.lang.String newName,
int type)
rename the specified object |
boolean |
save()
Saves an opened catalog. |
boolean |
saveAs(java.lang.String path,
java.lang.String name)
Saves an opened catalog as new catalog file. |
boolean |
set(java.lang.String qryName,
AndInfo andInfo)
Adds a new and condition to the query |
boolean |
set(java.lang.String handle,
FormulaInfo info)
Sets formula information |
boolean |
set(java.lang.String qryName,
JoinInfo joinInfo)
Adds a new join to the query |
boolean |
set(java.lang.String handle,
ParameterInfo info)
Sets parameter information |
boolean |
set(java.lang.String qryName,
QBEInfo qbeInfo)
Adds QBE condition to the query |
boolean |
set(java.lang.String dataSourceName,
java.lang.String qryName,
AndInfo andInfo)
Adds a new and condition to the query |
boolean |
set(java.lang.String dataSourceName,
java.lang.String qryName,
JoinInfo joinInfo)
Adds a new join to the query |
boolean |
set(java.lang.String qryName,
java.lang.String tablename,
java.lang.String columnname,
java.lang.String expression)
Adds a new QBE condition to the query |
boolean |
set(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tablename,
java.lang.String columnname,
boolean isFormula)
Adds a new field to the query |
boolean |
set(java.lang.String qryName,
java.lang.String sExpression1,
java.lang.String sOperator,
java.lang.String sExpression2,
java.lang.String sLogic)
Adds a new where condition to the query |
boolean |
set(java.lang.String qryName,
java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo)
Adds a new join to the query |
boolean |
set(java.lang.String qryName,
java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo,
boolean isSQL92,
int outerJoin)
Adds a new join to the query |
boolean |
set(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo,
boolean isSQL92,
int outerJoin)
Adds a new join to the query |
boolean |
set(java.lang.String dataSourceName,
java.lang.String qryName,
SubQueryInfo subqueryInfo)
Adds a subquery in to the query |
boolean |
set(java.lang.String dataSourceName,
java.lang.String qryName,
UnionInfo unionInfo)
Adds a union query in to the query |
boolean |
set(java.lang.String qryName,
SubQueryInfo subqueryInfo)
Adds a subquery in to the query |
boolean |
set(java.lang.String handle,
SummaryInfo info)
Sets summary information |
boolean |
set(java.lang.String qryName,
UnionInfo unionInfo)
Adds a union query in to the query |
boolean |
setCompCol(java.lang.String qryName,
java.lang.String columnName,
java.lang.String sExpression)
modify the expression of a computed column . |
boolean |
setCompCol(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String columnName,
java.lang.String sExpression)
modify the expression of a computed column . |
boolean |
setCondition(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String sExpression1,
java.lang.String sOperator,
java.lang.String sExpression2,
java.lang.String sLogic)
Adds a new where condition to the query |
boolean |
setDistinctQuery(java.lang.String dataSourceName,
java.lang.String queryName,
boolean isDisTinct)
set the distinct status of query |
boolean |
setJoin(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo)
Adds a new join to the query |
void |
setModified(boolean isModified)
set the modifying status of Catalog |
boolean |
setQBE(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tablename,
java.lang.String columnname,
java.lang.String expression)
Adds a new QBE condition to the query |
boolean |
setQueryTable(java.lang.String qryName,
java.lang.String tablename,
boolean selectAllFields)
Adds a new table to the query |
boolean |
setQueryTable(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tablename,
boolean selectAllFields)
Adds a new table to the query |
java.lang.String |
updateSQLFile(java.lang.String SQLName,
java.lang.String filename)
Update a SQL with a SQL file. |
java.lang.String |
updateSQLFile(java.lang.String dataSourceName,
java.lang.String SQLName,
java.lang.String filename)
Update a SQL with a SQL file. |
boolean |
updateUDS(java.lang.String userDataSourceName)
Update UDS in Default Data Source in the Catalog. |
boolean |
updateUDS(java.lang.String dataSourceName,
java.lang.String userDataSourceName)
Update UDS in specified Data Source in the Catalog. |
| Methods inherited from class jet.api.API |
|---|
clearError, clearMsg, clearWarning, closeLog, containPropName, getBool, getChildren, getColor, getDouble, getError, getFloat, getHandles, getHandles, getHandles, getHandles, getInstanceName, getInt, getLong, getParent, getPropNames, getPropType, getQualifyName, getString, getStringArray, getUnit, getWarning, set, set, set, set, set, set, setLog, setLog, setLog, setReference, setUnit, writeLog, writeLog |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CATALOG
public static final int CONNECTION
public static final int TABLE
public static final int VIEW
public static final int COLUMN
public static final int QUERY
public static final int PROCEDURE
public static final int FILESQL
public static final int UDS
public static final int FORMULA
public static final int SUMMARY
public static final int PARAMETER
public static final int WHEREPORTION
public static final int SYNONYM
public static final int ALIAS
public static final int DATABASE
public static final int HDS
public static final int BUSINESSLOGIC
public static final int BUSINESSLOGIC_CATEGORY
public static final int BUSINESSLOGIC_DIMENSION
public static final int BUSINESSLOGIC_MEASURE
public static final int BUSINESSLOGIC_DETAILINFO
public static final int BUSINESSLOGIC_HIERARCHY
public static final int BUSINESSLOGIC_HIERARCHYCONTAINER
public static final int ONDEMAND_QUERY
public static final int XML_CONNECTION
public static final int XML_MDCONTAINER
public static final int JDBC_ODBC_BRIDGE
public static final int JDBC
public static final int PATTERN_1PART_NAME
public static final int PATTERN_2PART_NAME
public static final int PATTERN_3PART_NAME
public static final int EXTRA_NAME_JDBC
public static final int EXTRA_NAME_USERDEFINED
public static final int ENCODINGAUTO
public static final int ENCODINGYES
public static final int ENCODINGNO
public static final int TRANSACTION_DEFAULT
public static final int TRANSACTION_NONE
public static final int TRANSACTION_READ_UNCOMMITTED
public static final int TRANSACTION_READ_COMMITTED
public static final int TRANSACTION_REPEATABLE_READ
public static final int TRANSACTION_SERIALIZABLE
public static final int READ_ONLY_DEFAULT
public static final int READ_ONLY_TRUE
public static final int READ_ONLY_FALSE
public static final java.lang.String INTEGER
public static final java.lang.String NUMBER
public static final java.lang.String STRING
public static final java.lang.String DECIMAL
public static final java.lang.String CURRENCY
public static final java.lang.String BOOLEAN
public static final java.lang.String DATE
public static final java.lang.String TIME
public static final java.lang.String DATETIME
public static final java.lang.String BINARY
public static final java.lang.String PARAMETERS
public static final int COUNT
public static final int SUM
public static final int AVERAGE
public static final int MAXIMUM
public static final int MINIMUM
public static final int POPULATIONSTDDEV
public static final int POPULATIONVARIANCE
public static final int STDDEV
public static final int VARIANCE
public static final int DISTINCTCOUNT
| Method Detail |
|---|
public java.lang.String getUserID()
public boolean save()
throws jet.jetc.WriteFailureException,
jet.universe.exception.FMLFileException
jet.jetc.WriteFailureException
jet.universe.exception.FMLFileException
public boolean saveAs(java.lang.String path,
java.lang.String name)
path - the file path of new catalog file.name - the file name of new catalog file.
public java.lang.String getNewQueryName()
public java.lang.String getNewQueryName(java.lang.String sourceName)
public java.lang.String getNewFormulaName()
public java.lang.String getNewFormulaName(java.lang.String sourceName)
public java.lang.String getNewReportName()
public java.lang.String getMappingname(java.lang.String handle)
handle - handle of object
public Designer create(java.lang.String path,
java.lang.String name)
path - the catalog file pathname - the catalog file name
public java.lang.String insert(java.lang.String name,
int type)
name - resource entity nametype - resource entity type
public java.lang.String insert(java.lang.String dataSourceName,
java.lang.String name,
int type)
dataSourceName - database nametype - resource entity type
public java.lang.String insert(java.lang.String dataSourceName,
java.lang.String procName,
java.lang.String catalog,
java.lang.String schema,
java.lang.String name,
java.lang.String remarks,
int iType,
boolean setMappingName)
dataSourceName - the data source nameprocName - the procedure mapping namecatalog - the catalog name of the procedureschema - the schema name of the procedurename - the procedure nameremarks - the remark on the procedureiType - the result type of the proceduresetMappingName - whether or not set the field name as "name_fieldName".
public java.lang.String insert(java.lang.String dataSourceName,
java.lang.String procName,
java.lang.String catalog,
java.lang.String schema,
java.lang.String name,
java.lang.String remarks,
int iType,
java.lang.String connector)
dataSourceName - the data source nameprocName - the procedure mapping namecatalog - the catalog name of the procedureschema - the schema name of the procedurename - the procedure nameremarks - the remark on the procedureiType - the result type of the procedureconnector - the character which used to connect table name and fieldName as mapping name (resouce Name) of field
public java.lang.String insert(java.lang.String dataSourceName,
java.lang.String procName,
java.lang.String catalog,
java.lang.String schema,
java.lang.String name,
java.lang.String remarks,
int iType,
boolean setMappingName,
java.lang.String connector)
dataSourceName - the data source nameprocName - the procedure mapping namecatalog - the catalog name of the procedureschema - the schema name of the procedurename - the procedure nameremarks - the remark on the procedureiType - the result type of the proceduresetMappingName - whether or not set the field name as "name_fieldName".connector - the character which used to connect table name and fieldName as mapping name (resouce Name) of field if setMappingName is true.
public java.lang.String insert(java.lang.String procName,
java.lang.String catalog,
java.lang.String schema,
java.lang.String name,
java.lang.String remarks,
int iType,
boolean setMappingName)
procName - the procedure mapping namecatalog - the catalog name of the procedureschema - the schema name of the procedurename - the procedure nameremarks - the remark on the procedureiType - the result type of the proceduresetMappingName - whether or not set the field name as "name_fieldName".
public java.lang.String insert(java.lang.String procName,
java.lang.String catalog,
java.lang.String schema,
java.lang.String name,
java.lang.String remarks,
int iType)
procName - the procedure mapping namecatalog - the catalog name of the procedureschema - the schema name of the procedurename - the procedure nameremarks - the remark on the procedureiType - the result type of the procedure
public java.lang.String insert(java.lang.String strDSName,
java.lang.String strClassName,
java.lang.String strParameter,
UDSColumnInfo udsColInfo)
strDSName - the UDS namestrClassName - the UDS class namestrParameter - the parameter valueudsColInfo - the specified column information.
public java.lang.String insert(java.lang.String dataSourceName,
java.lang.String strDSName,
java.lang.String strClassName,
java.lang.String strParameter,
UDSColumnInfo udsColInfo)
dataSourceName - the data source namestrDSName - the UDS namestrClassName - the UDS class namestrParameter - the parameter valueudsColInfo - the specified column information.
public java.lang.String insert(java.lang.String parameterName,
java.lang.String desc,
java.lang.String prompt,
java.lang.String type,
java.lang.String defaultValue)
parameterName - the parameter namedesc - the description of the parameterprompt - the prompt texttype - the parameter data typedefaultValue - the default value of the parameter
public java.lang.String insert(java.lang.String dataSourceName,
java.lang.String parameterName,
java.lang.String desc,
java.lang.String prompt,
java.lang.String type,
java.lang.String defaultValue)
dataSourceName - the data source nameparameterName - the parameter namedesc - the description of the parameterprompt - the prompt texttype - the parameter data typedefaultValue - the default value of the parameter
public java.lang.String insert(java.lang.String wherePotionName,
java.lang.String desc,
WherePortionInfo whereportionInfo)
wherePotionName - the WherePotion Namedesc - the description of WherePotionwhereportionInfo - the WherePortion information
public java.lang.String insert(java.lang.String dataSourceName,
java.lang.String wherePotionName,
java.lang.String desc,
WherePortionInfo whereportionInfo)
dataSourceName - the data source namewherePotionName - the WherePotion Namedesc - the description of WherePotionwhereportionInfo - the WherePortion information
public java.lang.String insert(java.lang.String formulaName,
java.lang.String desc,
java.lang.String expression)
formulaName - the formula namedesc - the description of the formulaexpression - the expression
public java.lang.String insert(java.lang.String dataSourceName,
java.lang.String formulaName,
java.lang.String desc,
java.lang.String expression)
dataSourceName - the data source nameformulaName - the formula namedesc - the description of the formulaexpression - the expression
public java.lang.String insert(java.lang.String summaryName,
java.lang.String desc,
int functionType,
java.lang.String fieldName,
java.lang.String groupByFld)
summaryName - the summary namedesc - the description of the functionfunctionType - the function typefieldName - the name of the field calculated ongroupByFld - the name of the field grouped by
public java.lang.String insert(java.lang.String dataSourceName,
java.lang.String summaryName,
java.lang.String desc,
int functionType,
java.lang.String fieldName,
java.lang.String groupByFld)
dataSourceName - the data source namesummaryName - the summary namedesc - the description of the functionfunctionType - the function typefieldName - the name of the field calculated ongroupByFld - the name of the field grouped by
public java.lang.String insert(java.lang.String SQLName,
java.lang.String filename)
SQLName - the SQL namefilename - the imported file name
public java.lang.String insertSql(java.lang.String dataSourceName,
java.lang.String SQLName,
java.lang.String filename)
dataSourceName - the data source nameSQLName - the SQL namefilename - the imported file name
public java.lang.String updateSQLFile(java.lang.String SQLName,
java.lang.String filename)
SQLName - the SQL namefilename - the imported file name
public java.lang.String updateSQLFile(java.lang.String dataSourceName,
java.lang.String SQLName,
java.lang.String filename)
dataSourceName - the data source nameSQLName - the SQL namefilename - the imported file name
public java.lang.String insert(boolean bUseJDBCODBCBridge,
java.lang.String name,
java.lang.String desc,
java.lang.String url,
java.lang.String driver)
bUseJDBCODBCBridge - connected by the JDBC_ODBC bridge.name - the connection namedesc - the description for the connectionurl - The URL used to connect to a database.
public java.lang.String insert(java.lang.String dataSourceName,
boolean bUseJDBCODBCBridge,
java.lang.String name,
java.lang.String desc,
java.lang.String url,
java.lang.String driver)
dataSourceName - the data source namebUseJDBCODBCBridge - connected by the JDBC_ODBC bridge.name - the connection namedesc - the description for the connectionurl - The URL used to connect to a database.
public java.lang.String insert(boolean bUseJDBCODBCBridge,
java.lang.String strName,
java.lang.String strDesc,
java.lang.String URL,
java.lang.String DRV,
ConnectionInfo info)
bUseJDBCODBCBridge - connected by JDBC_ODBC Bridge.strName - the connection namestrDesc - the description for the connectionURL - The URL used to connect to a database.DRV - DB driver used to connect to a database.info - the connection information
public java.lang.String insert(java.lang.String dataSourceName,
boolean bUseJDBCODBCBridge,
java.lang.String strName,
java.lang.String strDesc,
java.lang.String URL,
java.lang.String DRV,
ConnectionInfo info)
dataSourceName - the data source namebUseJDBCODBCBridge - connected by JDBC_ODBC Bridge.strName - the connection namestrDesc - the description for the connectionURL - The URL used to connect to a database.DRV - DB driver used to connect to a database.info - the connection information
public ConnectionInfo getConnectionInfo()
public ConnectionInfo getConnectionInfo(java.lang.String dataSourceName)
dataSourceName - the data source name
public java.lang.String insert(java.lang.String catalogName,
java.lang.String schemaPattern,
java.lang.String tablePattern,
int type)
catalogName - the catalog nameschemaPattern - the schema patterntablePattern - the table patterntype - the table type
public java.lang.String insert(java.lang.String catalogName,
java.lang.String schemaPattern,
java.lang.String tablePattern,
int type,
boolean setMappingName)
catalogName - the catalog nameschemaPattern - the schema patterntablePattern - the table patterntype - the table typesetMappingName - whether or not set the field name as "tablePattern_fieldName".
public java.lang.String insert(java.lang.String tableName,
java.lang.String catalogName,
java.lang.String schemaPattern,
java.lang.String tablePattern,
int type,
boolean setMappingName)
tableName - the mapping name of table or viewcatalogName - the catalog nameschemaPattern - the schema patterntablePattern - the table patterntype - the table typesetMappingName - whether or not set the field name as "tablePattern_fieldName".
public java.lang.String insert(java.lang.String tableName,
java.lang.String catalogName,
java.lang.String schemaPattern,
java.lang.String tablePattern,
int type,
java.lang.String character)
tableName - the mapping name of table or viewcatalogName - the catalog nameschemaPattern - the schema patterntablePattern - the table patterntype - the table typecharacter - the character which used to connect table name and fieldName as mapping name (resouce Name) of field.
public java.lang.String insert(java.lang.String dataSourceName,
java.lang.String tableName,
java.lang.String catalogName,
java.lang.String schemaPattern,
java.lang.String tablePattern,
int type,
java.lang.String character)
dataSourceName - the data source nametableName - the mapping name of table or viewcatalogName - the catalog nameschemaPattern - the schema patterntablePattern - the table patterntype - the table typecharacter - the character which used to connect table name and fieldName as mapping name (resouce Name) of field.
public java.lang.String[] getPrimaryKeys(java.lang.String tablename)
tablename - table name String
public java.lang.String[] getPrimaryKeys(java.lang.String dataSourceName,
java.lang.String tablename)
dataSourceName - the data source nametablename - table name String
public java.lang.String[] getForeignKeys(java.lang.String tablename)
tablename - table name string
public java.lang.String[] getForeignKeys(java.lang.String sourceName,
java.lang.String tablename)
sourceName - the data source nametablename - table name string
public java.lang.String insertCompCol(java.lang.String qryName,
java.lang.String columnName,
java.lang.String sExpression)
qryName - the query namecolumnName - the resource name of computed columnsExpression - the expression of this column
public java.lang.String insertCompCol(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String columnName,
java.lang.String sExpression)
dataSourceName - the data source nameqryName - the query namecolumnName - the resource name of computed columnsExpression - the expression of this column
public boolean deleteCompCol(java.lang.String qryName,
java.lang.String columnName)
qryName - the query namecolumnName - the resource name of computed column
public boolean deleteCompCol(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String columnName)
dataSourceName - the data source nameqryName - the query namecolumnName - the resource name of computed column
public boolean setCompCol(java.lang.String qryName,
java.lang.String columnName,
java.lang.String sExpression)
qryName - the query namecolumnName - the resource name of computed columnsExpression - the expression of this column
public boolean setCompCol(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String columnName,
java.lang.String sExpression)
dataSourceName - the data source nameqryName - the query namecolumnName - the resource name of computed columnsExpression - the expression of this column
public java.lang.String insert(java.lang.String qryName,
QueryFieldInfo queryFieldInfo,
QueryJoinInfo queryJoinInfo,
QueryQBEInfo queryQBEInfo,
QueryAndInfo queryAndInfo)
qryName - the query namequeryFieldInfo - the table and fields informationqueryJoinInfo - the join informationqueryQBEInfo - the QBE informationqueryAndInfo - the where condition information
public java.lang.String insert(java.lang.String dataSourceName,
java.lang.String qryName,
QueryFieldInfo queryFieldInfo,
QueryJoinInfo queryJoinInfo,
QueryQBEInfo queryQBEInfo,
QueryAndInfo queryAndInfo)
dataSourceName - the data source nameqryName - the query namequeryFieldInfo - the table and fields informationqueryJoinInfo - the join informationqueryQBEInfo - the QBE informationqueryAndInfo - the where condition information
public java.lang.String insertXMLHDS(java.lang.String dataSourceName,
java.lang.String name,
java.lang.String xmlPath,
java.lang.String xsdPath)
dataSourceName - database namename - resource name of entityxmlPath - full file path of imported XML filexsdPath - full file path of imported XSD file
public java.lang.String insertClassHDS(java.lang.String dataSourceName,
java.lang.String name,
java.lang.String classPath,
java.lang.String parameter)
dataSourceName - database namename - resource name of entityclassPath - full file path of imported class fileparameter - parameter value of imported class file
public boolean deleteQuery(java.lang.String qryName)
qryName - the query name
public boolean deleteQuery(java.lang.String dataSourceName,
java.lang.String qryName)
dataSourceName - the data source nameqryName - the query name
public boolean delete(java.lang.String qryName,
java.lang.String tablename)
qryName - the query nametablename - the name of table to be deleted
public boolean deleteQueryTable(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tablename)
dataSourceName - the data source nameqryName - the query nametablename - the name of table to be deleted
public boolean deleteQueryField(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tablename,
java.lang.String columnname)
dataSourceName - the data source nameqryName - the name of the querytablename - the table name of the deleted fieldcolumnname - the column name of the deleted field
public boolean delete(java.lang.String qryName,
java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo)
qryName - the query nametableFrom - the name of the table from which the join linkscolumnFrom - the name of the column from which the join linkstableTo - the name of the table to which the join linkscolumnTo - the name of the column to which the join linksoperator - the operator of the join to be deleted
public boolean delete(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo)
dataSourceName - the data source nameqryName - the query nametableFrom - the name of the table from which the join linkscolumnFrom - the name of the column from which the join linkstableTo - the name of the table to which the join linkscolumnTo - the name of the column to which the join linksoperator - the operator of the join to be deleted
public boolean delete(java.lang.String qryName,
java.lang.String tablename,
java.lang.String columnname,
java.lang.String expression)
qryName - the query nametablename - the name of the table where the QBE condition iscolumnname - the name of the column where the QBE condition isexpression - the expression of the QBE condition
public boolean deleteQBE(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tablename,
java.lang.String columnname,
java.lang.String expression)
dataSourceName - the data source nameqryName - the query nametablename - the name of the table where the QBE condition iscolumnname - the name of the column where the QBE condition isexpression - the expression of the QBE condition
public boolean delete(java.lang.String qryName,
java.lang.String sExpression1,
java.lang.String sOperator,
java.lang.String sExpression2,
java.lang.String sLogic)
qryName - the query namesLogic - the logic string of the where condition to be deletedsExpression1 - the first expression of the where condition to be deletedsOperator - the operator of the where condition to be deletedsExpression2 - the second expression of the where condition to be deleted
public boolean deleteCondition(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String sExpression1,
java.lang.String sOperator,
java.lang.String sExpression2,
java.lang.String sLogic)
dataSourceName - the data source nameqryName - the query namesLogic - the logic string of the where condition to be deletedsExpression1 - the first expression of the where condition to be deletedsOperator - the operator of the where condition to be deletedsExpression2 - the second expression of the where condition to be deleted
public boolean delete(java.lang.String qryName,
UnionInfo info)
qryName - the query nameinfo - the information of the union query to be deleted
public boolean delete(java.lang.String dataSourceName,
java.lang.String qryName,
UnionInfo info)
dataSourceName - the data source nameqryName - the query nameinfo - the information of the union query to be deleted
public boolean delete(java.lang.String qryName,
java.lang.String unionQuery,
boolean unionAll)
qryName - the query nameunionQuery - the name of the union query to be deletedunionAll - the "unionAll" status of the union query to be deleted
public boolean deleteUnionQuery(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String unionQuery,
boolean unionAll)
dataSourceName - the data source nameqryName - the query nameunionQuery - the name of the union query to be deletedunionAll - the "unionAll" status of the union query to be deleted
public boolean setQueryTable(java.lang.String qryName,
java.lang.String tablename,
boolean selectAllFields)
qryName - the query nametablename - the name of table to be insertedselectAllFields - whether inserts the table with all its fields
public boolean setQueryTable(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tablename,
boolean selectAllFields)
dataSourceName - the data source nameqryName - the query nametablename - the name of table to be insertedselectAllFields - whether inserts the table with all its fields
public boolean set(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tablename,
java.lang.String columnname,
boolean isFormula)
dataSourceName - the data source nameqryName - the query nametablename - the name of the table where the field isisFormula - whether the field to be inserted is a formula
public boolean set(java.lang.String qryName,
JoinInfo joinInfo)
qryName - the query namejoinInfo - join infomation
public boolean set(java.lang.String dataSourceName,
java.lang.String qryName,
JoinInfo joinInfo)
dataSourceName - the data source nameqryName - the query namejoinInfo - join infomation
public boolean set(java.lang.String qryName,
java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo)
qryName - the query nametableFrom - the name of the tabe from which the join linkscolumnFrom - the name of the column from which the join linkstableTo - the name of the table to which the join linkscolumnTo - the name of the column to which the join linksoperator - operator of the join to be inserted
public boolean setJoin(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo)
dataSourceName - the data source nameqryName - the query nametableFrom - the name of the tabe from which the join linkscolumnFrom - the name of the column from which the join linkstableTo - the name of the table to which the join linkscolumnTo - the name of the column to which the join linksoperator - operator of the join to be inserted
public boolean setDistinctQuery(java.lang.String dataSourceName,
java.lang.String queryName,
boolean isDisTinct)
dataSourceName - the data source namequeryName - the query nameisDisTinct - set distinct select query or not
public boolean isDistinctQuery(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - the query name
public boolean set(java.lang.String qryName,
java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo,
boolean isSQL92,
int outerJoin)
qryName - the query nametableFrom - the name of the tabe from which the join linkscolumnFrom - the name of the column from which the join linkstableTo - the name of the table to which the join linkscolumnTo - the name of the column to which the join linksoperator - operator of the join to be insertedisSQL92 - whether this join sentance apply SQL92 standardouterJoin - the type of outer join
public boolean set(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tableFrom,
java.lang.String columnFrom,
java.lang.String operator,
java.lang.String tableTo,
java.lang.String columnTo,
boolean isSQL92,
int outerJoin)
dataSourceName - the data source nameqryName - the query nametableFrom - the name of the tabe from which the join linkscolumnFrom - the name of the column from which the join linkstableTo - the name of the table to which the join linkscolumnTo - the name of the column to which the join linksoperator - operator of the join to be insertedisSQL92 - whether this join sentance apply SQL92 standardouterJoin - the type of outer join
public boolean set(java.lang.String qryName,
QBEInfo qbeInfo)
qryName - the query nameqbeInfo - QBE infomation
public boolean set(java.lang.String qryName,
java.lang.String tablename,
java.lang.String columnname,
java.lang.String expression)
qryName - the query nametablename - the name of the table where the QBE condition will be addedcolumnname - the name of the column where the QBE condition will be addedexpression - the expression of the QBE condition
public boolean setQBE(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String tablename,
java.lang.String columnname,
java.lang.String expression)
dataSourceName - the data source nameqryName - the query nametablename - the name of the table where the QBE condition will be addedcolumnname - the name of the column where the QBE condition will be addedexpression - the expression of the QBE condition
public java.lang.String[] getUnionableQueries(java.lang.String queryname)
queryname - query name to be unioned
public java.lang.String[] getUnionableQueries(java.lang.String dataSourceName,
java.lang.String queryname)
dataSourceName - the data source namequeryname - query name to be unioned
public UnionInfos getUnionInfos(java.lang.String queryName)
queryName - query name
public UnionInfos getUnionInfos(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - query name
public java.lang.String[] getUnionQueries(java.lang.String queryName)
queryName - query name
public java.lang.String[] getUnionQueries(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - query name
public java.lang.String[] getUnionQueries(java.lang.String queryName,
boolean isUnionAll)
queryName - query nameisUnionAll - to indicate the union status
public java.lang.String[] getUnionQueries(java.lang.String dataSourceName,
java.lang.String queryName,
boolean isUnionAll)
dataSourceName - the data source namequeryName - query nameisUnionAll - to indicate the union status
public boolean set(java.lang.String qryName,
SubQueryInfo subqueryInfo)
qryName - the query namesubqueryInfo - sub query information
public boolean set(java.lang.String dataSourceName,
java.lang.String qryName,
SubQueryInfo subqueryInfo)
dataSourceName - the data source nameqryName - the query namesubqueryInfo - sub query information
public boolean set(java.lang.String qryName,
UnionInfo unionInfo)
qryName - the query nameunionInfo - union query information
public boolean set(java.lang.String dataSourceName,
java.lang.String qryName,
UnionInfo unionInfo)
dataSourceName - the data source nameqryName - the query nameunionInfo - union query information
public boolean set(java.lang.String qryName,
AndInfo andInfo)
qryName - the query nameandInfo - "And" infomation
public boolean set(java.lang.String dataSourceName,
java.lang.String qryName,
AndInfo andInfo)
dataSourceName - the data source nameqryName - the query nameandInfo - "And" infomation
public boolean set(java.lang.String qryName,
java.lang.String sExpression1,
java.lang.String sOperator,
java.lang.String sExpression2,
java.lang.String sLogic)
qryName - the query namesLogic - the logic string of the where condition to be insertedsExpression1 - the first expression of the where condition to be insertedsOperator - the operator of the where condition to be insertedsExpression2 - the second expression of the where condition to be inserted
public boolean setCondition(java.lang.String dataSourceName,
java.lang.String qryName,
java.lang.String sExpression1,
java.lang.String sOperator,
java.lang.String sExpression2,
java.lang.String sLogic)
dataSourceName - the data source nameqryName - the query namesLogic - the logic string of the where condition to be insertedsExpression1 - the first expression of the where condition to be insertedsOperator - the operator of the where condition to be insertedsExpression2 - the second expression of the where condition to be inserted
public boolean set(java.lang.String handle,
ParameterInfo info)
handle - the parameter handleinfo - parameter infomation
public boolean checkParam(ParameterInfo info)
public ParameterInfo getParameterInfo(java.lang.String handle)
handle - handle of parameter
public SummaryInfo getSummaryInfo(java.lang.String handle)
handle - handle of summary
public FormulaInfo getFormulaInfo(java.lang.String handle)
handle - handle of formula
public boolean set(java.lang.String handle,
SummaryInfo info)
handle - the summary handleinfo - summary infomation
public boolean set(java.lang.String handle,
FormulaInfo info)
handle - the formula handleinfo - formula infomation
public java.lang.String parseFormulae()
public java.lang.String parseFormulae(java.lang.String dataSourceName)
dataSourceName - the data source name
public java.lang.String parseFormula(java.lang.String dataSourceName,
FormulaInfo info)
dataSourceName - the data source nameinfo - formula infomation
public boolean isNameExist(java.lang.String name)
name - resource entity name
public boolean isNameExist(java.lang.String dataSourceName,
java.lang.String name)
dataSourceName - the data source namename - resource entity name
public boolean delete(java.lang.String handle)
delete in class APIhandle - the handle of the object to be deleted
public java.lang.String[] getDBFields(java.lang.String qryName)
qryName - the query name
public java.lang.String[] getDBFields(java.lang.String dataSourceName,
java.lang.String qryName)
dataSourceName - the data source nameqryName - the query name
public java.lang.String[] getFormulae()
public java.lang.String[] getFormulae(java.lang.String dataSourceName)
dataSourceName - the data source name
public java.lang.String[] getSummaries()
public java.lang.String[] getSummaries(java.lang.String dataSourceName)
dataSourceName - the data source name
public java.lang.String[] getSQLs()
public java.lang.String[] getSQLs(java.lang.String dataSourceName)
dataSourceName - the data source name
public java.lang.String[] getSQLColumns(java.lang.String sqlname)
sqlname - file SQL name
public java.lang.String[] getSQLColumns(java.lang.String dataSourceName,
java.lang.String sqlname)
dataSourceName - the data source namesqlname - file SQL name
public java.lang.String[] getSQLColumnsMap(java.lang.String sqlname)
sqlname - file SQL name
public java.lang.String[] getSQLColumnsMap(java.lang.String dataSourceName,
java.lang.String sqlname)
dataSourceName - the data source namesqlname - file SQL name
public java.lang.String[] getUDSs()
public java.lang.String[] getUDSs(java.lang.String dataSourceName)
dataSourceName - the data source name
public java.lang.String[] getHDSs()
public java.lang.String[] getHDSs(java.lang.String dataSourceName)
dataSourceName - the data source name
public java.lang.String[] getUDSColumns(java.lang.String udsname)
udsname - UDS name
public java.lang.String[] getUDSColumns(java.lang.String dataSourceName,
java.lang.String udsname)
dataSourceName - the data source nameudsname - UDS name
public java.lang.String[] getUDSColumnsMap(java.lang.String udsname)
udsname - UDS name
public java.lang.String[] getUDSColumnsMap(java.lang.String dataSourceName,
java.lang.String udsname)
dataSourceName - the data source nameudsname - UDS name
public java.lang.String[] getProcedureNames()
public java.lang.String[] getProcedureNames(java.lang.String dataSourceName)
dataSourceName - the data source name
public java.lang.String[] getProcColumns(java.lang.String procedureName)
procedureName - procedure name
public java.lang.String[] getProcColumns(java.lang.String dataSourceName,
java.lang.String procedureName)
dataSourceName - the data source nameprocedureName - procedure name
public java.lang.String[] getProcColumnsMap(java.lang.String proceName)
proceName - procedure name
public java.lang.String[] getProcColumnsMap(java.lang.String dataSourceName,
java.lang.String proceName)
dataSourceName - the data source nameproceName - procedure name
public java.lang.String[] getParameter()
public java.lang.String[] getParameter(java.lang.String dataSourceName)
dataSourceName - the data source name
public java.lang.String[] getQueries()
public java.lang.String[] getQueries(java.lang.String dataSourceName)
dataSourceName - the data source name
public java.lang.String[] getTables()
public java.lang.String[] getTables(java.lang.String dataSourceName)
dataSourceName - the data source name
public java.lang.String[] getTableColumns(java.lang.String tablename)
tablename - the table name
public java.lang.String[] getTableColumns(java.lang.String tablename,
boolean isMapping)
tablename - the table nameisMapping - whether the tablename is mapping name or real name
public java.lang.String[] getTableColumns(java.lang.String dataSourceName,
java.lang.String tablename)
dataSourceName - the data source nametablename - the table name
public java.lang.String[] getTableColumns(java.lang.String dataSourceName,
java.lang.String tablename,
boolean isMapping)
dataSourceName - the data source nametablename - the table nameisMapping - whether the tablename is mapping name or real name
public java.lang.String[] getTableColumnsMap(java.lang.String tablename)
tablename - the table name
public java.lang.String[] getTableColumnsMap(java.lang.String tablename,
boolean isMapping)
tablename - the table nameisMapping - whether the tablename is mapping name or real name
public java.lang.String[] getTableColumnsMap(java.lang.String dataSourceName,
java.lang.String tablename)
dataSourceName - the data source nametablename - the table name
public java.lang.String[] getTableColumnsMap(java.lang.String dataSourceName,
java.lang.String tablename,
boolean isMapping)
dataSourceName - the data source nametablename - the table nameisMapping - the tablename is mapping name or real name.
public java.lang.String[] getSPFields(java.lang.String dataSourceName,
java.lang.String spName,
boolean isMapping)
dataSourceName - the data source namespName - the store procedure nameisMapping - the store procedure name (spName) is mapping name or real name.
public java.lang.String[] getSPFieldsMap(java.lang.String dataSourceName,
java.lang.String spName,
boolean isMapping)
dataSourceName - the data source namespName - the store procedure nameisMapping - the store procedure name (spName) is mapping name or real name.
public java.lang.String[] getTables(boolean bIncludeSystemTable)
public java.lang.String[] getTables(java.lang.String dataSourceName,
boolean bIncludeSystemTable)
dataSourceName - the data source name
public QueryTableInfo getColumns(java.lang.String queryName,
boolean allColumns)
queryName - the query nameallColumns - select all columns in selected tables
public QueryTableInfo getColumns(java.lang.String dataSourceName,
java.lang.String queryName,
boolean allColumns)
dataSourceName - the data source namequeryName - the query nameallColumns - select all columns in selected tables
public QueryTableInfo getMapColumns(java.lang.String queryName)
queryName - query name string
public QueryTableInfo getMapColumns(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - query name string
public java.lang.String[] getCompColumns(java.lang.String queryName)
queryName - the query name
public java.lang.String[] getCompColumns(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - the query name
public java.lang.String[] getCompColumnHandles(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - the query name
public java.lang.String[][] getJoins(java.lang.String queryName)
queryName - the query name
public java.lang.String[][] getJoins(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - the query name
public JoinInfo[] getJoinInfos(java.lang.String queryName)
queryName - the query name
public JoinInfo[] getJoinInfos(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - the query name
public java.lang.String[][] getQBEInfo(java.lang.String queryName)
queryName - the query name
public java.lang.String[][] getQBEInfo(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - the query name
public QBEInfo[] getQBEInfos(java.lang.String queryName)
queryName - query Name
public QBEInfo[] getQBEInfos(java.lang.String dataSourceName,
java.lang.String queryName)
queryName - query Name
public java.lang.String[] getSubQueries(java.lang.String queryName)
queryName - query Name
public java.lang.String[] getSubQueries(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - query Name
public java.lang.String[][] getAndConditions(java.lang.String queryName)
queryName - the query name
public java.lang.String[][] getAndConditions(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - the query name
public AndInfo[] getAndInfos(java.lang.String queryName)
queryName - query Name
public AndInfo[] getAndInfos(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - query Name
public java.lang.String[] getColumnMappingnames(java.lang.String queryName)
queryName - the query name
public java.lang.String[] getColumnMappingnames(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - the query name
public QueryTableInfo getColumnsCanBeGroupedBy(java.lang.String queryName)
queryName - the query name
public QueryTableInfo getColumnsCanBeGroupedBy(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - the query name
public java.lang.String[] getFormulaeForQuery(java.lang.String queryName)
queryName - the query name
public java.lang.String[] getFormulaeForQuery(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - the query name
public java.lang.String[] getSummariesForQuery(java.lang.String queryName)
queryName - the query name
public java.lang.String[] getSummariesForQuery(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - the query name
public java.lang.String[] getFormulaeCanBeGroupedBy(java.lang.String queryName)
queryName - the query name
public java.lang.String[] getFormulasCanBeGroupedBy(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source namequeryName - the query name
public java.lang.String[] getFormulaeCanBeGroupedBy(java.lang.String queryName,
java.lang.String groupBy)
queryName - the query namegroupBy - the groupBy field name
public java.lang.String[] getChartFunctions(java.lang.String queryName,
java.lang.String groupBy)
queryName - the query namegroupBy - the groupBy field name
public java.lang.String[] getChartFunctions(java.lang.String dataSourceName,
java.lang.String queryName,
java.lang.String groupBy)
dataSourceName - the data source namequeryName - the query namegroupBy - the groupBy field name
public java.lang.String[] getParameterCanBeGroupedBy()
public java.lang.String[] getParameterCanBeGroupedBy(java.lang.String dataSourceName)
dataSourceName - the data source name
public java.lang.String[] getSummaryCanBeSortedBy(java.lang.String queryName,
java.lang.String groupBy)
queryName - the query namegroupBy - the groupBy field name
public java.lang.String[] getSummaryCanBeSortedBy(java.lang.String dataSourceName,
java.lang.String queryName,
java.lang.String groupBy)
dataSourceName - the data source namequeryName - the query namegroupBy - the groupBy field name
public java.lang.String[] getMappingnames(java.lang.String DSName)
DSName - the data source object name, such as Query, SQL, UDS, Procedure
public java.lang.String[] getMappingnames(java.lang.String dataSourceName,
java.lang.String DSName)
dataSourceName - the data source nameDSName - the data source object name, such as Query, SQL, UDS, Procedure
public java.lang.String mapFunction(int function)
function - function typepublic boolean isModified()
public void setModified(boolean isModified)
isModified - modifying status of Catalogpublic java.lang.String getQuoteChar()
public java.lang.String getQuoteChar(java.lang.String dataSourceName)
dataSourceName - the data source name
public java.lang.String getHandle(java.lang.String resourceName,
int type)
resourceName - object mapping nametype - object type
public java.lang.String getHandle(java.lang.String dataSourceName,
java.lang.String resourceName,
int type)
dataSourceName - database nameresourceName - object mapping nametype - object type
public java.lang.String[] getFunctions(java.lang.String resourceName)
resourceName - field mapping name
public java.lang.String[] getFunctions(java.lang.String dataSourceName,
java.lang.String resourceName)
dataSourceName - the data source nameresourceName - field mapping name
public java.lang.String[] getFunctions(int iType)
iType - field SQL type
public void rename(java.lang.String resourceName,
java.lang.String newName,
int type)
resourceName - resource name(mapping name) of the objectnewName - new name of the objecttype - object type
public void rename(java.lang.String dataSourceName,
java.lang.String resourceName,
java.lang.String newName,
int type)
dataSourceName - the data source nameresourceName - resource name(mapping name) of the objectnewName - new name of the objecttype - object type
public ObjectInfo getObjectInfo(java.lang.String resourceName,
int type)
resourceName - mapping name of the entitytype - type of the entity
public ObjectInfo getObjectInfo(java.lang.String dataSourceName,
java.lang.String resourceName,
int type)
dataSourceName - the data source nameresourceName - mapping name of the entitytype - type of the entity
public ObjectInfo getObjectInfo(java.lang.String handle)
handle - handle of the entity
public int getSQLType(java.lang.String query,
java.lang.String colName)
query - query namecolName - column name
public int getSQLType(java.lang.String sourceName,
java.lang.String query,
java.lang.String colName)
sourceName - the data source namequery - query namecolName - column name
public java.lang.String getSQLString(java.lang.String queryName)
public java.lang.String getSQLString(java.lang.String dataSourceName,
java.lang.String queryName)
dataSourceName - the data source name
public java.lang.String[] getDataSources()
public java.lang.String getBLNodeQualifyName(java.lang.String handle)
handle - business logic handle
public java.lang.String[] getBLCategoryHandles(java.lang.String handle)
handle - business logic handle
public java.lang.String[] getBLHierarchyHandles(java.lang.String handle)
handle - business logic view handle
public java.lang.String[] getBLDetailHandles(java.lang.String handle)
handle - business logic handle
public java.lang.String[] getBLDimensionHandles(java.lang.String handle)
handle - business logic handle
public java.lang.String[] getBLMeasureHandles(java.lang.String handle)
handle - business logic handle
public java.lang.String[] getBLViewHandles(java.lang.String dataSourceName)
dataSourceName - database name
public java.lang.String[] getBLViewHandles(java.lang.String dataSourceName,
int queryType)
dataSourceName - database namequeryType - specified query type
public java.lang.String[] getBLViewNames(java.lang.String dataSourceName)
dataSourceName - database name
public java.lang.String[] getBLViewNames(java.lang.String dataSourceName,
int queryType)
dataSourceName - database namequeryType - specified query type
public java.lang.String[] getBusinessNodeNames(java.lang.String dataSourceName,
java.lang.String businessViewName)
dataSourceName - database namebusinessViewName - business view name
public java.lang.String insertBusinessView(java.lang.String dataSourceName,
java.lang.String queriableName,
java.lang.String businessViewName)
dataSourceName - database namequeriableName - queriable object namebusinessViewName - new business view name
public java.lang.String insertBLCategory(java.lang.String parentHandle,
BLCategoryInfo info)
throws DesignerErrorException
parentHandle - handle of parent objectinfo - Category information
DesignerErrorException
public java.lang.String insertBLDetail(java.lang.String parentHandle,
BLDetailInfo info)
throws DesignerErrorException
parentHandle - handle of parent objectinfo - detail information
DesignerErrorException
public java.lang.String insertBLMeasure(java.lang.String parentHandle,
BLMeasureInfo info)
throws DesignerErrorException
parentHandle - handle of parent objectinfo - measure information
DesignerErrorException
public java.lang.String insertBLDimension(java.lang.String parentHandle,
BLDimensionInfo info)
throws DesignerErrorException
parentHandle - handle of parent objectinfo - Dimension information
DesignerErrorException
public java.lang.String insertBLHierarchy(java.lang.String blViewHandle,
BLHierarchyInfo info)
throws DesignerErrorException
blViewHandle - handle of business logic viewinfo - Hierarchy information
DesignerErrorExceptionpublic boolean updateUDS(java.lang.String userDataSourceName)
userDataSourceName - Specified User Data Source Name
public boolean updateUDS(java.lang.String dataSourceName,
java.lang.String userDataSourceName)
dataSourceName - Specified Data Source NameuserDataSourceName - Specified User Data Source Name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||