Interface TransactionService

All Superinterfaces:
Persistable<Transaction>
All Known Implementing Classes:
TransactionServiceImpl

public interface TransactionService extends Persistable<Transaction>
A TransactionService.
Author:
Heiko Scherrer
  • Method Details

    • findAll

      @NotNull @NotNull List<Transaction> findAll()
      Find and return all Transaction instances.
      Returns:
      All instances, never null
    • findByType

      @NotNull @NotNull List<Transaction> findByType(@NotBlank @NotBlank String type)
      Find and return all Transaction entries of the given type.
      Parameters:
      type - The type to search for
      Returns:
      All existing entries, never null
    • findByPKeyOrThrow

      @NotNull @NotNull Transaction findByPKeyOrThrow(@NotBlank @NotBlank String pKey)
      Find and return a Transaction.
      Parameters:
      pKey - The persistent key of the Transaction
      Returns:
      The instance
      Throws:
      org.ameba.exception.NotFoundException - if no Transaction exists