Interface AcmeAccountService

    • Method Detail

      • save

        AcmeAccount save​(AcmeAccount aCMEAccount)
        Save a aCMEAccount.
        Parameters:
        aCMEAccount - the entity to save.
        Returns:
        the persisted entity.
      • findAll

        List<AcmeAccount> findAll()
        Get all the aCMEAccounts.
        Returns:
        the list of entities.
      • findOne

        Optional<AcmeAccount> findOne​(Long id)
        Get the "id" aCMEAccount.
        Parameters:
        id - the id of the entity.
        Returns:
        the entity.
      • findOneByAccountId

        Optional<AcmeAccount> findOneByAccountId​(Long accountId)
        Get the "accountId" aCMEAccount.
        Parameters:
        accountId - the accountId of the account.
        Returns:
        the entity.
      • delete

        void delete​(Long id)
        Delete the "id" aCMEAccount.
        Parameters:
        id - the id of the entity.