Class BillingDAO

java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
Direct Known Subclasses:
BalanceDAO, BillingModuleDAO, CashCheckDAO, ContractDAO, ContractDAO, ContractHierarchyDAO, ContractObjectDAO, ContractObjectParamDAO, ContractParamDAO, ContractScriptDAO, ContractServiceDAO, ContractStatusDAO, ContractTariffDAO, DirectoryDAO, DispatchDAO, HelpDeskDAO, PluginDAO

public class BillingDAO extends Object
  • Field Details

  • Constructor Details

    • BillingDAO

      public BillingDAO(User user, String billingId)
    • BillingDAO

      public BillingDAO(User user, DBInfo dbInfo)
  • Method Details

    • getVersion

      public static String getVersion(User user, String billingId)
    • doRequest

      public Document doRequest(Request req)
    • setPage

      protected void setPage(Request req, Page page)
    • getPage

      protected void getPage(Page page, Element data)
    • getParameterId

      public Integer getParameterId(String values)
      Возвращает из сроки вида billingId1:paramId1;billingId2:paramId2 код параметра для текущего биллинга.
      Parameters:
      values -
      Returns:
    • getDbInfo

      public DBInfo getDbInfo()
    • linesToString

      protected String linesToString(Element node)
    • readJsonValue

      protected <T> T readJsonValue(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.JavaType valueType)