public class TableService extends Object
| Constructor and Description |
|---|
TableService(TableServiceConfig config) |
TableService(TableServiceConfig config,
String configName) |
| Modifier and Type | Method and Description |
|---|---|
Ticket |
assignCheck(int tableNumber,
int checkId) |
Ticket |
assignCheck(int tableNumber,
int checkId,
Date startTime) |
ServerAssignmentResponse |
assignShift(ShiftAssignments shiftData) |
String[] |
getBumpStatuses() |
ServerAssignmentResponse |
getServerAssignments() |
ServerAssignmentResponse |
getServerAssignments(int tableNumber) |
ServerAssignmentResponse |
getServerAssignments(String serverName) |
ServerListResponse |
getServerList() |
LoginResponse |
login(String username,
String password) |
Ticket |
queryCheckStatus(int checkId) |
Ticket |
queryTableStatus(int tableNumber) |
ServerListResponse |
updateServerList(String... serverList) |
public TableService(TableServiceConfig config) throws ApiException
ApiExceptionpublic TableService(TableServiceConfig config, String configName) throws ApiException
ApiExceptionpublic String[] getBumpStatuses() throws ApiException
ApiExceptionpublic LoginResponse login(String username, String password) throws ApiException
ApiExceptionpublic Ticket assignCheck(int tableNumber, int checkId) throws ApiException
ApiExceptionpublic Ticket assignCheck(int tableNumber, int checkId, Date startTime) throws ApiException
ApiExceptionpublic Ticket queryTableStatus(int tableNumber) throws ApiException
ApiExceptionpublic Ticket queryCheckStatus(int checkId) throws ApiException
ApiExceptionpublic ServerListResponse getServerList() throws ApiException
ApiExceptionpublic ServerListResponse updateServerList(String... serverList) throws ApiException
ApiExceptionpublic ServerAssignmentResponse getServerAssignments() throws ApiException
ApiExceptionpublic ServerAssignmentResponse getServerAssignments(String serverName) throws ApiException
ApiExceptionpublic ServerAssignmentResponse getServerAssignments(int tableNumber) throws ApiException
ApiExceptionpublic ServerAssignmentResponse assignShift(ShiftAssignments shiftData) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.