public class MultipliedCatalogAPI extends CatalogAPI
Logi Report catalog and its objects are stored in a tree
structure. An instance of MultipliedCatalogAPI can
retrieve each object in the catalog by its handle. The handle
of the catalog object is named by its qualified and unique instance
name. Besides the handle, some catalog objects
also have resource names, such as query, table, table column,
and formula. And the resource name of table, field(formula,parameter)
also be called mapping name. The mapping name maps the real name of
a database object to Logi Report catalog's name.
The following are the objects that a Logi Report catalog can hold:
A MultipliedCatalogAPI instance can be generated by a
MultipliedDesigner instance.
Below is an example of the use of the MultipliedCatalogAPI.
MultipliedDesigner dr = null;
try
{
String path = %install root%/LogiReport/demo/reports/SampleReports/;
String catName = "SampleReports.cat";
DesignerUserInfo userInfo=new DesignerUserInfo("UID", "license key");
dr = new MultipliedDesigner(path, catName,Designer.CAT,userInfo);
MultipliedCatalogAPI cat = dr.getCatalogAPI();
}
catch(Exception e)
{
;
}
finally
{
dr.exit();
}
| Modifier and Type | Field and Description |
|---|---|
static int |
REPLACE |
static int |
SKIP |
ALIAS, AVERAGE, BINARY, BOOLEAN, BUSINESSLOGIC, BUSINESSLOGIC_CATEGORY, BUSINESSLOGIC_DETAILINFO, BUSINESSLOGIC_DIMENSION, BUSINESSLOGIC_HIERARCHY, BUSINESSLOGIC_HIERARCHYCONTAINER, BUSINESSLOGIC_MEASURE, BUSINESSVIEW, BUSINESSVIEW_AGGREGATION, BUSINESSVIEW_DETAIL, BUSINESSVIEW_GROUP, CATALOG, COLUMN, CONNECTION, COUNT, CURRENCY, DATABASE, DATE, DATETIME, DECIMAL, DISTINCTCOUNT, DISTINCTSUM, ENCODINGAUTO, ENCODINGNO, ENCODINGYES, EXTRA_NAME_JDBC, EXTRA_NAME_USERDEFINED, FILESQL, FORMULA, HDS, INTEGER, JDBC, JDBC_ODBC_BRIDGE, JSON_CONNECTION, MAXIMUM, MINIMUM, NUMBER, ONDEMAND_QUERY, PARAMETER, PARAMETERS, PATTERN_1PART_NAME, PATTERN_2PART_NAME, PATTERN_3PART_NAME, POPULATIONSTDDEV, POPULATIONVARIANCE, PROCEDURE, QUERY, READ_ONLY_DEFAULT, READ_ONLY_FALSE, READ_ONLY_TRUE, RUNNING_AVERAGE, RUNNING_COUNT, RUNNING_DISTINCTCOUNT, RUNNING_MAXIMUM, RUNNING_MINIMUM, RUNNING_SUM, STDDEV, STRING, SUM, SUMMARY, SYNONYM, TABLE, TIME, TRANSACTION_DEFAULT, TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE, UDS, UNIFIEDBUSINESSVIEW, VARIANCE, VIEW, WHEREPORTION, WSDLTYPE_LOCALEFILE, WSDLTYPE_URI, XML_CONNECTION, XML_MDCONTAINER| Constructor and Description |
|---|
MultipliedCatalogAPI(java.lang.String path,
java.lang.String name,
java.lang.String suffix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PsqlSelColumn |
addQueriableFieldEntity(RptPsqlQuery psqlQuery,
PsqlTable qrytbl,
JetUQueriableField uflde) |
java.lang.String |
compileBVFormulas(java.lang.String bvHandle)
Compiles all formulas in the specified BusinessView.
|
boolean |
createJoinPath(JetUJsonConnection jsonConnection) |
java.lang.String[] |
getBLCategoryHandles(java.lang.String handle,
java.lang.String uID)
Gets Business Logic Category handles with security checking in the specified Business Logic node.
|
java.lang.String[] |
getBLDetailHandles(java.lang.String handle,
java.lang.String uID)
Gets Business Logic Dimension Detail with security checking in the specified Business Logic node.
|
java.lang.String[] |
getBLDimensionHandles(java.lang.String handle)
Deprecated.
Replaced by
getBusinessViewGroupHandles(String) |
BLFilterInformation[] |
getBLFilterInfos(java.lang.String handle)
Gets predefined Business Logic (also named Business/Report Cube) filter's information.
|
java.lang.String[] |
getBLHierarchyHandles(java.lang.String handle)
Gets Business Logic (also named Business/Report Cube) Hierarchy handles in the specified Business Logic node.
|
java.lang.String[] |
getBLMeasureHandles(java.lang.String handle,
java.lang.String uID)
Gets Business Logic Measure handles in the specified Business Logic node.
|
BLNodeInformation |
getBLNodeInformation(java.lang.String handle)
Gets the Business Logic node's information.
|
BLNodeInformation[] |
getBLNodeInformations(java.lang.String handle,
java.lang.String uID)
Gets Business Logic node's information.
|
java.lang.String |
getBLNodeQualifyDisplayName(java.lang.String handle)
Gets BusinessLogic node's qualified display name.
|
java.lang.String |
getBLNodeQualifyName(java.lang.String handle)
Deprecated.
since Logi Report version 13.5.
|
java.lang.String[] |
getBLViewHandles(java.lang.String dataSourceName)
Deprecated.
Replaced by
getBusinessViewHandles(String). |
java.lang.String[] |
getBLViewHandles(java.lang.String dataSourceName,
int queryType)
Gets Business Logic (also named Business/Report Cube) handles by the specified query type in the specified data source.
|
java.lang.String[] |
getBLViewHandles(java.lang.String dataSourceName,
int queryType,
java.lang.String uID)
Gets Business Logic view handles by the specified query type in the specified data source.
|
java.lang.String[] |
getBLViewHandles(java.lang.String dataSourceName,
java.lang.String uID,
IBVPermissionFromUserAgent bvPermission4Server)
Gets Business Logic view handles in the specified data source.
|
java.lang.String[] |
getBLViewNames(java.lang.String dataSourceName)
Gets Business Logic (also named Business/Report Cube) names in the specified data source.
|
java.lang.String[] |
getBLViewNames(java.lang.String dataSourceName,
int queryType)
Gets Business Logic (also named Business/Report Cube) names in the specified data source.
|
java.lang.String[] |
getBLViewNames(java.lang.String dataSourceName,
int queryType,
java.lang.String uID)
Deprecated.
|
java.lang.String[] |
getBLViewNames(java.lang.String dataSourceName,
java.lang.String uID,
IBVPermissionFromUserAgent bvPermission4Server)
Gets Business View names in the specified data source.
|
java.lang.String |
getBusinessLogicHandle(java.lang.String dataSourceName,
java.lang.String queryName,
boolean isBusinessView,
java.lang.String uID)
Deprecated.
|
java.lang.String[] |
getBusinessNodeNames(java.lang.String dataSourceName,
java.lang.String businessViewName)
Gets business node names of the specified Business Logic (also named Business/Report Cube) in the specified data source.
|
java.lang.String[] |
getBusinessNodeNames(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String uID,
IBVPermissionFromUserAgent bvPermission4Server)
Gets business node names in the specified data source.
|
java.lang.String[] |
getBusinessViewAggregationHandles(java.lang.String handle)
Gets Business View Aggregation handles in the specified Business Logic node.
|
BVAggregationInfo |
getBusinessViewAggregationInfo(java.lang.String aggHandle)
Gets the Aggregation information.
|
BVAggregationInfo |
getBusinessViewAggregationInfo(java.lang.String dataSourceName,
java.lang.String bvName,
java.lang.String aggregationQualifyDisplayName)
Gets the Aggregation information.
|
BLCategoryInfo |
getBusinessViewCategoryInfo(java.lang.String dataSourceName,
java.lang.String bvName,
java.lang.String categoryQualifyDisplayName)
Gets the Category information.
|
java.lang.String[] |
getBusinessViewDetailHandles(java.lang.String handle)
Gets Business View detail handles in the specified Business Logic node.
|
BVDetailInfo |
getBusinessViewDetailInfo(java.lang.String dataSourceName,
java.lang.String bvName,
java.lang.String detailQualifyDisplayName)
Gets the Detail information.
|
java.lang.String[] |
getBusinessViewGroupHandles(java.lang.String handle)
Gets Business View Group handles in the specified Business Logic node.
|
BVGroupInfo |
getBusinessViewGroupInfo(java.lang.String dataSourceName,
java.lang.String bvName,
java.lang.String groupQualifyDisplayName)
Gets the Group information.
|
java.lang.String[] |
getBusinessViewHandles(java.lang.String dataSourceName)
Gets Business View handles in the specified data source.
|
java.lang.String[] |
getBusinessViewHandles(java.lang.String dataSourceName,
int queryType)
Deprecated.
|
java.lang.String[] |
getBusinessViewHandles(java.lang.String dataSourceName,
java.lang.String uID,
IBVPermissionFromUserAgent bvPermission4Server)
Gets Business Logic view handles in the specified data source.
|
java.lang.String[] |
getBusinessViewNames(java.lang.String dataSourceName)
Gets Business View names in the specified data source.
|
java.lang.String[] |
getBusinessViewNames(java.lang.String dataSourceName,
int queryType)
Deprecated.
|
java.lang.String[] |
getBusinesViewCategoryHandles(java.lang.String handle)
Gets Business View category handles in the specified Business Logic node.
|
java.lang.String |
getHandle(java.lang.String resourceName,
int type)
Gets the handle of an object according to the object's resource name and object type,
which can identify the object in the catalog.
|
java.lang.String |
getHandle(java.lang.String dataSourceName,
java.lang.String resourceName,
int type)
Gets the handle of an object according to the object's resource name and object type
in the specified data source in Logi Report catalog, which can identify the object
in the catalog.
|
ObjectInfo |
getObjectInfo(java.lang.String handle)
Gets resource entity's information of an object in the catalog.
|
ObjectInfo |
getObjectInfo(java.lang.String resourceName,
int type)
Gets resource entity's information of an object in catalog.
|
ObjectInfo |
getObjectInfo(java.lang.String dataSourceName,
java.lang.String resourceName,
int type)
Gets resource entity's information of an object in the catalog.
|
java.lang.String[] |
getPredifinedFilterHandles(java.lang.String handle)
Gets the predefined Business Logic filters' handle of the specified Business Logic (also named Business/Report Cube/Business View) .
|
ExpressionNode |
getQueryTableFilter(java.lang.String dataSourceName,
java.lang.String queryName,
java.lang.String tableName)
Gets a filter object's information of the specified query's table object.
|
java.lang.String |
getUBusinessViewQueryName(java.lang.String ubvHandle)
Gets the BusinessView's query resource name(mapping name).
|
java.lang.String |
insertBLCategory(java.lang.String parentHandle,
BLCategoryInfo info)
Deprecated.
|
java.lang.String |
insertBLDetail(java.lang.String parentHandle,
BLDetailInfo info)
Deprecated.
Replaced by
insertBusinessViewDetail(String, BVDetailInfo) |
java.lang.String |
insertBLDimension(java.lang.String parentHandle,
BLDimensionInfo info)
Deprecated.
Replaced by
insertBusinessViewGroup(String, BVGroupInfo) |
java.lang.String |
insertBLHierarchy(java.lang.String blViewHandle,
BLHierarchyInfo info)
Inserts a Business Logic (also named Business/Report Cube) Hierarchy object into the specified object.
|
java.lang.String |
insertBLMeasure(java.lang.String parentHandle,
BLMeasureInfo info)
Deprecated.
|
java.lang.String |
insertBusinessView(java.lang.String dataSourceName,
java.lang.String businessViewName)
Inserts a Business View without any elements.
|
java.lang.String |
insertBusinessView(java.lang.String dataSourceName,
java.lang.String queriableName,
java.lang.String businessViewName)
Inserts a Business View with the specified queriable object.
|
java.lang.String |
insertBusinessView(java.lang.String dataSourceName,
java.lang.String queriableName,
java.lang.String businessViewName,
boolean isLogicView)
Inserts a Business View with the specified queriable object.
|
java.lang.String |
insertBusinessViewAggregation(java.lang.String parentHandle,
BVAggregationInfo info)
Inserts a Business View Aggregation object into the specified object.
|
java.lang.String |
insertBusinessViewAggregation(java.lang.String parentHandle,
BVAggregationInfo info,
boolean isRawExpression)
Inserts a Business View Aggregation object into the specified object.
|
java.lang.String |
insertBusinessViewCategory(java.lang.String parentHandle,
BLCategoryInfo info)
Deprecated.
Inserts a Business View Category object into the specified object.
Categories are the main tools for organizing data. They are components which correspond to particular collections of data in the data source. They are grouped in folders that are named to reflect information collections. A category can contain several subcategories. Organizing data required by a user into multiple categories or multiple levels of categories is meaningful, and makes it easy to use. End users can use categories to find data elements they need to use without knowing the underlying table names although sometimes the table names are used as categories. |
java.lang.String |
insertBusinessViewCategory(java.lang.String parentHandle,
BusinessViewCategoryInfo info)
Inserts a Business View Category object into the specified object.
|
java.lang.String |
insertBusinessViewDetail(java.lang.String parentHandle,
BVDetailInfo info)
Inserts a Business View Detail object into the specified container object.
|
boolean |
insertBusinessViewField(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String fieldName)
Inserts a Field object into the specified BusinessView object.
|
java.lang.String |
insertBusinessViewGroup(java.lang.String parentHandle,
BVGroupInfo info)
Inserts a Business View Group object into the specified object.
|
boolean |
insertBusinessViewQuery(java.lang.String bvHandle,
java.lang.String queryName)
Inserts a Query object into the specified BusinessView object.
|
boolean |
insertBusinessViewQuery(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String queryName)
Inserts a Query object into the specified BusinessView object.
|
boolean |
insertBusinessViewSQL(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String importSQLName)
Inserts a ImportSQL object into the specified BusinessView object.
|
boolean |
insertBusinessViewStoredProcedure(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String storedProcedureName)
Inserts a StoredProcedure object into the specified BusinessView object.
|
boolean |
insertBusinessViewTable(java.lang.String parentHandle,
java.lang.String tableName)
Inserts a Table object into the specified BusinessView object.
|
boolean |
insertBusinessViewTable(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String tableName)
Inserts a Table object into the specified BusinessView object.
|
boolean |
insertBusinessViewUDS(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String UDSName)
Inserts a UDS object into the specified BusinessView object.
|
java.lang.String |
insertJSONConnection(java.lang.String dataSourceName,
java.lang.String connectionName,
java.lang.String desc,
JSONSchemaURIInfo jsonSchemaURIInfo,
JSONInstanceURIInfo jsonInstURIInfo,
boolean withAllTables)
Inserts a Logi Report JSON-based connection object into the specified data source.
|
java.lang.String |
insertPredefinedBLFilterInfo(java.lang.String blHandle,
BLFilterInformation filterInfo)
Adds predefined Business Logic filter into the specified Business Logic (also named Business/Report Cube/Business View) .
|
void |
rename(java.lang.String resourceName,
java.lang.String newName,
int type)
Renames the specified object.
|
void |
rename(java.lang.String dataSourceName,
java.lang.String resourceName,
java.lang.String newName,
int type)
Renames the resource name of the specified object.
|
boolean |
save()
Saves an open catalog.
|
boolean |
saveAs(java.lang.String path,
java.lang.String name)
Saves an open catalog as a new catalog file.
|
boolean |
setBusinessViewAggregationInfo(java.lang.String aggHandle,
BVAggregationInfo aggInfo)
Sets the information of Aggregation.
|
boolean |
setBusinessViewAggregationInfo(java.lang.String aggHandle,
BVAggregationInfo aggInfo,
boolean isRawExpression)
Sets the information of Aggregation.
|
boolean |
setQueryTableFilter(java.lang.String dataSourceName,
java.lang.String queryName,
java.lang.String tableName,
ExpressionNode expressionNode)
Sets a filter object of the specified query's table object.
|
boolean |
updateBVByImportSQL(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String importSQLName)
Updates an exist Business View with the specified ImportSQL object.
|
boolean |
updateBVByQuery(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String queryName)
Updates an exist Business View with the specified query object.
|
boolean |
updateBVByStoredProcedure(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String storedProcedureName)
Updates an exist Business View with the specified Stored Procedure object.
|
boolean |
updateBVByTable(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String tableName)
Updates an exist Business View with the specified table object.
|
boolean |
updateBVByUDS(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String UDSName)
Updates an exist Business View with the specified UDS object.
|
boolean |
updateJSONConnection(java.lang.String dataSourceName,
java.lang.String connectionName,
JSONSchemaURIInfo jsonSchemaURIInfo,
JSONInstanceURIInfo jsonInstURIInfo,
java.lang.StringBuffer updateLog)
Updates a Logi Report JSON-based connection object into the specified data source.
|
java.lang.String |
updateSQLFile(java.lang.String dataSourceName,
java.lang.String connectionName,
java.lang.String SQLName,
java.lang.String filename)
Updates an imported query of a Connection of the data source.
|
checkParam, create, delete, delete, delete, delete, delete, delete, delete, delete, delete, deleteCompCol, deleteCompCol, deleteCondition, deleteQBE, deleteQuery, deleteQuery, deleteQueryField, deleteQueryTable, deleteUnionQuery, getAndConditions, getAndConditions, getAndInfos, getAndInfos, getBLCategoryHandles, getBLDetailHandles, getBLFilterInfo, getBLMeasureHandles, getChartFunctions, getChartFunctions, getColumnMappingnames, getColumnMappingnames, getColumns, getColumns, getColumnsCanBeGroupedBy, getColumnsCanBeGroupedBy, getCompColumnHandles, getCompColumns, getCompColumns, getConnectionInfo, getConnectionInfo, getConnectionInfo, getDataSources, getDBFields, getDBFields, getDefaultConnectionName, getDefaultDataSourceName, getForeignKeys, getForeignKeys, getForeignKeys, getFormulae, getFormulae, getFormulaeCanBeGroupedBy, getFormulaeCanBeGroupedBy, getFormulaeForQuery, getFormulaeForQuery, getFormulaInfo, getFormulasCanBeGroupedBy, getFunctions, getFunctions, getFunctions, getHDSs, getHDSs, getImportedSQLString, getJoinInfos, getJoinInfos, getJoinInfos, getJoins, getJoins, getMapColumns, getMapColumns, getMappingname, getMappingnames, getMappingnames, getNewFormulaName, getNewFormulaName, getNewQueryName, getNewQueryName, getNewReportName, getParameter, getParameter, getParameterCanBeGroupedBy, getParameterCanBeGroupedBy, getParameterInfo, getPrimaryKeys, getPrimaryKeys, getPrimaryKeys, getProcColumns, getProcColumns, getProcColumnsMap, getProcColumnsMap, getProcedureNames, getProcedureNames, getQBEInfo, getQBEInfo, getQBEInfos, getQBEInfos, getQueries, getQueries, getQuoteChar, getQuoteChar, getQuoteChar, getSPFields, getSPFieldsMap, getSQLColumns, getSQLColumns, getSQLColumnsMap, getSQLColumnsMap, getSQLs, getSQLs, getSQLString, getSQLString, getSQLType, getSQLType, getSubQueries, getSubQueries, getSummaries, getSummaries, getSummariesForQuery, getSummariesForQuery, getSummaryCanBeSortedBy, getSummaryCanBeSortedBy, getSummaryInfo, getTableColumns, getTableColumns, getTableColumns, getTableColumns, getTableColumns, getTableColumnsMap, getTableColumnsMap, getTableColumnsMap, getTableColumnsMap, getTableColumnsMap, getTableColumnsMap, getTables, getTables, getTables, getTables, getTables, getTables, getUDSColumns, getUDSColumns, getUDSColumnsMap, getUDSColumnsMap, getUDSs, getUDSs, getUnionableQueries, getUnionableQueries, getUnionInfos, getUnionInfos, getUnionQueries, getUnionQueries, getUnionQueries, getUnionQueries, getUserID, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insertClassHDS, insertCompCol, insertCompCol, insertSql, insertSql, insertStoredProcedure, insertTable, insertWSDLConnection, insertXMLHDS, isDistinctQuery, isModified, isNameExist, isNameExist, mapFunction, parseFormula, parseFormulae, parseFormulae, refreshReference, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setCompCol, setCompCol, setCondition, setDefaultConnection, setDefaultDataSource, setDistinctQuery, setJoin, setModified, setQBE, setQueryField, setQueryTable, setQueryTable, setQueryTable, updateSQLFile, updateSQLFile, updateUDS, updateUDSclearError, clearMsg, clearWarning, closeLog, containPropName, getBool, getChildren, getColor, getDouble, getError, getFloat, getHandles, getHandles, getHandles, getHandles, getInstanceName, getInt, getLong, getParent, getPoint, getPropNames, getPropType, getQualifyName, getString, getStringArray, getUnit, getWarning, set, set, set, set, set, set, setLog, setLog, setLog, setPoint, setReference, setUnit, writeLog, writeLogpublic static final int REPLACE
public static final int SKIP
public MultipliedCatalogAPI(java.lang.String path,
java.lang.String name,
java.lang.String suffix)
throws jet.jetc.ReadFailureException,
jet.universe.exception.UniverseFileException
path - The catalog file's path. It is the full path of the file.name - The catalog file's name.suffix - The suffix of the catalog file's name.jet.jetc.ReadFailureExceptionjet.universe.exception.UniverseFileExceptionpublic boolean save()
throws jet.jetc.WriteFailureException,
jet.universe.exception.FMLFileException
save in class CatalogAPItrue if the catalog object is saved successfully;
false otherwise.jet.jetc.WriteFailureException - if the catalog fails to save
the catalog file.jet.universe.exception.FMLFileException - if the catalog fails to compile
the java class of the formula in the catalog.public boolean saveAs(java.lang.String path,
java.lang.String name)
saveAs in class CatalogAPIpath - The file path of the new catalog file. It is the full path of the file.name - The file name of the new catalog file.true if the catalog file is saved successfully;
false otherwise.public java.lang.String getHandle(java.lang.String resourceName,
int type)
getHandle in class CatalogAPIresourceName - Indicates the resource name of the object in the catalog.type - indicates the type of the object by constant object type value.
The MultipliedCatalogAPI class provides a number of convenient constants
that you can use to specify catalog objects. For example,
CatalogAPI.CONNECTIONCatalogAPI.TABLECatalogAPI.VIEWCatalogAPI.QUERYCatalogAPI.PROCEDURECatalogAPI.FILESQLCatalogAPI.UDSCatalogAPI.FORMULACatalogAPI.SUMMARYCatalogAPI.PARAMETERCatalogAPI.WHEREPORTIONCatalogAPI.UNIFIEDBUSINESSVIEWCatalogAPI.BUSINESSLOGIC_CATEGORYCatalogAPI.BUSINESSLOGIC_DIMENSIONCatalogAPI.BUSINESSLOGIC_MEASURECatalogAPI.BUSINESSLOGIC_FILTERCatalogAPI.BUSINESSLOGIC_DETAILINFOCatalogAPI.BUSINESSLOGIC_HIERARCHYCatalogAPI.BUSINESSLOGIC_HIERARCHYCONTAINER#ONDEMAND_QUERCatalogAPI.XML_CONNECTIONCatalogAPI.UNIFIEDBUSINESSVIEWCatalogAPI.BUSINESSVIEW_GROUPCatalogAPI.BUSINESSVIEW_AGGREGATIONCatalogAPI.BUSINESSVIEW_DETAIL
getHandle(String, String, int)public java.lang.String getHandle(java.lang.String dataSourceName,
java.lang.String resourceName,
int type)
getHandle in class CatalogAPIdataSourceName - Indicates the resource name of the data source to get
the object's handle. If it is null or "", it means it is the default data source
in the catalog.resourceName - Indicates the resource name of the object in the specified
data source.type - Indicates the type of the object by constant object type value.
The MultipliedCatalogAPI class provides a number of convenient constants
that you can use to specify catalog objects. For example,
CatalogAPI.CONNECTIONCatalogAPI.TABLECatalogAPI.VIEWCatalogAPI.QUERYCatalogAPI.PROCEDURECatalogAPI.FILESQLCatalogAPI.UDSCatalogAPI.FORMULACatalogAPI.SUMMARYCatalogAPI.PARAMETERCatalogAPI.WHEREPORTIONCatalogAPI.BUSINESSLOGIC- The businesslogic of Logi Report also named Business/Report Cube.CatalogAPI.BUSINESSLOGIC_CATEGORYCatalogAPI.BUSINESSLOGIC_DIMENSIONCatalogAPI.BUSINESSLOGIC_MEASURECatalogAPI.BUSINESSLOGIC_FILTERCatalogAPI.BUSINESSLOGIC_DETAILINFOCatalogAPI.BUSINESSLOGIC_HIERARCHYCatalogAPI.BUSINESSLOGIC_HIERARCHYCONTAINER#ONDEMAND_QUER- #XML_CONNECTION
- {@link #BUSINESSVIEW_GROUP}
- {@link #BUSINESSVIEW_AGGREGATION}
- {@link #BUSINESSVIEW_DETAIL}
null if there is no matching object, otherwise returns a String specifying
the handle of the object.public void rename(java.lang.String resourceName,
java.lang.String newName,
int type)
rename in class CatalogAPIresourceName - Resource name(mapping name) of the object.newName - New resource name of the object.type - Indicates the type of the object by constant object type value.
The MultipliedCatalogAPI class provides a number of convenient constants
that you can use to specify catalog objects. For example,
CatalogAPI.CONNECTIONCatalogAPI.TABLECatalogAPI.VIEWCatalogAPI.QUERYCatalogAPI.PROCEDURECatalogAPI.FILESQLCatalogAPI.UDSCatalogAPI.FORMULACatalogAPI.SUMMARYCatalogAPI.PARAMETERCatalogAPI.WHEREPORTION#ONDEMAND_QUER- {@link #XML_CONNECTION
public void rename(java.lang.String dataSourceName,
java.lang.String resourceName,
java.lang.String newName,
int type)
rename in class CatalogAPIdataSourceName - Indicates the resource name of the data source in the catalog.resourceName - Resource name(mapping name) of the object.newName - New resource name of the object.type - Indicates the type of the object by constant object type value.
The MultipliedCatalogAPI class provides a number of convenient constants
that you can use to specify catalog objects. For example,
CatalogAPI.CONNECTIONCatalogAPI.TABLECatalogAPI.VIEWCatalogAPI.QUERYCatalogAPI.PROCEDURECatalogAPI.FILESQLCatalogAPI.UDSCatalogAPI.FORMULACatalogAPI.SUMMARYCatalogAPI.PARAMETERCatalogAPI.WHEREPORTION#ONDEMAND_QUER- {@link #XML_CONNECTION
public ObjectInfo getObjectInfo(java.lang.String resourceName, int type)
getObjectInfo in class CatalogAPIresourceName - resource name of the entity.type - Indicates the type of the object by constant object type value.
The MultipliedCatalogAPI class provides a number of convenient constants
that you can use to specify catalog objects. For example,
CatalogAPI.CONNECTIONCatalogAPI.TABLECatalogAPI.VIEWCatalogAPI.QUERYCatalogAPI.PROCEDURECatalogAPI.FILESQLCatalogAPI.UDSCatalogAPI.FORMULACatalogAPI.SUMMARYCatalogAPI.PARAMETERCatalogAPI.WHEREPORTIONCatalogAPI.BUSINESSLOGIC- The businesslogic of Logi Report also named Business/Report Cube.#ONDEMAND_QUER- {@link #XML_CONNECTION
public ObjectInfo getObjectInfo(java.lang.String dataSourceName, java.lang.String resourceName, int type)
getObjectInfo in class CatalogAPIdataSourceName - Indicates the resource name of the data source in the catalog.resourceName - resource name of the entity.type - Indicates the type of the object by constant object type value.
The MultipliedCatalogAPI class provides a number of convenient constants
that you can use to specify catalog objects. For example,
CatalogAPI.CONNECTIONCatalogAPI.TABLECatalogAPI.VIEWCatalogAPI.QUERYCatalogAPI.PROCEDURECatalogAPI.FILESQLCatalogAPI.UDSCatalogAPI.FORMULACatalogAPI.SUMMARYCatalogAPI.PARAMETERCatalogAPI.WHEREPORTIONCatalogAPI.BUSINESSLOGIC- The businesslogic of Logi Report also named Business/Report Cube.CatalogAPI.BUSINESSLOGIC_CATEGORYCatalogAPI.BUSINESSLOGIC_DIMENSIONCatalogAPI.BUSINESSLOGIC_MEASURECatalogAPI.BUSINESSLOGIC_FILTERCatalogAPI.BUSINESSLOGIC_DETAILINFOCatalogAPI.BUSINESSLOGIC_HIERARCHYCatalogAPI.BUSINESSLOGIC_HIERARCHYCONTAINER#ONDEMAND_QUER- #XML_CONNECTION
- {@link #BUSINESSVIEW_GROUP}
- {@link #BUSINESSVIEW_AGGREGATION}
- {@link #BUSINESSVIEW_DETAIL}
public ObjectInfo getObjectInfo(java.lang.String handle)
getObjectInfo in class CatalogAPIhandle - The handle of the resource entity.public java.lang.String getBLNodeQualifyDisplayName(java.lang.String handle)
handle - The handle of the Business Logic object.public boolean updateBVByQuery(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String queryName)
dataSourceName - Indicates the resource name of the data source in the catalog.queryName - Query object's resource name.businessViewName - the Business View name.public boolean updateBVByImportSQL(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String importSQLName)
dataSourceName - Indicates the resource name of the data source in the catalog.importSQLName - importSQLName object's resource name.businessViewName - the Business View name.public boolean updateBVByStoredProcedure(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String storedProcedureName)
dataSourceName - Indicates the resource name of the data source in the catalog.storedProcedureName - Stored Procedure object's resource name.businessViewName - the Business View name.public boolean updateBVByTable(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String tableName)
dataSourceName - Indicates the resource name of the data source in the catalog.tableName - table's resource name.businessViewName - the Business View name.public boolean updateBVByUDS(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String UDSName)
dataSourceName - Indicates the resource name of the data source in the catalog.UDSName - UDS object's resource name.businessViewName - the Business View name.public boolean insertBusinessViewField(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String fieldName)
throws DesignerErrorException
dataSourceName - Indicates the resource name of the data source in the catalogbusinessViewName - the Business View name.fieldName - The field's mapping nameDesignerErrorExceptionpublic boolean insertBusinessViewQuery(java.lang.String bvHandle,
java.lang.String queryName)
throws DesignerErrorException
bvHandle - The handle of the parent container object. The parent should be a Business View root object.queryName - The query's mapping nameDesignerErrorExceptionpublic boolean insertBusinessViewQuery(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String queryName)
throws DesignerErrorException
dataSourceName - Indicates the resource name of the data source in the catalog.queryName - Query object's resource name.businessViewName - the Business View name.DesignerErrorExceptionpublic boolean insertBusinessViewSQL(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String importSQLName)
throws DesignerErrorException
dataSourceName - Indicates the resource name of the data source in the catalog.importSQLName - ImportSQL object's resource name.businessViewName - the Business View name.DesignerErrorExceptionpublic boolean insertBusinessViewStoredProcedure(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String storedProcedureName)
throws DesignerErrorException
dataSourceName - Indicates the resource name of the data source in the catalog.storedProcedureName - StoredProcedure object's resource name.businessViewName - the Business View name.DesignerErrorExceptionpublic boolean insertBusinessViewUDS(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String UDSName)
throws DesignerErrorException
dataSourceName - Indicates the resource name of the data source in the catalog.UDSName - UDS object's resource name.businessViewName - the Business View name.DesignerErrorExceptionpublic boolean setQueryTableFilter(java.lang.String dataSourceName,
java.lang.String queryName,
java.lang.String tableName,
ExpressionNode expressionNode)
throws DesignerErrorException
dataSourceName - Indicates the resource name of the data source in the catalog.queryName - The query's mapping nametableName - The query table's mapping nameexpressionNode - The filter informationDesignerErrorExceptionpublic ExpressionNode getQueryTableFilter(java.lang.String dataSourceName, java.lang.String queryName, java.lang.String tableName) throws DesignerErrorException
dataSourceName - Indicates the resource name of the data source in the catalog.queryName - The query's mapping nametableName - The query table's mapping nameDesignerErrorExceptionpublic BVAggregationInfo getBusinessViewAggregationInfo(java.lang.String aggHandle)
aggHandle - the handle of the Aggregation.public boolean setBusinessViewAggregationInfo(java.lang.String aggHandle,
BVAggregationInfo aggInfo)
throws DesignerErrorException
aggHandle - the handle of the Aggregation.aggInfo - the new information of Aggregation.true if it changes the Aggregation's definition successfully; otherwise return false.DesignerErrorExceptionpublic boolean setBusinessViewAggregationInfo(java.lang.String aggHandle,
BVAggregationInfo aggInfo,
boolean isRawExpression)
throws DesignerErrorException
aggHandle - the handle of the Aggregation.aggInfo - the new information of Aggregation.isRawExpression - Creates an incompiled customized measure or not. If it is false, the customized expression will be compiled and a javac thread will be started.true if it changes the Aggregation's definition successfully; otherwise return false.DesignerErrorExceptioncompileBVFormulas(String)public java.lang.String compileBVFormulas(java.lang.String bvHandle)
throws DesignerErrorException
bvHandle - the handle of the BusinessView.null if it compiles all formulas successfully; otherwise returns the error message.DesignerErrorExceptionpublic BVAggregationInfo getBusinessViewAggregationInfo(java.lang.String dataSourceName, java.lang.String bvName, java.lang.String aggregationQualifyDisplayName)
dataSourceName - Indicates the resource name of the data source in the catalog.bvName - The BusinessView's qualified display name.bvName - The aggregation's qualified display name.public BVGroupInfo getBusinessViewGroupInfo(java.lang.String dataSourceName, java.lang.String bvName, java.lang.String groupQualifyDisplayName)
dataSourceName - Indicates the resource name of the data source in the catalog.bvName - The BusinessView's qualified display name.bvName - The group's qualified display name.public BVDetailInfo getBusinessViewDetailInfo(java.lang.String dataSourceName, java.lang.String bvName, java.lang.String detailQualifyDisplayName)
dataSourceName - Indicates the resource name of the data source in the catalog.bvName - The BusinessView's qualified display name.bvName - The Detail's qualified display name.public BLCategoryInfo getBusinessViewCategoryInfo(java.lang.String dataSourceName, java.lang.String bvName, java.lang.String categoryQualifyDisplayName)
dataSourceName - Indicates the resource name of the data source in the catalog.bvName - The BusinessView's qualified display name.bvName - The Category's qualified display name.public java.lang.String insertPredefinedBLFilterInfo(java.lang.String blHandle,
BLFilterInformation filterInfo)
throws DesignerErrorException
insertPredefinedBLFilterInfo in class CatalogAPIhandle - the Business Logic handle.filterInfo - the definition of the Business Logic filterDesignerErrorExceptionpublic java.lang.String[] getPredifinedFilterHandles(java.lang.String handle)
getPredifinedFilterHandles in class CatalogAPIhandle - the Business Logic handle.public java.lang.String getBLNodeQualifyName(java.lang.String handle)
getBLNodeQualifyName in class CatalogAPIhandle - The handle of the Business Logic object.public java.lang.String[] getBusinesViewCategoryHandles(java.lang.String handle)
getBusinesViewCategoryHandles in class CatalogAPIhandle - The handle of the Business View object.public java.lang.String[] getBLHierarchyHandles(java.lang.String handle)
getBLHierarchyHandles in class CatalogAPIhandle - Handle of the Business Logic.public java.lang.String[] getBusinessViewDetailHandles(java.lang.String handle)
getBusinessViewDetailHandles in class CatalogAPIhandle - Business View node handle.public java.lang.String[] getBLDimensionHandles(java.lang.String handle)
getBusinessViewGroupHandles(String)getBLDimensionHandles in class CatalogAPIhandle - The handle of the Business Logic object.public java.lang.String[] getBusinessViewGroupHandles(java.lang.String handle)
getBusinessViewGroupHandles in class CatalogAPIhandle - The handle of the Business View object.public java.lang.String[] getBusinessViewAggregationHandles(java.lang.String handle)
getBusinessViewAggregationHandles in class CatalogAPIhandle - The handle of the Business View object.public java.lang.String[] getBLViewHandles(java.lang.String dataSourceName)
getBusinessViewHandles(String).getBLViewHandles in class CatalogAPIdataSourceName - Indicates the resource name of the data source in the catalog.public java.lang.String[] getBusinessViewHandles(java.lang.String dataSourceName)
getBusinessViewHandles in class CatalogAPIdataSourceName - Indicates the resource name of the data source in the catalog.public java.lang.String[] getBLViewHandles(java.lang.String dataSourceName,
int queryType)
getBLViewHandles in class CatalogAPIdataSourceName - Indicates the resource name of the data source in the catalog.queryType - Indicates the int value of the query type. The query type is:
public java.lang.String[] getBusinessViewHandles(java.lang.String dataSourceName,
int queryType)
getBusinessViewHandles in class CatalogAPIdataSourceName - Indicates the resource name of the data source in the catalog.queryType - Indicates the int value of the query type. The query type is:
public java.lang.String[] getBLViewNames(java.lang.String dataSourceName)
getBLViewNames in class CatalogAPIdataSourceName - Indicates the resource name of the data source in the catalog.public java.lang.String[] getBusinessViewNames(java.lang.String dataSourceName)
getBusinessViewNames in class CatalogAPIdataSourceName - Indicates the resource name of the data source in the catalog.public java.lang.String[] getBLViewNames(java.lang.String dataSourceName,
int queryType)
getBLViewNames in class CatalogAPIdataSourceName - Indicates the resource name of the data source in the catalog.queryType - Indicates the int value of the query type. The query type is:
public java.lang.String[] getBusinessViewNames(java.lang.String dataSourceName,
int queryType)
getBusinessViewNames in class CatalogAPIdataSourceName - Indicates the resource name of the data source in the catalog.queryType - Indicates the int value of the query type. The query type is:
public java.lang.String[] getBusinessNodeNames(java.lang.String dataSourceName,
java.lang.String businessViewName)
getBusinessNodeNames in class CatalogAPIdataSourceName - Indicates the resource name of the data source in the catalog.businessViewName - Indicates the BusinessView's qualified display name.public java.lang.String insertBusinessView(java.lang.String dataSourceName,
java.lang.String queriableName,
java.lang.String businessViewName)
In this method, if queriableName is a valid name of an existing queriable object, it will create a Business View with the specified query; if it is null or does not exist,
an empty Business View will be created automatically.
insertBusinessView in class CatalogAPIdataSourceName - Indicates the resource name of the data source in the catalog.queriableName - The queriable object's resource name.
The queriable object in Logi Report catalog could be a Query, UDS, Stored Procedure or Imported SQL.businessViewName - The new Business Logic name.public java.lang.String insertBusinessView(java.lang.String dataSourceName,
java.lang.String queriableName,
java.lang.String businessViewName,
boolean isLogicView)
insertBusinessView in class CatalogAPIdataSourceName - Indicates the resource name of the data source in the catalog.queriableName - Queriable object name.businessViewName - New Business View name.isLogicView - Indicates whether to insert a Business Logic or a Business View in older Logi Report catalog, now it is useless any more.
If it is true, a Business Logic will be created, otherwise, a Business View will be created.public PsqlSelColumn addQueriableFieldEntity(RptPsqlQuery psqlQuery,
PsqlTable qrytbl,
JetUQueriableField uflde)
public java.lang.String insertBusinessView(java.lang.String dataSourceName,
java.lang.String businessViewName)
throws DesignerErrorException
dataSourceName - Indicates the resource name of the data source in the catalog.businessViewName - New Business View name.DesignerErrorExceptionpublic java.lang.String insertBLCategory(java.lang.String parentHandle,
BLCategoryInfo info)
throws DesignerErrorException
Business cube or Report cube.
Categories are the main tools for organizing data. They are components which correspond to particular collections of data in the data source. They are grouped in folders that are named to reflect information collections. A category can contain several subcategories.
Organizing data required by a user into multiple categories or multiple levels of categories is meaningful, and makes it easy to use. End users can use categories to find data elements they need to use without knowing the underlying table names although sometimes the table names are used as categories.
insertBLCategory in class CatalogAPIparentHandle - Handle of parent object.info - The definition class of Category information. The info can contain its children's
definition information.DesignerErrorExceptionpublic java.lang.String insertBusinessViewCategory(java.lang.String parentHandle,
BLCategoryInfo info)
throws DesignerErrorException
Categories are the main tools for organizing data. They are components which correspond to particular collections of data in the data source. They are grouped in folders that are named to reflect information collections. A category can contain several subcategories.
Organizing data required by a user into multiple categories or multiple levels of categories is meaningful, and makes it easy to use. End users can use categories to find data elements they need to use without knowing the underlying table names although sometimes the table names are used as categories.
CatalogAPICategories are the main tools for organizing data. They are components which correspond to particular collections of data in the data source. They are grouped in folders that are named to reflect information collections. A category can contain several subcategories.
Organizing data required by a user into multiple categories or multiple levels of categories is meaningful, and makes it easy to use. End users can use categories to find data elements they need to use without knowing the underlying table names although sometimes the table names are used as categories.
insertBusinessViewCategory in class CatalogAPIparentHandle - Handle of the parent object.info - The definition class of Category information. The info can contain its children's
definition information.DesignerErrorExceptioninsertBusinessViewCategory(String parentHandle, BusinessViewCategoryInfo info)public java.lang.String insertBusinessViewCategory(java.lang.String parentHandle,
BusinessViewCategoryInfo info)
throws DesignerErrorException
Categories are the main tools for organizing data. They are components which correspond to particular collections of data in the data source. They are grouped in folders that are named to reflect information collections. A category can contain several subcategories.
Organizing data required by a user into multiple categories or multiple levels of categories is meaningful, and makes it easy to use. End users can use categories to find data elements they need to use without knowing the underlying table names although sometimes the table names are used as categories.
insertBusinessViewCategory in class CatalogAPIparentHandle - The handle of the parent container object. The parent should be a
Category, or a Business View root object.info - The definition class of Category information. The info can contain its children's
definition information.DesignerErrorExceptionpublic boolean insertBusinessViewTable(java.lang.String parentHandle,
java.lang.String tableName)
throws DesignerErrorException
parentHandle - The handle of the parent container object. The parent should be a Business View root object.tableName - The table's mapping nameDesignerErrorExceptionpublic boolean insertBusinessViewTable(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String tableName)
throws DesignerErrorException
dataSourceName - Indicates the resource name of the data source in the catalogbusinessViewName - the Business View name.tableName - The table's mapping nameDesignerErrorExceptionpublic java.lang.String getUBusinessViewQueryName(java.lang.String ubvHandle)
ubvHandle - The handle of the BusinessView.public java.lang.String insertBLDetail(java.lang.String parentHandle,
BLDetailInfo info)
throws DesignerErrorException
insertBusinessViewDetail(String, BVDetailInfo)insertBLDetail in class CatalogAPIparentHandle - The handle of the parent container object. The parent should be a
Category, Dimension, or a Measureinfo - The definition class of the detail information.DesignerErrorExceptionpublic java.lang.String insertBusinessViewDetail(java.lang.String parentHandle,
BVDetailInfo info)
throws DesignerErrorException
insertBusinessViewDetail in class CatalogAPIparentHandle - The handle of the parent container object. The parent should be a
Category, Group, or a Aggregationinfo - The definition class of the detail information.DesignerErrorExceptionpublic java.lang.String insertBLMeasure(java.lang.String parentHandle,
BLMeasureInfo info)
throws DesignerErrorException
insertBusinessViewAggregation(String, BVAggregationInfo)insertBLMeasure in class CatalogAPIparentHandle - Handle of the parent object.info - The definition class of the measure object.DesignerErrorExceptionpublic java.lang.String insertBusinessViewAggregation(java.lang.String parentHandle,
BVAggregationInfo info)
throws DesignerErrorException
insertBusinessViewAggregation in class CatalogAPIparentHandle - Handle of the parent object.info - The definition class of the Aggregation.DesignerErrorExceptionpublic java.lang.String insertBusinessViewAggregation(java.lang.String parentHandle,
BVAggregationInfo info,
boolean isRawExpression)
throws DesignerErrorException
parentHandle - Handle of the parent object.info - The definition class of the Aggregation.isRawExpression - Creates an unparsed customized expression or not. If it is false, the customized expression will be compiled and a javac thread will be started.DesignerErrorExceptioncompileBVFormulas(String)public java.lang.String insertBLDimension(java.lang.String parentHandle,
BLDimensionInfo info)
throws DesignerErrorException
insertBusinessViewGroup(String, BVGroupInfo)insertBLDimension in class CatalogAPIparentHandle - Handle of the parent object.info - The definition class of the Dimension object.DesignerErrorExceptionpublic java.lang.String insertBusinessViewGroup(java.lang.String parentHandle,
BVGroupInfo info)
throws DesignerErrorException
insertBusinessViewGroup in class CatalogAPIparentHandle - Handle of the parent object.info - The definition class of the Group object.DesignerErrorExceptionpublic java.lang.String insertBLHierarchy(java.lang.String blViewHandle,
BLHierarchyInfo info)
throws DesignerErrorException
insertBLHierarchy in class CatalogAPIblViewHandle - Handle of the business logic view.info - The definition class of the Hierarchy object.DesignerErrorExceptionpublic java.lang.String[] getBLCategoryHandles(java.lang.String handle,
java.lang.String uID)
handle - The handle of the Business Logic object.public java.lang.String[] getBLDetailHandles(java.lang.String handle,
java.lang.String uID)
handle - The handle of the Business Logic object.public java.lang.String[] getBLMeasureHandles(java.lang.String handle,
java.lang.String uID)
handle - The handle of the Business Logic object.public java.lang.String[] getBLViewHandles(java.lang.String dataSourceName,
java.lang.String uID,
IBVPermissionFromUserAgent bvPermission4Server)
dataSourceName - Indicates the resource name of the data source in the catalog.public java.lang.String[] getBusinessViewHandles(java.lang.String dataSourceName,
java.lang.String uID,
IBVPermissionFromUserAgent bvPermission4Server)
dataSourceName - Indicates the resource name of the data source in the catalog.public java.lang.String getBusinessLogicHandle(java.lang.String dataSourceName,
java.lang.String queryName,
boolean isBusinessView,
java.lang.String uID)
dataSourceName - Indicates the resource name of the data source in the catalog.queryName - Indicates the resource name of the query.isBusinessView - If it is true, to get handle of BV; false, to get handle of RC.public java.lang.String[] getBLViewHandles(java.lang.String dataSourceName,
int queryType,
java.lang.String uID)
dataSourceName - Indicates the resource name of the data source in the catalog.queryType - Indicates the int value of query type. The query type is:
public java.lang.String[] getBLViewNames(java.lang.String dataSourceName,
int queryType,
java.lang.String uID)
dataSourceName - Indicates the resource name of the data source in the catalog.queryType - Indicates the int value of the query type. The query type is:
public java.lang.String[] getBLViewNames(java.lang.String dataSourceName,
java.lang.String uID,
IBVPermissionFromUserAgent bvPermission4Server)
dataSourceName - Indicates the resource name of the data source in the catalog.queryType - Indicates the int value of the query type. The query type is:
public java.lang.String[] getBusinessNodeNames(java.lang.String dataSourceName,
java.lang.String businessViewName,
java.lang.String uID,
IBVPermissionFromUserAgent bvPermission4Server)
dataSourceName - Indicates the resource name of the data source in the catalog.businessViewName - qualified display name of BusinessViewpublic BLFilterInformation[] getBLFilterInfos(java.lang.String handle)
getBLFilterInfos in class CatalogAPIhandle - Business Logic handle.BLFilterInformation} arraypublic BLNodeInformation getBLNodeInformation(java.lang.String handle)
handle - Business Logic node's handle.public BLNodeInformation[] getBLNodeInformations(java.lang.String handle, java.lang.String uID)
handle - Business Logic node's handle.public java.lang.String updateSQLFile(java.lang.String dataSourceName,
java.lang.String connectionName,
java.lang.String SQLName,
java.lang.String filename)
dataSourceName - Indicates the resource name of the data source in the catalog.connectionName - Indicates the resource name of connection in the data source.SQLName - Indicates the resource name of the imported query.filename - Indicates the full path file name of the imported query.null value will be returned.public java.lang.String insertJSONConnection(java.lang.String dataSourceName,
java.lang.String connectionName,
java.lang.String desc,
JSONSchemaURIInfo jsonSchemaURIInfo,
JSONInstanceURIInfo jsonInstURIInfo,
boolean withAllTables)
throws DesignerErrorException
dataSourceName - Indicates the resource name of the data source in the catalog.connectionName - Indicates the resource name of the connection.desc - Indicates a String description for the connectionjsonSchemaURIInfo - Indicates to use the URI or file location to connect to the JSON data source and define the JSON schema.JSONInstanceURIInfo - Indicates to use the URI or file location to retrieve data from the JSON data source.null value will be returned.DesignerErrorExceptionpublic boolean createJoinPath(JetUJsonConnection jsonConnection)
public boolean updateJSONConnection(java.lang.String dataSourceName,
java.lang.String connectionName,
JSONSchemaURIInfo jsonSchemaURIInfo,
JSONInstanceURIInfo jsonInstURIInfo,
java.lang.StringBuffer updateLog)
throws DesignerErrorException
dataSourceName - Indicates the resource name of the data source in the catalog.connectionName - Indicates the resource name of the connection.jsonSchemaURIInfo - Indicates to use the URI or file location to connect to the JSON data source and define the JSON schema.JSONInstanceURIInfo - Indicates to use the URI or file location to retrieve data from the JSON data source.true if it updates JSON connection and its tables successfully; else return false;DesignerErrorException