243356872a94100bc2c72503103d96dd7bfbd1b4.svn-base 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. /**
  2. * output package name
  3. */
  4. package com.kingdee.eas.custom.ats.client;
  5. import org.apache.log4j.*;
  6. import java.awt.*;
  7. import java.awt.event.*;
  8. import java.util.*;
  9. import javax.swing.border.*;
  10. import javax.swing.BorderFactory;
  11. import javax.swing.event.*;
  12. import javax.swing.KeyStroke;
  13. import com.kingdee.bos.ctrl.swing.*;
  14. import com.kingdee.bos.ctrl.kdf.table.*;
  15. import com.kingdee.bos.ctrl.kdf.data.event.*;
  16. import com.kingdee.bos.dao.*;
  17. import com.kingdee.bos.dao.query.*;
  18. import com.kingdee.bos.metadata.*;
  19. import com.kingdee.bos.metadata.entity.*;
  20. import com.kingdee.bos.ui.face.*;
  21. import com.kingdee.bos.ui.util.ResourceBundleHelper;
  22. import com.kingdee.bos.util.BOSUuid;
  23. import com.kingdee.bos.service.ServiceContext;
  24. import com.kingdee.jdbc.rowset.IRowSet;
  25. import com.kingdee.util.enums.EnumUtils;
  26. import com.kingdee.bos.ui.face.UIRuleUtil;
  27. import com.kingdee.bos.ctrl.swing.event.*;
  28. import com.kingdee.bos.ctrl.kdf.table.event.*;
  29. import com.kingdee.bos.ctrl.extendcontrols.*;
  30. import com.kingdee.bos.ctrl.kdf.util.render.*;
  31. import com.kingdee.bos.ui.face.IItemAction;
  32. import com.kingdee.eas.framework.batchHandler.RequestContext;
  33. import com.kingdee.bos.ui.util.IUIActionPostman;
  34. import com.kingdee.bos.appframework.client.servicebinding.ActionProxyFactory;
  35. import com.kingdee.bos.appframework.uistatemanage.ActionStateConst;
  36. import com.kingdee.bos.appframework.validator.ValidateHelper;
  37. import com.kingdee.bos.appframework.uip.UINavigator;
  38. /**
  39. * output class name
  40. */
  41. public abstract class AbstractAtsLeaveBillDetailSameListUI extends com.kingdee.eas.framework.client.ListUI
  42. {
  43. private static final Logger logger = CoreUIObject.getLogger(AbstractAtsLeaveBillDetailSameListUI.class);
  44. /**
  45. * output class constructor
  46. */
  47. public AbstractAtsLeaveBillDetailSameListUI() throws Exception
  48. {
  49. super();
  50. this.defaultObjectName = "mainQuery";
  51. jbInit();
  52. initUIP();
  53. }
  54. /**
  55. * output jbInit method
  56. */
  57. private void jbInit() throws Exception
  58. {
  59. this.resHelper = new ResourceBundleHelper(AbstractAtsLeaveBillDetailSameListUI.class.getName());
  60. this.setUITitle(resHelper.getString("this.title"));
  61. mainQueryPK = new MetaDataPK("com.kingdee.eas.custom.ats.app", "AtsLeaveBillDetailSameQuery");
  62. // CoreUI
  63. String tblMainStrXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><DocRoot xmlns:c=\"http://www.kingdee.com/Common\" xmlns:f=\"http://www.kingdee.com/Form\" xmlns:t=\"http://www.kingdee.com/Table\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.kingdee.com/KDF KDFSchema.xsd\" version=\"0.0\"><Styles><c:Style id=\"sCol6\"><c:Protection hidden=\"true\" /></c:Style><c:Style id=\"sCol8\"><c:Protection hidden=\"true\" /></c:Style><c:Style id=\"sCol10\"><c:Protection hidden=\"true\" /></c:Style><c:Style id=\"sCol13\"><c:NumberFormat>&amp;date</c:NumberFormat></c:Style><c:Style id=\"sCol14\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style></Styles><Table id=\"KDTable\"><t:Sheet name=\"sheet1\"><t:Table t:selectMode=\"15\" t:mergeMode=\"0\" t:dataRequestMode=\"0\" t:pageRowCount=\"100\"><t:ColumnGroup><t:Column t:key=\"number\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"name\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"simpleName\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"description\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"createTime\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"lastUpdateTime\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"creator.number\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol6\" /><t:Column t:key=\"creator.name\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"lastUpdateUser.number\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol8\" /><t:Column t:key=\"lastUpdateUser.name\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"id\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol10\" /><t:Column t:key=\"leavebill\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"leavebillEntry\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"leaveDate\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol13\" /><t:Column t:key=\"leaveLenght\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol14\" /><t:Column t:key=\"leaveUnit\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"policy\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"holidayResult\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"preTime\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"nextTime\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"attAdminOrgUnit\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"proposer\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"adminOrgUnit\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"position\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"hrOrgUnit\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /></t:ColumnGroup><t:Head><t:Row t:name=\"header\" t:height=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\"><t:Cell>$Resource{number}</t:Cell><t:Cell>$Resource{name}</t:Cell><t:Cell>$Resource{simpleName}</t:Cell><t:Cell>$Resource{description}</t:Cell><t:Cell>$Resource{createTime}</t:Cell><t:Cell>$Resource{lastUpdateTime}</t:Cell><t:Cell>$Resource{creator.number}</t:Cell><t:Cell>$Resource{creator.name}</t:Cell><t:Cell>$Resource{lastUpdateUser.number}</t:Cell><t:Cell>$Resource{lastUpdateUser.name}</t:Cell><t:Cell>$Resource{id}</t:Cell><t:Cell>$Resource{leavebill}</t:Cell><t:Cell>$Resource{leavebillEntry}</t:Cell><t:Cell>$Resource{leaveDate}</t:Cell><t:Cell>$Resource{leaveLenght}</t:Cell><t:Cell>$Resource{leaveUnit}</t:Cell><t:Cell>$Resource{policy}</t:Cell><t:Cell>$Resource{holidayResult}</t:Cell><t:Cell>$Resource{preTime}</t:Cell><t:Cell>$Resource{nextTime}</t:Cell><t:Cell>$Resource{attAdminOrgUnit}</t:Cell><t:Cell>$Resource{proposer}</t:Cell><t:Cell>$Resource{adminOrgUnit}</t:Cell><t:Cell>$Resource{position}</t:Cell><t:Cell>$Resource{hrOrgUnit}</t:Cell></t:Row></t:Head></t:Table><t:SheetOptions><t:MergeBlocks><t:Head /></t:MergeBlocks></t:SheetOptions></t:Sheet></Table></DocRoot>";
  64. this.tblMain.setFormatXml(resHelper.translateString("tblMain",tblMainStrXML));
  65. this.tblMain.putBindContents("mainQuery",new String[] {"number","name","simpleName","description","createTime","lastUpdateTime","creator.number","creator.name","lastUpdateUser.number","lastUpdateUser.name","id","leavebill","leavebillEntry","leaveDate","leaveLenght","leaveUnit","policy","holidayResult","preTime","nextTime","attAdminOrgUnit","proposer","adminOrgUnit","position","hrOrgUnit"});
  66. this.tblMain.checkParsed();
  67. this.tblMain.getGroupManager().setGroup(true);
  68. //Register control's property binding
  69. registerBindings();
  70. registerUIState();
  71. }
  72. public com.kingdee.bos.ctrl.swing.KDToolBar[] getUIMultiToolBar(){
  73. java.util.List list = new java.util.ArrayList();
  74. com.kingdee.bos.ctrl.swing.KDToolBar[] bars = super.getUIMultiToolBar();
  75. if (bars != null) {
  76. list.addAll(java.util.Arrays.asList(bars));
  77. }
  78. return (com.kingdee.bos.ctrl.swing.KDToolBar[])list.toArray(new com.kingdee.bos.ctrl.swing.KDToolBar[list.size()]);
  79. }
  80. /**
  81. * output initUIContentLayout method
  82. */
  83. public void initUIContentLayout()
  84. {
  85. this.setBounds(new Rectangle(10, 10, 1013, 629));
  86. this.setLayout(new KDLayout());
  87. this.putClientProperty("OriginalBounds", new Rectangle(10, 10, 1013, 629));
  88. tblMain.setBounds(new Rectangle(10, 10, 996, 580));
  89. this.add(tblMain, new KDLayout.Constraints(10, 10, 996, 580, KDLayout.Constraints.ANCHOR_TOP | KDLayout.Constraints.ANCHOR_BOTTOM | KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT));
  90. }
  91. /**
  92. * output initUIMenuBarLayout method
  93. */
  94. public void initUIMenuBarLayout()
  95. {
  96. this.menuBar.add(menuFile);
  97. this.menuBar.add(menuEdit);
  98. this.menuBar.add(MenuService);
  99. this.menuBar.add(menuView);
  100. this.menuBar.add(menuBiz);
  101. this.menuBar.add(menuTool);
  102. this.menuBar.add(menuTools);
  103. this.menuBar.add(menuHelp);
  104. //menuFile
  105. menuFile.add(menuItemAddNew);
  106. menuFile.add(menuItemImportData);
  107. menuFile.add(menuItemCloudFeed);
  108. menuFile.add(menuItemExportData);
  109. menuFile.add(menuItemCloudScreen);
  110. menuFile.add(separatorFile1);
  111. menuFile.add(menuItemCloudShare);
  112. menuFile.add(MenuItemAttachment);
  113. menuFile.add(kDSeparator1);
  114. menuFile.add(kdSeparatorFWFile1);
  115. menuFile.add(menuItemPageSetup);
  116. menuFile.add(menuItemPrint);
  117. menuFile.add(menuItemPrintPreview);
  118. menuFile.add(kDSeparator2);
  119. menuFile.add(menuItemExitCurrent);
  120. //menuEdit
  121. menuEdit.add(menuItemEdit);
  122. menuEdit.add(menuItemRemove);
  123. //MenuService
  124. MenuService.add(MenuItemKnowStore);
  125. MenuService.add(MenuItemAnwser);
  126. MenuService.add(SepratorService);
  127. MenuService.add(MenuItemRemoteAssist);
  128. //menuView
  129. menuView.add(menuItemView);
  130. menuView.add(menuItemLocate);
  131. menuView.add(separatorView1);
  132. menuView.add(menuItemQuery);
  133. menuView.add(menuItemQueryScheme);
  134. menuView.add(menuItemRefresh);
  135. //menuBiz
  136. menuBiz.add(menuItemCancelCancel);
  137. menuBiz.add(menuItemCancel);
  138. //menuTool
  139. menuTool.add(menuItemSendMessage);
  140. menuTool.add(menuItemCalculator);
  141. menuTool.add(menuItemToolBarCustom);
  142. //menuTools
  143. menuTools.add(menuMail);
  144. menuTools.add(menuItemStartWorkFlow);
  145. menuTools.add(menuItemPublishReport);
  146. //menuMail
  147. menuMail.add(menuItemToHTML);
  148. menuMail.add(menuItemCopyScreen);
  149. menuMail.add(menuItemToExcel);
  150. //menuHelp
  151. menuHelp.add(menuItemHelp);
  152. menuHelp.add(kDSeparator12);
  153. menuHelp.add(menuItemRegPro);
  154. menuHelp.add(menuItemPersonalSite);
  155. menuHelp.add(helpseparatorDiv);
  156. menuHelp.add(menuitemProductval);
  157. menuHelp.add(kDSeparatorProduct);
  158. menuHelp.add(menuItemAbout);
  159. }
  160. /**
  161. * output initUIToolBarLayout method
  162. */
  163. public void initUIToolBarLayout()
  164. {
  165. this.toolBar.add(btnAddNew);
  166. this.toolBar.add(btnCloud);
  167. this.toolBar.add(btnView);
  168. this.toolBar.add(btnXunTong);
  169. this.toolBar.add(btnEdit);
  170. this.toolBar.add(kDSeparatorCloud);
  171. this.toolBar.add(btnRemove);
  172. this.toolBar.add(btnRefresh);
  173. this.toolBar.add(btnQuery);
  174. this.toolBar.add(btnLocate);
  175. this.toolBar.add(btnAttachment);
  176. this.toolBar.add(separatorFW1);
  177. this.toolBar.add(btnPageSetup);
  178. this.toolBar.add(btnPrint);
  179. this.toolBar.add(btnPrintPreview);
  180. this.toolBar.add(separatorFW2);
  181. this.toolBar.add(btnCancelCancel);
  182. this.toolBar.add(btnCancel);
  183. this.toolBar.add(btnQueryScheme);
  184. }
  185. //Regiester control's property binding.
  186. private void registerBindings(){
  187. }
  188. //Regiester UI State
  189. private void registerUIState(){
  190. }
  191. public String getUIHandlerClassName() {
  192. return "com.kingdee.eas.custom.ats.app.AtsLeaveBillDetailSameListUIHandler";
  193. }
  194. public IUIActionPostman prepareInit() {
  195. IUIActionPostman clientHanlder = super.prepareInit();
  196. if (clientHanlder != null) {
  197. RequestContext request = new RequestContext();
  198. request.setClassName(getUIHandlerClassName());
  199. clientHanlder.setRequestContext(request);
  200. }
  201. return clientHanlder;
  202. }
  203. public boolean isPrepareInit() {
  204. return false;
  205. }
  206. protected void initUIP() {
  207. super.initUIP();
  208. }
  209. /**
  210. * output setDataObject method
  211. */
  212. public void setDataObject(IObjectValue dataObject)
  213. {
  214. IObjectValue ov = dataObject;
  215. super.setDataObject(ov);
  216. }
  217. protected void Remove() throws Exception {
  218. IObjectValue editData = getBizInterface().getValue(new com.kingdee.bos.dao.ormapping.ObjectUuidPK(BOSUuid.read(getSelectedKeyValue())));
  219. super.Remove();
  220. recycleNumberByOrg(editData,"",editData.getString("number"));
  221. }
  222. protected void recycleNumberByOrg(IObjectValue editData,String orgType,String number) {
  223. if (!StringUtils.isEmpty(number))
  224. {
  225. try {
  226. String companyID = null;
  227. com.kingdee.eas.base.codingrule.ICodingRuleManager iCodingRuleManager = com.kingdee.eas.base.codingrule.CodingRuleManagerFactory.getRemoteInstance();
  228. if(!com.kingdee.util.StringUtils.isEmpty(orgType) && !"NONE".equalsIgnoreCase(orgType) && com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType))!=null) {
  229. companyID =com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType)).getString("id");
  230. }
  231. else if (com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit() != null) {
  232. companyID = ((com.kingdee.eas.basedata.org.OrgUnitInfo)com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit()).getString("id");
  233. }
  234. if (!StringUtils.isEmpty(companyID) && iCodingRuleManager.isExist(editData, companyID) && iCodingRuleManager.isUseIntermitNumber(editData, companyID)) {
  235. iCodingRuleManager.recycleNumber(editData,companyID,number);
  236. }
  237. }
  238. catch (Exception e)
  239. {
  240. handUIException(e);
  241. }
  242. }
  243. }
  244. /**
  245. * output loadFields method
  246. */
  247. public void loadFields()
  248. {
  249. dataBinder.loadFields();
  250. }
  251. /**
  252. * output storeFields method
  253. */
  254. public void storeFields()
  255. {
  256. dataBinder.storeFields();
  257. }
  258. /**
  259. * ????????§µ??
  260. */
  261. protected void registerValidator() {
  262. getValidateHelper().setCustomValidator( getValidator() );
  263. }
  264. /**
  265. * output setOprtState method
  266. */
  267. public void setOprtState(String oprtType)
  268. {
  269. super.setOprtState(oprtType);
  270. }
  271. public SelectorItemCollection getBOTPSelectors() {
  272. SelectorItemCollection sic = new SelectorItemCollection();
  273. return sic;
  274. }
  275. /**
  276. * output getSelectors method
  277. */
  278. public SelectorItemCollection getSelectors()
  279. {
  280. SelectorItemCollection sic = new SelectorItemCollection();
  281. String selectorAll = System.getProperty("selector.all");
  282. if(StringUtils.isEmpty(selectorAll)){
  283. selectorAll = "true";
  284. }
  285. sic.add(new SelectorItemInfo("lastUpdateUser.name"));
  286. sic.add(new SelectorItemInfo("name"));
  287. sic.add(new SelectorItemInfo("number"));
  288. sic.add(new SelectorItemInfo("description"));
  289. sic.add(new SelectorItemInfo("simpleName"));
  290. sic.add(new SelectorItemInfo("createTime"));
  291. sic.add(new SelectorItemInfo("lastUpdateTime"));
  292. sic.add(new SelectorItemInfo("creator.name"));
  293. sic.add(new SelectorItemInfo("creator.number"));
  294. sic.add(new SelectorItemInfo("lastUpdateUser.number"));
  295. sic.add(new SelectorItemInfo("id"));
  296. sic.add(new SelectorItemInfo("leavebill"));
  297. sic.add(new SelectorItemInfo("leavebillEntry"));
  298. sic.add(new SelectorItemInfo("leaveDate"));
  299. sic.add(new SelectorItemInfo("leaveLenght"));
  300. sic.add(new SelectorItemInfo("leaveUnit"));
  301. sic.add(new SelectorItemInfo("policy"));
  302. sic.add(new SelectorItemInfo("holidayResult"));
  303. sic.add(new SelectorItemInfo("preTime"));
  304. sic.add(new SelectorItemInfo("nextTime"));
  305. sic.add(new SelectorItemInfo("attAdminOrgUnit"));
  306. sic.add(new SelectorItemInfo("proposer"));
  307. sic.add(new SelectorItemInfo("adminOrgUnit"));
  308. sic.add(new SelectorItemInfo("position"));
  309. sic.add(new SelectorItemInfo("hrOrgUnit"));
  310. return sic;
  311. } protected java.util.List getQuerySorterFields()
  312. {
  313. java.util.List sorterFieldList = new ArrayList();
  314. sorterFieldList.add("number");
  315. return sorterFieldList;
  316. }
  317. protected java.util.List getQueryPKFields()
  318. {
  319. java.util.List pkList = new ArrayList();
  320. pkList.add("id");
  321. return pkList;
  322. }
  323. /**
  324. * output getMetaDataPK method
  325. */
  326. public IMetaDataPK getMetaDataPK()
  327. {
  328. return new MetaDataPK("com.kingdee.eas.custom.ats.client", "AtsLeaveBillDetailSameListUI");
  329. }
  330. /**
  331. * output getEditUIName method
  332. */
  333. protected String getEditUIName()
  334. {
  335. return com.kingdee.eas.custom.ats.client.AtsLeaveBillDetailSameEditUI.class.getName();
  336. }
  337. /**
  338. * output getBizInterface method
  339. */
  340. protected com.kingdee.eas.framework.ICoreBase getBizInterface() throws Exception
  341. {
  342. return com.kingdee.eas.custom.ats.AtsLeaveBillDetailSameFactory.getRemoteInstance();
  343. }
  344. /**
  345. * output createNewData method
  346. */
  347. protected IObjectValue createNewData()
  348. {
  349. com.kingdee.eas.custom.ats.AtsLeaveBillDetailSameInfo objectValue = new com.kingdee.eas.custom.ats.AtsLeaveBillDetailSameInfo();
  350. return objectValue;
  351. }
  352. }