Package com.aoindustries.aoserv.master
Class BankAccountHandler
java.lang.Object
com.aoindustries.aoserv.master.BankAccountHandler
The
BankAccountHandler
handles all the accesses to the bank tables.- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkIsAccounting
(DatabaseConnection conn, RequestSource source, String action) static void
checkIsBankAccounting
(DatabaseConnection conn, RequestSource source, String action) static void
getTransactionsForAccount
(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, String account) Gets all transactions for one account.static boolean
isAccounting
(DatabaseConnection conn, RequestSource source) static boolean
isBankAccounting
(DatabaseConnection conn, RequestSource source)
-
Method Details
-
checkIsAccounting
public static void checkIsAccounting(DatabaseConnection conn, RequestSource source, String action) throws IOException, SQLException - Throws:
IOException
SQLException
-
getTransactionsForAccount
public static void getTransactionsForAccount(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, String account) throws IOException, SQLException Gets all transactions for one account.- Throws:
IOException
SQLException
-
checkIsBankAccounting
public static void checkIsBankAccounting(DatabaseConnection conn, RequestSource source, String action) throws IOException, SQLException - Throws:
IOException
SQLException
-
isAccounting
public static boolean isAccounting(DatabaseConnection conn, RequestSource source) throws IOException, SQLException - Throws:
IOException
SQLException
-
isBankAccounting
public static boolean isBankAccounting(DatabaseConnection conn, RequestSource source) throws IOException, SQLException - Throws:
IOException
SQLException
-