72104df6ec954a14eb13d9704d3361e3f8fcdf70.svn-base 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. package com.kingdee.eas.custom.facade;
  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.BOSException;
  8. import com.kingdee.bos.util.*;
  9. import com.kingdee.eas.common.EASBizException;
  10. import com.kingdee.eas.custom.facade.*;
  11. import com.kingdee.bos.Context;
  12. import com.kingdee.bos.framework.*;
  13. public class EarlyWarningFacade extends AbstractBizCtrl implements IEarlyWarningFacade
  14. {
  15. public EarlyWarningFacade()
  16. {
  17. super();
  18. registerInterface(IEarlyWarningFacade.class, this);
  19. }
  20. public EarlyWarningFacade(Context ctx)
  21. {
  22. super(ctx);
  23. registerInterface(IEarlyWarningFacade.class, this);
  24. }
  25. public BOSObjectType getType()
  26. {
  27. return new BOSObjectType("113E89AF");
  28. }
  29. private EarlyWarningFacadeController getController() throws BOSException
  30. {
  31. return (EarlyWarningFacadeController)getBizController();
  32. }
  33. /**
  34. *加班费用申请-User defined method
  35. */
  36. public void overExpenseApply() throws BOSException, EASBizException
  37. {
  38. try {
  39. getController().overExpenseApply(getContext());
  40. }
  41. catch(RemoteException err) {
  42. throw new EJBRemoteException(err);
  43. }
  44. }
  45. /**
  46. *提报申请通知-User defined method
  47. */
  48. public void forwardApply() throws BOSException, EASBizException
  49. {
  50. try {
  51. getController().forwardApply(getContext());
  52. }
  53. catch(RemoteException err) {
  54. throw new EJBRemoteException(err);
  55. }
  56. }
  57. /**
  58. *加班审批通知-User defined method
  59. */
  60. public void overAuditApply() throws BOSException, EASBizException
  61. {
  62. try {
  63. getController().overAuditApply(getContext());
  64. }
  65. catch(RemoteException err) {
  66. throw new EJBRemoteException(err);
  67. }
  68. }
  69. /**
  70. *考勤异常通知-User defined method
  71. */
  72. public void attendanceAbnormalApply() throws BOSException, EASBizException
  73. {
  74. try {
  75. getController().attendanceAbnormalApply(getContext());
  76. }
  77. catch(RemoteException err) {
  78. throw new EJBRemoteException(err);
  79. }
  80. }
  81. /**
  82. *转正审批通知-User defined method
  83. */
  84. public void becomeWorkApply() throws BOSException, EASBizException
  85. {
  86. try {
  87. getController().becomeWorkApply(getContext());
  88. }
  89. catch(RemoteException err) {
  90. throw new EJBRemoteException(err);
  91. }
  92. }
  93. /**
  94. *个人考勤异常预警-User defined method
  95. */
  96. public void thatAttendAbnormal() throws BOSException, EASBizException
  97. {
  98. try {
  99. getController().thatAttendAbnormal(getContext());
  100. }
  101. catch(RemoteException err) {
  102. throw new EJBRemoteException(err);
  103. }
  104. }
  105. /**
  106. *部门考勤异常预警-User defined method
  107. */
  108. public void departAttendAbnormal() throws BOSException, EASBizException
  109. {
  110. try {
  111. getController().departAttendAbnormal(getContext());
  112. }
  113. catch(RemoteException err) {
  114. throw new EJBRemoteException(err);
  115. }
  116. }
  117. /**
  118. *个人考勤异常预警(按月)-User defined method
  119. */
  120. public void monthAttendAbnormal() throws BOSException, EASBizException
  121. {
  122. try {
  123. getController().monthAttendAbnormal(getContext());
  124. }
  125. catch(RemoteException err) {
  126. throw new EJBRemoteException(err);
  127. }
  128. }
  129. }