|
|
@ -2,7 +2,6 @@ package com.fr.design.data.datapane.preview.desensitization.view.setting; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.data.desensitize.base.DesensitizationTableData; |
|
|
|
import com.fr.data.desensitize.base.DesensitizationTableData; |
|
|
|
import com.fr.data.desensitize.base.TableDataDesensitizationItem; |
|
|
|
import com.fr.data.desensitize.base.TableDataDesensitizationItem; |
|
|
|
import com.fr.data.desensitize.rule.DesensitizationRuleManager; |
|
|
|
|
|
|
|
import com.fr.data.desensitize.rule.base.DesensitizationRule; |
|
|
|
import com.fr.data.desensitize.rule.base.DesensitizationRule; |
|
|
|
import com.fr.data.desensitize.rule.base.DesensitizationRuleSource; |
|
|
|
import com.fr.data.desensitize.rule.base.DesensitizationRuleSource; |
|
|
|
import com.fr.design.data.datapane.preview.desensitization.TableDataPreviewDesensitizeManager; |
|
|
|
import com.fr.design.data.datapane.preview.desensitization.TableDataPreviewDesensitizeManager; |
|
|
@ -12,8 +11,11 @@ import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.workspace.server.repository.authority.RemoteAuthorityRepository; |
|
|
|
import com.fr.workspace.server.repository.authority.RemoteAuthorityRepository; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
import javax.swing.JPanel; |
|
|
|
import java.awt.*; |
|
|
|
import javax.swing.SwingWorker; |
|
|
|
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
|
|
|
import java.awt.CardLayout; |
|
|
|
|
|
|
|
import java.awt.Component; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.LinkedHashMap; |
|
|
|
import java.util.LinkedHashMap; |
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
@ -89,7 +91,7 @@ public class TableDataDesensitizationTablePane extends JPanel { |
|
|
|
// 获取当前所有用户组
|
|
|
|
// 获取当前所有用户组
|
|
|
|
roleMap.putAll(RemoteAuthorityRepository.getInstance().getAllRoles4Desensitization()); |
|
|
|
roleMap.putAll(RemoteAuthorityRepository.getInstance().getAllRoles4Desensitization()); |
|
|
|
// 获取当前最新的所有规则
|
|
|
|
// 获取当前最新的所有规则
|
|
|
|
latestRules.putAll(DesensitizationRuleManager.getInstance().getAllRules()); |
|
|
|
latestRules.putAll(RemoteAuthorityRepository.getInstance().getAllRoles().getSourceRuleMap()); |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|