Class Network_GetTableHandler
java.lang.Object
com.aoindustries.aoserv.master.TableHandler.GetTableHandlerByRole
com.aoindustries.aoserv.master.net.reputation.Network_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) Regular user may only access the networks for their own or subaccount sets.protected void
getTableDaemon
(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser, UserHost[] masterServers) Router may access all sets used by any limiters in the same server farm.Gets the set of tables handled.protected void
getTableMaster
(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser) Admin may access all sets.Methods inherited from class com.aoindustries.aoserv.master.TableHandler.GetTableHandlerByRole
getTable
-
Constructor Details
-
Network_GetTableHandler
public Network_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 Admin may access all sets.- 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 Router may access all sets used by any limiters in the same server farm. Non-router daemon may not access any reputation sets.- Specified by:
getTableDaemon
in classTableHandler.GetTableHandlerByRole
- Throws:
IOException
SQLException
- See Also:
-
getTableAdministrator
protected void getTableAdministrator(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId) throws IOException, SQLException Regular user may only access the networks for their own or subaccount sets.- Specified by:
getTableAdministrator
in classTableHandler.GetTableHandlerByRole
- Throws:
IOException
SQLException
-