Package org.openwms.transactions
Interface TransactionService
- All Superinterfaces:
Persistable<Transaction>
- All Known Implementing Classes:
TransactionServiceImpl
A TransactionService.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<Transaction> findAll()Find and return allTransactioninstances.@NotNull TransactionfindByPKeyOrThrow(@NotBlank String pKey) Find and return aTransaction.@NotNull List<Transaction> findByType(@NotBlank String type) Find and return allTransactionentries of the giventype.Methods inherited from interface org.openwms.transactions.Persistable
persist, persist
-
Method Details
-
findAll
Find and return allTransactioninstances.- Returns:
- All instances, never null
-
findByType
Find and return allTransactionentries of the giventype.- Parameters:
type- The type to search for- Returns:
- All existing entries, never null
-
findByPKeyOrThrow
Find and return aTransaction.- Parameters:
pKey- The persistent key of the Transaction- Returns:
- The instance
- Throws:
org.ameba.exception.NotFoundException- if no Transaction exists
-