Class EdoBillManager

java.lang.Object
ru.bitel.bgbilling.plugins.edo.server.bean.bill.EdoBillManager

public class EdoBillManager extends Object
Менеджер, который используется при интеграциях с модулем bill, для выгрузки итд. По задумке в плагине импорты модуля должны быть только здесь, в свою очередь вызовы должны быть только в тех веб-сервисах, которые используются с bill.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    возврат для processDocument, для инкапсуляции того что используется в нескольких местах
  • Constructor Summary

    Constructors
    Constructor
    Description
    EdoBillManager(Connection con, int billModuleId, int userId)
    billModuleId обязателен, т.к. менеджер всегда в контексте конкретного модуля.
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.activation.DataSource
    getDataSource(int edoDocumentTypeId, int signatoryId, ContragentInfos contragentInfos, DocumentType billDocType, Integer billDocId)
     
    sendEdo(int edoDocumentTypeId, int signatoryId, ContragentInfos contragentInfos, DocumentType billDocType, Integer billDocId, boolean sign)
    отправка одного документа bill, генерируется формализованный, используя динкод

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EdoBillManager

      public EdoBillManager(Connection con, int billModuleId, int userId)
      billModuleId обязателен, т.к. менеджер всегда в контексте конкретного модуля.
  • Method Details

    • getDataSource

      public jakarta.activation.DataSource getDataSource(int edoDocumentTypeId, int signatoryId, ContragentInfos contragentInfos, DocumentType billDocType, Integer billDocId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • sendEdo

      public ExtDocument sendEdo(int edoDocumentTypeId, int signatoryId, ContragentInfos contragentInfos, DocumentType billDocType, Integer billDocId, boolean sign) throws Exception
      отправка одного документа bill, генерируется формализованный, используя динкод
      Throws:
      Exception