Class Processor_GetTableHandler
java.lang.Object
com.aoindustries.aoserv.master.TableHandler.GetTableHandlerPermission
com.aoindustries.aoserv.master.TableHandler.GetTableHandlerPermissionByRole
com.aoindustries.aoserv.master.payment.Processor_GetTableHandler
- All Implemented Interfaces:
TableHandler.GetTableHandler
- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Permission.Name
Gets the permission that is required to query this table.protected void
getTableAdministratorHasPermission
(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId) Handles anAdministrator
request for the given table, once permission has been verified, with access limited by their set ofaccounts
and thehosts
those accounts can access (seeAccountHost
.protected void
getTableDaemonHasPermission
(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser, UserHost[] masterServers) Handles amaster user
request for the given table, once permission has been verified, with access limited to a set ofhosts
.Gets the set of tables handled.protected void
getTableMasterHasPermission
(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser) Handles amaster user
request for the given table, once permission has been verified, with access to allaccounts
andhosts
.Methods inherited from class com.aoindustries.aoserv.master.TableHandler.GetTableHandlerPermissionByRole
getTableHasPermission
Methods inherited from class com.aoindustries.aoserv.master.TableHandler.GetTableHandlerPermission
getTable
-
Constructor Details
-
Processor_GetTableHandler
public Processor_GetTableHandler()
-
-
Method Details
-
getTableIds
Description copied from interface:TableHandler.GetTableHandler
Gets the set of tables handled. -
getPermissionName
Description copied from class:TableHandler.GetTableHandlerPermission
Gets the permission that is required to query this table.- Specified by:
getPermissionName
in classTableHandler.GetTableHandlerPermission
-
getTableMasterHasPermission
protected void getTableMasterHasPermission(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser) throws IOException, SQLException Description copied from class:TableHandler.GetTableHandlerPermissionByRole
Handles amaster user
request for the given table, once permission has been verified, with access to allaccounts
andhosts
.- Specified by:
getTableMasterHasPermission
in classTableHandler.GetTableHandlerPermissionByRole
- Throws:
IOException
SQLException
- See Also:
-
getTableDaemonHasPermission
protected void getTableDaemonHasPermission(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser, UserHost[] masterServers) throws IOException, SQLException Description copied from class:TableHandler.GetTableHandlerPermissionByRole
Handles amaster user
request for the given table, once permission has been verified, with access limited to a set ofhosts
. This is the filtering generally used by AOServ Daemon.- Specified by:
getTableDaemonHasPermission
in classTableHandler.GetTableHandlerPermissionByRole
- Throws:
IOException
SQLException
- See Also:
-
getTableAdministratorHasPermission
protected void getTableAdministratorHasPermission(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId) throws IOException, SQLException Description copied from class:TableHandler.GetTableHandlerPermissionByRole
Handles anAdministrator
request for the given table, once permission has been verified, with access limited by their set ofaccounts
and thehosts
those accounts can access (seeAccountHost
.- Specified by:
getTableAdministratorHasPermission
in classTableHandler.GetTableHandlerPermissionByRole
- Throws:
IOException
SQLException
- See Also:
-