Class Set_GetTableHandler
java.lang.Object
com.aoindustries.aoserv.master.TableHandler.GetTableHandlerByRole
com.aoindustries.aoserv.master.net.reputation.Set_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) Regular user may access their own or subaccount sets, as well as any parent account set that allows subaccount use.protected voidgetTableDaemon(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 voidgetTableMaster(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
-
Set_GetTableHandler
public Set_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 Admin may access all sets.- 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 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:
getTableDaemonin classTableHandler.GetTableHandlerByRole- Throws:
IOExceptionSQLException- See Also:
-
getTableAdministrator
protected void getTableAdministrator(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId) throws IOException, SQLException Regular user may access their own or subaccount sets, as well as any parent account set that allows subaccount use.- Specified by:
getTableAdministratorin classTableHandler.GetTableHandlerByRole- Throws:
IOExceptionSQLException
-
