Package de.trustable.ca3s.core.service
Interface AcmeChallengeService
-
- All Known Implementing Classes:
AcmeChallengeServiceImpl
public interface AcmeChallengeServiceService Interface for managingAcmeChallenge.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(Long id)Delete the "id" acmeChallenge.List<AcmeChallenge>findAll()Get all the acmeChallenges.Optional<AcmeChallenge>findOne(Long id)Get the "id" acmeChallenge.AcmeChallengesave(AcmeChallenge acmeChallenge)Save a acmeChallenge.
-
-
-
Method Detail
-
save
AcmeChallenge save(AcmeChallenge acmeChallenge)
Save a acmeChallenge.- Parameters:
acmeChallenge- the entity to save.- Returns:
- the persisted entity.
-
findAll
List<AcmeChallenge> findAll()
Get all the acmeChallenges.- Returns:
- the list of entities.
-
findOne
Optional<AcmeChallenge> findOne(Long id)
Get the "id" acmeChallenge.- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
void delete(Long id)
Delete the "id" acmeChallenge.- Parameters:
id- the id of the entity.
-
-