CommonSignInterface.java 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. package kr.co.udapsoft.common.commonSign;
  2. import java.sql.Connection;
  3. import kr.co.hsnc.common.util.ValueObject;
  4. /**
  5. * 결재 전결/반려 처리 Interface
  6. *
  7. * @author DaeJin Lee
  8. */
  9. public interface CommonSignInterface {
  10. /**
  11. * 전자결재 Interface Call
  12. * @param connection
  13. * @param signDoc ( SYSTEM_TYPE, SYSTEM_ID )
  14. * @throws Exception
  15. */
  16. public void doCallSign(Connection connection, ValueObject signDoc) throws Exception;
  17. /**
  18. * 결재 시작
  19. * @param connection
  20. * @param signDoc ( SYSTEM_TYPE, SYSTEM_ID )
  21. */
  22. public void doStartSign(Connection connection, ValueObject signDoc) throws Exception;
  23. /**
  24. * 전자결재 전결 처리
  25. * @param connection
  26. * @param signDoc ( SYSTEM_TYPE, SYSTEM_ID )
  27. * @throws Exception
  28. */
  29. public void doFirstFinishSign(Connection connection, ValueObject signDoc) throws Exception;
  30. /**
  31. * 전자결재 전결 처리
  32. * @param connection
  33. * @param signDoc ( SYSTEM_TYPE, SYSTEM_ID )
  34. * @throws Exception
  35. */
  36. public void doFirstRejectSign(Connection connection, ValueObject signDoc) throws Exception;
  37. /**
  38. * 전자결재 전결 처리
  39. * @param connection
  40. * @param signDoc ( SYSTEM_TYPE, SYSTEM_ID )
  41. * @throws Exception
  42. */
  43. public void doFinishSign(Connection connection, ValueObject signDoc) throws Exception;
  44. /**
  45. * 전자결재 반려 처리
  46. * @param connection
  47. * @param signDoc ( SYSTEM_TYPE, SYSTEM_ID )
  48. * @throws Exception
  49. */
  50. public void doRejectSign(Connection connection, ValueObject signDoc) throws Exception;
  51. /**
  52. * 전자결재 취소 처리
  53. * @param connection
  54. * @param signDoc ( SYSTEM_TYPE, SYSTEM_ID )
  55. * @throws Exception
  56. */
  57. public void doCancelSign(Connection connection, ValueObject signDoc) throws Exception;
  58. }