Interface SapMappedDestinationService<T extends AbstractDestinationModel>
- Type Parameters:
T- the type parameter which extends theAbstractDestinationModeltype
- All Known Implementing Classes:
DefaultSapMappedDestinationService
public interface SapMappedDestinationService<T extends AbstractDestinationModel>
Service layer interface for destinations
-
Method Summary
Modifier and TypeMethodDescriptiongetDestinationByKeyForBaseStore(BaseStoreModel baseStoreModel, SAPDestinationKey destinationKey) Get the destination for a specific destination key from SAPConsumedDestinationEntry
-
Method Details
-
getDestinationByKeyForBaseStore
Optional<T> getDestinationByKeyForBaseStore(BaseStoreModel baseStoreModel, SAPDestinationKey destinationKey) Get the destination for a specific destination key from SAPConsumedDestinationEntry- Parameters:
baseStoreModel- a BaseStoreModeldestinationKey- destination key to fetch associated consumed destination- Returns:
- Optional.empty() if no destination found and Optional.of(destination) if destination found
-