Class BankTransactionHandler.GetTable
java.lang.Object
com.aoindustries.aoserv.master.accounting.BankTransactionHandler.GetTable
- All Implemented Interfaces:
TableHandler.GetTableHandler
- Enclosing class:
BankTransactionHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
getTable
(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser, UserHost[] masterServers) When is amaster user
and hasUser.canAccessBankAccount()
, callsgetTableAccounting(com.aoapps.dbc.DatabaseConnection, com.aoindustries.aoserv.master.RequestSource, com.aoapps.hodgepodge.io.stream.StreamableOutput, boolean, com.aoindustries.aoserv.client.schema.Table.TableId, com.aoindustries.aoserv.client.master.User)
.void
getTableAccounting
(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser) Gets the set of tables handled.
-
Constructor Details
-
GetTable
public GetTable()
-
-
Method Details
-
getTableIds
Description copied from interface:TableHandler.GetTableHandler
Gets the set of tables handled.- Specified by:
getTableIds
in interfaceTableHandler.GetTableHandler
-
getTableAccounting
public void getTableAccounting(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser) throws IOException, SQLException - Throws:
IOException
SQLException
-
getTable
default void getTable(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser, UserHost[] masterServers) throws IOException, SQLException When is amaster user
and hasUser.canAccessBankAccount()
, callsgetTableAccounting(com.aoapps.dbc.DatabaseConnection, com.aoindustries.aoserv.master.RequestSource, com.aoapps.hodgepodge.io.stream.StreamableOutput, boolean, com.aoindustries.aoserv.client.schema.Table.TableId, com.aoindustries.aoserv.client.master.User)
. Otherwise, writes an empty table.- Specified by:
getTable
in interfaceTableHandler.GetTableHandler
- Throws:
IOException
SQLException
- See Also:
-