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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Permission.NameGets the permission that is required to query this table.protected voidgetTableAdministratorHasPermission(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId) Handles anAdministratorrequest for the given table, once permission has been verified, with access limited by their set ofaccountsand thehoststhose accounts can access (seeAccountHost.protected voidgetTableDaemonHasPermission(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser, UserHost[] masterServers) Handles amaster userrequest for the given table, once permission has been verified, with access limited to a set ofhosts.Gets the set of tables handled.protected voidgetTableMasterHasPermission(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, Table.TableId tableId, User masterUser) Handles amaster userrequest for the given table, once permission has been verified, with access to allaccountsandhosts.Methods inherited from class com.aoindustries.aoserv.master.TableHandler.GetTableHandlerPermissionByRole
getTableHasPermissionMethods 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.GetTableHandlerGets the set of tables handled. -
getPermissionName
Description copied from class:TableHandler.GetTableHandlerPermissionGets the permission that is required to query this table.- Specified by:
getPermissionNamein 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.GetTableHandlerPermissionByRoleHandles amaster userrequest for the given table, once permission has been verified, with access to allaccountsandhosts.- Specified by:
getTableMasterHasPermissionin classTableHandler.GetTableHandlerPermissionByRole- Throws:
IOExceptionSQLException- 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.GetTableHandlerPermissionByRoleHandles amaster userrequest 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:
getTableDaemonHasPermissionin classTableHandler.GetTableHandlerPermissionByRole- Throws:
IOExceptionSQLException- 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.GetTableHandlerPermissionByRoleHandles anAdministratorrequest for the given table, once permission has been verified, with access limited by their set ofaccountsand thehoststhose accounts can access (seeAccountHost.- Specified by:
getTableAdministratorHasPermissionin classTableHandler.GetTableHandlerPermissionByRole- Throws:
IOExceptionSQLException- See Also:
-
