...
代码块 | ||||||
---|---|---|---|---|---|---|
| ||||||
package bof.audit.service; import smartbi.catalogtree.ICatalogElement; import smartbi.catalogtree.ICatalogTreeListener; public class ReportChangePostHandler implements ICatalogTreeListener { public void onCatalogElementCreated(ICatalogElement element) { String type = element.getType(); // type类型如下: //* 1.可视化查询:BUSINESS_VIEW // 2.SQL查询:TEXT_BUSINESS_VIEW // 3.存储过程查询:PROC_BUSINESS_VIEW // 4.原生SQL查询:RAWSQL_BUSINESS_VIEW // 4 5.灵活分析:SIMPLE_REPORT // 5.指标类报表:METRIC_REPORT // 6.复杂报表: FREE_REPORT // 7.分析报表: BI3OLAP_REPORT // 6.组合分析:COMBINED_QUERY 7.透视分析:INSIGHT 8.仪表分析: Dashboard // 9.地图分析: DashboardMap // 10 10.电子表格:SPREADSHEET_REPORT 11.多维分析:OLAP_REPORT 12.portal页面: PAGE 13.WEB链接:URL */ //TODO 扩展处理 } public void onCatalogElementDeleted(ICatalogElement element) { // TODO Auto-generated method stub //TODO 扩展处理 } public void onCatalogElementMoved(String nodeId, String originalParentId, String destParentId) { // TODO Auto-generated method stub } public void onCatalogElementDeleting(ICatalogElement element) { //TODO 扩展处理 } public void onCatalogElementUpdated(ICatalogElement element) { // TODO Auto-generated method stub } } |
...