Class User_GetTableHandler
java.lang.Object
com.aoindustries.aoserv.master.TableHandler.GetTableHandlerByRole
com.aoindustries.aoserv.master.postgresql.User_GetTableHandler
- All Implemented Interfaces:
TableHandler.GetTableHandler
- Author:
- AO Industries, Inc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetTableAdministrator(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId) Handles anAdministratorrequest for the given table, with access limited by their set ofaccountsand thehoststhose accounts can access (seeAccountHost.protected voidgetTableDaemon(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser, UserHost[] masterServers) Handles amaster userrequest for the given table, with access limited to a set ofhosts.Gets the set of tables handled.protected voidgetTableMaster(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser) Methods inherited from class com.aoindustries.aoserv.master.TableHandler.GetTableHandlerByRole
getTable
-
Constructor Details
-
User_GetTableHandler
public User_GetTableHandler()
-
-
Method Details
-
getTableIds
Description copied from interface:TableHandler.GetTableHandlerGets the set of tables handled. -
getTableMaster
protected void getTableMaster(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser) throws IOException, SQLException Description copied from class:TableHandler.GetTableHandlerByRole- Specified by:
getTableMasterin classTableHandler.GetTableHandlerByRole- Throws:
IOExceptionSQLException
-
getTableDaemon
protected void getTableDaemon(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser, UserHost[] masterServers) throws IOException, SQLException Description copied from class:TableHandler.GetTableHandlerByRoleHandles amaster userrequest for the given table, with access limited to a set ofhosts. This is the filtering generally used by AOServ Daemon.- Specified by:
getTableDaemonin classTableHandler.GetTableHandlerByRole- Throws:
IOExceptionSQLException
-
getTableAdministrator
protected void getTableAdministrator(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId) throws IOException, SQLException Description copied from class:TableHandler.GetTableHandlerByRoleHandles anAdministratorrequest for the given table, with access limited by their set ofaccountsand thehoststhose accounts can access (seeAccountHost.- Specified by:
getTableAdministratorin classTableHandler.GetTableHandlerByRole- Throws:
IOExceptionSQLException
-
