Package de.trustable.ca3s.core.service
Interface AcmeContactService
-
- All Known Implementing Classes:
AcmeContactServiceImpl
public interface AcmeContactServiceService Interface for managingAcmeContact.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(Long id)Delete the "id" acmeContact.List<AcmeContact>findAll()Get all the acmeContacts.Optional<AcmeContact>findOne(Long id)Get the "id" acmeContact.AcmeContactsave(AcmeContact acmeContact)Save a acmeContact.
-
-
-
Method Detail
-
save
AcmeContact save(AcmeContact acmeContact)
Save a acmeContact.- Parameters:
acmeContact- the entity to save.- Returns:
- the persisted entity.
-
findAll
List<AcmeContact> findAll()
Get all the acmeContacts.- Returns:
- the list of entities.
-
findOne
Optional<AcmeContact> findOne(Long id)
Get the "id" acmeContact.- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
void delete(Long id)
Delete the "id" acmeContact.- Parameters:
id- the id of the entity.
-
-