SyncLog.java 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. package com.kingdee.eas.custom.log;
  2. import com.kingdee.bos.framework.ejb.EJBRemoteException;
  3. import com.kingdee.bos.util.BOSObjectType;
  4. import java.rmi.RemoteException;
  5. import com.kingdee.bos.framework.AbstractBizCtrl;
  6. import com.kingdee.bos.orm.template.ORMObject;
  7. import com.kingdee.bos.util.*;
  8. import com.kingdee.eas.framework.CoreBaseInfo;
  9. import com.kingdee.eas.framework.ICoreBillBase;
  10. import com.kingdee.bos.Context;
  11. import com.kingdee.bos.dao.IObjectPK;
  12. import com.kingdee.bos.BOSException;
  13. import com.kingdee.bos.metadata.entity.SelectorItemCollection;
  14. import com.kingdee.eas.common.EASBizException;
  15. import com.kingdee.eas.framework.CoreBaseCollection;
  16. import com.kingdee.eas.framework.CoreBillBase;
  17. import com.kingdee.bos.metadata.entity.EntityViewInfo;
  18. import java.lang.String;
  19. import com.kingdee.eas.custom.log.app.*;
  20. import com.kingdee.bos.framework.*;
  21. public class SyncLog extends CoreBillBase implements ISyncLog
  22. {
  23. public SyncLog()
  24. {
  25. super();
  26. registerInterface(ISyncLog.class, this);
  27. }
  28. public SyncLog(Context ctx)
  29. {
  30. super(ctx);
  31. registerInterface(ISyncLog.class, this);
  32. }
  33. public BOSObjectType getType()
  34. {
  35. return new BOSObjectType("95A0551A");
  36. }
  37. private SyncLogController getController() throws BOSException
  38. {
  39. return (SyncLogController)getBizController();
  40. }
  41. /**
  42. *È¡¼¯ºÏ-System defined method
  43. *@return
  44. */
  45. public SyncLogCollection getSyncLogCollection() throws BOSException
  46. {
  47. try {
  48. return getController().getSyncLogCollection(getContext());
  49. }
  50. catch(RemoteException err) {
  51. throw new EJBRemoteException(err);
  52. }
  53. }
  54. /**
  55. *È¡¼¯ºÏ-System defined method
  56. *@param view È¡¼¯ºÏ
  57. *@return
  58. */
  59. public SyncLogCollection getSyncLogCollection(EntityViewInfo view) throws BOSException
  60. {
  61. try {
  62. return getController().getSyncLogCollection(getContext(), view);
  63. }
  64. catch(RemoteException err) {
  65. throw new EJBRemoteException(err);
  66. }
  67. }
  68. /**
  69. *È¡¼¯ºÏ-System defined method
  70. *@param oql È¡¼¯ºÏ
  71. *@return
  72. */
  73. public SyncLogCollection getSyncLogCollection(String oql) throws BOSException
  74. {
  75. try {
  76. return getController().getSyncLogCollection(getContext(), oql);
  77. }
  78. catch(RemoteException err) {
  79. throw new EJBRemoteException(err);
  80. }
  81. }
  82. /**
  83. *ȡֵ-System defined method
  84. *@param pk ȡֵ
  85. *@return
  86. */
  87. public SyncLogInfo getSyncLogInfo(IObjectPK pk) throws BOSException, EASBizException
  88. {
  89. try {
  90. return getController().getSyncLogInfo(getContext(), pk);
  91. }
  92. catch(RemoteException err) {
  93. throw new EJBRemoteException(err);
  94. }
  95. }
  96. /**
  97. *ȡֵ-System defined method
  98. *@param pk ȡֵ
  99. *@param selector ȡֵ
  100. *@return
  101. */
  102. public SyncLogInfo getSyncLogInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
  103. {
  104. try {
  105. return getController().getSyncLogInfo(getContext(), pk, selector);
  106. }
  107. catch(RemoteException err) {
  108. throw new EJBRemoteException(err);
  109. }
  110. }
  111. /**
  112. *ȡֵ-System defined method
  113. *@param oql ȡֵ
  114. *@return
  115. */
  116. public SyncLogInfo getSyncLogInfo(String oql) throws BOSException, EASBizException
  117. {
  118. try {
  119. return getController().getSyncLogInfo(getContext(), oql);
  120. }
  121. catch(RemoteException err) {
  122. throw new EJBRemoteException(err);
  123. }
  124. }
  125. }