Class ImportedURLServiceImpl
- java.lang.Object
-
- de.trustable.ca3s.core.service.impl.ImportedURLServiceImpl
-
- All Implemented Interfaces:
ImportedURLService
@Service @Transactional public class ImportedURLServiceImpl extends Object implements ImportedURLService
Service Implementation for managingImportedURL.
-
-
Constructor Summary
Constructors Constructor Description ImportedURLServiceImpl(ImportedURLRepository importedURLRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(Long id)Delete the importedURL by id.List<ImportedURL>findAll()Get all the importedURLS.Optional<ImportedURL>findOne(Long id)Get one importedURL by id.ImportedURLsave(ImportedURL importedURL)Save a importedURL.
-
-
-
Constructor Detail
-
ImportedURLServiceImpl
public ImportedURLServiceImpl(ImportedURLRepository importedURLRepository)
-
-
Method Detail
-
save
public ImportedURL save(ImportedURL importedURL)
Save a importedURL.- Specified by:
savein interfaceImportedURLService- Parameters:
importedURL- the entity to save.- Returns:
- the persisted entity.
-
findAll
@Transactional(readOnly=true) public List<ImportedURL> findAll()
Get all the importedURLS.- Specified by:
findAllin interfaceImportedURLService- Returns:
- the list of entities.
-
findOne
@Transactional(readOnly=true) public Optional<ImportedURL> findOne(Long id)
Get one importedURL by id.- Specified by:
findOnein interfaceImportedURLService- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
public void delete(Long id)
Delete the importedURL by id.- Specified by:
deletein interfaceImportedURLService- Parameters:
id- the id of the entity.
-
-