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 theUpdateWarehouseHandlerexecution, may be used to provide custom warehouse update logic.Default implementation of this callback calls the
PUBLIC.UPDATE_WAREHOUSE_INTERNALprocedure.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectorResponseexecute(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
OKif the execution was successful, otherwise a response with an error code and an error message
-
-