Package de.trustable.ca3s.core.service
Interface AcmeAccountService
-
- All Known Implementing Classes:
AcmeAccountServiceImpl
public interface AcmeAccountServiceService Interface for managingAcmeAccount.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(Long id)Delete the "id" aCMEAccount.List<AcmeAccount>findAll()Get all the aCMEAccounts.Optional<AcmeAccount>findOne(Long id)Get the "id" aCMEAccount.Optional<AcmeAccount>findOneByAccountId(Long accountId)Get the "accountId" aCMEAccount.AcmeAccountsave(AcmeAccount aCMEAccount)Save a aCMEAccount.
-
-
-
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.
-
-