Class AccountManager

java.lang.Object
ru.bitel.bgbilling.modules.bill.server.bean.AccountManager

public class AccountManager extends Object
  • Constructor Details

    • AccountManager

      public AccountManager(Connection con, int moduleId)
  • Method Details

    • getAccountList

      public List<Account> getAccountList()
    • getBankAccountList

      public List<BankAccount> getBankAccountList(int organizationId, Boolean inUse)
    • getBankAccount

      public BankAccount getBankAccount(int id)
    • updateBankAccount

      public void updateBankAccount(BankAccount bankAccount)
    • updateAccount

      public int updateAccount(Account account)
    • setDefaultBankAccount

      public void setDefaultBankAccount(int bankAccountId, int organizationId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • getDefaultBankAccount

      public BankAccount getDefaultBankAccount(int organizationId)
    • deleteBankAccount

      public int deleteBankAccount(int id)
    • getPaymentTypeId

      public static int getPaymentTypeId(Connection con, int moduleId, int accountId)
    • getAccountTitleList

      public List<IdTitle> getAccountTitleList(int organizationId, Boolean inUse)