Browse Source
* commit '0818798efe7b255e6bd74d4c3511d6a5ebba9933': REPORT-74100【冒烟】远程BI环境,13个jar全部提示缺失 BI 集成的 JAR 或者之前的环境, 这里需要进行判断是否需要进行检查。 REPORT-73970 手动修改参数面板宽度未生效 1、REPORT-66771改动导致,在dolayout的时候修改了组件宽度 2、改为,在form宽度修改事件中修改组件宽度 REPORT-73996-新建frm预览空白 KERNEL-11531 修改下设计,ColoneCollector中触发clone() KERNEL-11531 数据链接越权漏洞调用com.fr.invoke.ClassHelper中遍历搜索对象存在空间时间效率问题导致宕机bugfix/11.0
superman
2 years ago
9 changed files with 84 additions and 67 deletions
@ -0,0 +1,37 @@
|
||||
package com.fr.design.mainframe.authority; |
||||
|
||||
import com.fr.base.CloneCollector; |
||||
import com.fr.base.Formula; |
||||
import com.fr.data.impl.NameDatabaseConnection; |
||||
import com.fr.data.impl.NameTableData; |
||||
import com.fr.report.cell.cellattr.core.group.DSColumn; |
||||
import com.fr.stable.FCloneable; |
||||
|
||||
|
||||
import java.util.ArrayList; |
||||
import java.util.List; |
||||
|
||||
public class AuthorityTargetObjectCollector extends CloneCollector { |
||||
List<Object> targetObject = new ArrayList<>(); |
||||
|
||||
public AuthorityTargetObjectCollector(FCloneable rootObject) { |
||||
super(rootObject); |
||||
} |
||||
|
||||
@Override |
||||
public void collect(Object object) { |
||||
if (object instanceof DSColumn || object instanceof Formula |
||||
|| object instanceof NameDatabaseConnection || object instanceof NameTableData) { |
||||
targetObject.add(object); |
||||
} |
||||
} |
||||
|
||||
public List<Object> collectTargetObject() { |
||||
CloneCollector.setCollector(this); |
||||
this.targetObject = new ArrayList<>(); |
||||
this.collect(); |
||||
CloneCollector.clearCollector(); |
||||
return targetObject; |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue