Class AcmeIdentifierServiceImpl
- java.lang.Object
-
- de.trustable.ca3s.core.service.impl.AcmeIdentifierServiceImpl
-
- All Implemented Interfaces:
AcmeIdentifierService
@Service @Transactional public class AcmeIdentifierServiceImpl extends Object implements AcmeIdentifierService
Service Implementation for managingAcmeIdentifier.
-
-
Constructor Summary
Constructors Constructor Description AcmeIdentifierServiceImpl(AcmeIdentifierRepository acmeIdentifierRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(Long id)Delete the acmeIdentifier by id.List<AcmeIdentifier>findAll()Get all the acmeIdentifiers.Optional<AcmeIdentifier>findOne(Long id)Get one acmeIdentifier by id.AcmeIdentifiersave(AcmeIdentifier acmeIdentifier)Save a acmeIdentifier.
-
-
-
Constructor Detail
-
AcmeIdentifierServiceImpl
public AcmeIdentifierServiceImpl(AcmeIdentifierRepository acmeIdentifierRepository)
-
-
Method Detail
-
save
public AcmeIdentifier save(AcmeIdentifier acmeIdentifier)
Save a acmeIdentifier.- Specified by:
savein interfaceAcmeIdentifierService- Parameters:
acmeIdentifier- the entity to save.- Returns:
- the persisted entity.
-
findAll
@Transactional(readOnly=true) public List<AcmeIdentifier> findAll()
Get all the acmeIdentifiers.- Specified by:
findAllin interfaceAcmeIdentifierService- Returns:
- the list of entities.
-
findOne
@Transactional(readOnly=true) public Optional<AcmeIdentifier> findOne(Long id)
Get one acmeIdentifier by id.- Specified by:
findOnein interfaceAcmeIdentifierService- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
public void delete(Long id)
Delete the acmeIdentifier by id.- Specified by:
deletein interfaceAcmeIdentifierService- Parameters:
id- the id of the entity.
-
-