Class Assignment_GetTableHandler
java.lang.Object
com.aoindustries.aoserv.master.TableHandler.GetTableHandlerByRole
com.aoindustries.aoserv.master.ticket.Assignment_GetTableHandler
- All Implemented Interfaces:
TableHandler.GetTableHandler
- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
getTableAdministrator
(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId) Handles anAdministrator
request for the given table, with access limited by their set ofaccounts
and thehosts
those accounts can access (seeAccountHost
.protected void
getTableDaemon
(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser, UserHost[] masterServers) Handles amaster user
request for the given table, with access limited to a set ofhosts
.Gets the set of tables handled.protected void
getTableMaster
(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
-
Assignment_GetTableHandler
public Assignment_GetTableHandler()
-
-
Method Details
-
getTableIds
Description copied from interface:TableHandler.GetTableHandler
Gets 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:
getTableMaster
in classTableHandler.GetTableHandlerByRole
- Throws:
IOException
SQLException
-
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.GetTableHandlerByRole
Handles amaster user
request for the given table, with access limited to a set ofhosts
. This is the filtering generally used by AOServ Daemon.- Specified by:
getTableDaemon
in classTableHandler.GetTableHandlerByRole
- Throws:
IOException
SQLException
-
getTableAdministrator
protected void getTableAdministrator(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId) throws IOException, SQLException Description copied from class:TableHandler.GetTableHandlerByRole
Handles anAdministrator
request for the given table, with access limited by their set ofaccounts
and thehosts
those accounts can access (seeAccountHost
.- Specified by:
getTableAdministrator
in classTableHandler.GetTableHandlerByRole
- Throws:
IOException
SQLException
-