Class AccountManager
java.lang.Object
ru.bitel.bgbilling.modules.bill.server.bean.AccountManager
public class AccountManager
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description AccountManager(java.sql.Connection con, int moduleId) -
Method Summary
Modifier and Type Method Description intdeleteBankAccount(int id)java.util.List<Account>getAccountList()java.util.List<IdTitle>getAccountTitleList(int organizationId, java.lang.Boolean inUse)BankAccountgetBankAccount(int id)java.util.List<BankAccount>getBankAccountList(int organizationId, java.lang.Boolean inUse)BankAccountgetDefaultBankAccount(int organizationId)static intgetPaymentTypeId(java.sql.Connection con, int moduleId, int accountId)voidsetDefaultBankAccount(int bankAccountId, int organizationId)intupdateAccount(Account account)voidupdateBankAccount(BankAccount bankAccount)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AccountManager
public AccountManager(java.sql.Connection con, int moduleId)
-
-
Method Details
-
getAccountList
-
getBankAccountList
-
getBankAccount
-
updateBankAccount
-
updateAccount
-
setDefaultBankAccount
public void setDefaultBankAccount(int bankAccountId, int organizationId) throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
getDefaultBankAccount
-
deleteBankAccount
public int deleteBankAccount(int id) -
getPaymentTypeId
public static int getPaymentTypeId(java.sql.Connection con, int moduleId, int accountId) -
getAccountTitleList
-