Interface UpdateWarehouseCallback
-
- All Known Implementing Classes:
InternalUpdateWarehouseCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface UpdateWarehouseCallback
Callback called during theUpdateWarehouseHandler
execution, may be used to provide custom warehouse update logic.Default implementation of this callback calls the
PUBLIC.UPDATE_WAREHOUSE_INTERNAL
procedure.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectorResponse
execute(Identifier warehouse)
Executes logic using the provided warehouse.
-
-
-
Method Detail
-
execute
ConnectorResponse execute(Identifier warehouse)
Executes logic using the provided warehouse.- Parameters:
warehouse
- new warehouse name provided to the handler- Returns:
- a response with the code
OK
if the execution was successful, otherwise a response with an error code and an error message
-
-