Class LimiterSet_GetTableHandler
java.lang.Object
com.aoindustries.aoserv.master.TableHandler.GetTableHandlerByRole
com.aoindustries.aoserv.master.net.reputation.LimiterSet_GetTableHandler
- All Implemented Interfaces:
TableHandler.GetTableHandler
- Author:
- AO Industries, Inc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
getTableAdministrator
(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId) Regular user may access the limiters for servers they have direct access to.protected void
getTableDaemon
(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser, UserHost[] masterServers) Router may access all 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 limiters.Methods inherited from class com.aoindustries.aoserv.master.TableHandler.GetTableHandlerByRole
getTable
-
Constructor Details
-
LimiterSet_GetTableHandler
public LimiterSet_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 limiters.- 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 limiters in the same server farm. Non-router daemon may not access any reputation limiters.- 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 access the limiters for servers they have direct access to.- Specified by:
getTableAdministrator
in classTableHandler.GetTableHandlerByRole
- Throws:
IOException
SQLException
-