| | |
| | | import javax.swing.tree.TreePath; |
| | | |
| | | import com.vci.client.auth2.utils.RightManagerHelper; |
| | | import com.vci.client.common.providers.ServiceProvider; |
| | | import com.vci.client.omd.btm.ui.BtmTree; |
| | | import com.vci.client.omd.btm.ui.ResourceTree; |
| | | import com.vci.client.omd.btm.wrapper.BtmItemWrapper; |
| | |
| | | // DataBase |
| | | boolean isTrue = false; |
| | | try { |
| | | isTrue = RightManagerHelper.getFrameworkService().deleteTypeRuleGrand( |
| | | isTrue = ServiceProvider.getFrameService().deleteTypeRuleGrand( |
| | | btm.name, values.get(0).ruleName); |
| | | } catch (Exception e) { |
| | | JOptionPane.showMessageDialog( |
| | |
| | | // save |
| | | boolean isTrue_add = false; |
| | | try { |
| | | isTrue_add = RightManagerHelper.getFrameworkService().saveGrand( |
| | | isTrue_add = ServiceProvider.getFrameService().saveGrand( |
| | | values.toArray(new GrandValue[values.size()])); |
| | | } catch (Exception e) { |
| | | JOptionPane.showMessageDialog( |