Interface AccountService

All Known Implementing Classes:
AccountServiceImpl

public interface AccountService
Account Service interface.
  • Method Details

    • createAccount

      Boolean createAccount(Account account)
      Create new account
      Parameters:
      account - the account to be added
      Returns:
      operation result
    • isAccountExist

      Boolean isAccountExist(Account account)
      Check if account exist
      Parameters:
      account - the account to be checked
      Returns:
      operation result
    • findAccountByField

      Account findAccountByField(String field, Object value)
      Find account by field
      Parameters:
      field - field name
      value - unique field value
      Returns:
      found account
    • updateAccount

      Boolean updateAccount(Account account)
      Update account
      Parameters:
      account - account to update
      Returns:
      operation result
    • deleteAccount

      Boolean deleteAccount(Account account)
      Delete account
      Parameters:
      account - account to delete
      Returns:
      operation result