Interface WingsTableCudHandler
-
- All Implemented Interfaces:
public interface WingsTableCudHandler- Since:
2021-06-12
trydofor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumWingsTableCudHandler.Cudpublic interfaceWingsTableCudHandler.AutoAuto Handler
-
Method Summary
Modifier and Type Method Description abstract voidhandle(@NotNull() Class<out Object> source, @NotNull() WingsTableCudHandler.Cud cud, @NotNull() String table, @NotNull() Supplier<Map<String, List<out Object>>> field)Handle table changes, light task or async are recommended, voidhandle(@NotNull() Class<out Object> source, @NotNull() WingsTableCudHandler.Cud cud, @NotNull() Table<out Object> table, @NotNull() Supplier<Map<String, List<out Object>>> field)voidhandle(@NotNull() Class<out Object> source, @NotNull() WingsTableCudHandler.Cud cud, @NotNull() String table, @NotNull() Map<String, List<out Object>> field)voidhandle(@NotNull() Class<out Object> source, @NotNull() WingsTableCudHandler.Cud cud, @NotNull() Table<out Object> table, @NotNull() Map<String, List<out Object>> field)voidhandle(@NotNull() Class<out Object> source, @NotNull() WingsTableCudHandler.Cud cud, @NotNull() String table)Handle table changes, light task or async are recommended. voidhandle(@NotNull() Class<out Object> source, @NotNull() WingsTableCudHandler.Cud cud, @NotNull() Table<out Object> table)voidregister(@NotNull() WingsTableCudHandler.Auto auto)Register an auto handler to handle table changes instead of doing it manually. -
-
Method Detail
-
handle
abstract void handle(@NotNull() Class<out Object> source, @NotNull() WingsTableCudHandler.Cud cud, @NotNull() String table, @NotNull() Supplier<Map<String, List<out Object>>> field)
Handle table changes, light task or async are recommended,
- Parameters:
source- event sourcecud- typetable- case-sensitive table namefield- field and its changes
-
handle
void handle(@NotNull() Class<out Object> source, @NotNull() WingsTableCudHandler.Cud cud, @NotNull() Table<out Object> table, @NotNull() Supplier<Map<String, List<out Object>>> field)
-
handle
void handle(@NotNull() Class<out Object> source, @NotNull() WingsTableCudHandler.Cud cud, @NotNull() String table, @NotNull() Map<String, List<out Object>> field)
-
handle
void handle(@NotNull() Class<out Object> source, @NotNull() WingsTableCudHandler.Cud cud, @NotNull() Table<out Object> table, @NotNull() Map<String, List<out Object>> field)
-
handle
void handle(@NotNull() Class<out Object> source, @NotNull() WingsTableCudHandler.Cud cud, @NotNull() String table)
Handle table changes, light task or async are recommended. empty field as default.
- Parameters:
source- event sourcecud- typetable- case-sensitive table name
-
handle
void handle(@NotNull() Class<out Object> source, @NotNull() WingsTableCudHandler.Cud cud, @NotNull() Table<out Object> table)
-
register
void register(@NotNull() WingsTableCudHandler.Auto auto)
Register an auto handler to handle table changes instead of doing it manually.
- Parameters:
auto- the handler to register
-
-
-
-