public class AccountManager
extends java.lang.Object
Constructor and Description |
---|
AccountManager(java.sql.Connection con,
int moduleId) |
Modifier and Type | Method and Description |
---|---|
int |
deleteBankAccount(int id) |
java.util.List<Account> |
getAccountList() |
java.util.List<IdTitle> |
getAccountTitleList(int organizationId,
java.lang.Boolean inUse) |
BankAccount |
getBankAccount(int id) |
java.util.List<BankAccount> |
getBankAccountList(int organizationId,
java.lang.Boolean inUse) |
BankAccount |
getDefaultBankAccount(int organizationId) |
static int |
getPaymentTypeId(java.sql.Connection con,
int moduleId,
int accountId) |
void |
setDefaultBankAccount(int bankAccountId,
int organizationId) |
int |
updateAccount(Account account) |
void |
updateBankAccount(BankAccount bankAccount) |
public java.util.List<Account> getAccountList()
public java.util.List<BankAccount> getBankAccountList(int organizationId, java.lang.Boolean inUse)
public BankAccount getBankAccount(int id)
public void updateBankAccount(BankAccount bankAccount)
public int updateAccount(Account account)
public void setDefaultBankAccount(int bankAccountId, int organizationId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public BankAccount getDefaultBankAccount(int organizationId)
public int deleteBankAccount(int id)
public static int getPaymentTypeId(java.sql.Connection con, int moduleId, int accountId)
public java.util.List<IdTitle> getAccountTitleList(int organizationId, java.lang.Boolean inUse)