Class RequestAttributeServiceImpl
- java.lang.Object
-
- de.trustable.ca3s.core.service.impl.RequestAttributeServiceImpl
-
- All Implemented Interfaces:
RequestAttributeService
@Service @Transactional public class RequestAttributeServiceImpl extends Object implements RequestAttributeService
Service Implementation for managingRequestAttribute.
-
-
Constructor Summary
Constructors Constructor Description RequestAttributeServiceImpl(RequestAttributeRepository requestAttributeRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(Long id)Delete the requestAttribute by id.List<RequestAttribute>findAll()Get all the requestAttributes.Optional<RequestAttribute>findOne(Long id)Get one requestAttribute by id.RequestAttributesave(RequestAttribute requestAttribute)Save a requestAttribute.
-
-
-
Constructor Detail
-
RequestAttributeServiceImpl
public RequestAttributeServiceImpl(RequestAttributeRepository requestAttributeRepository)
-
-
Method Detail
-
save
public RequestAttribute save(RequestAttribute requestAttribute)
Save a requestAttribute.- Specified by:
savein interfaceRequestAttributeService- Parameters:
requestAttribute- the entity to save.- Returns:
- the persisted entity.
-
findAll
@Transactional(readOnly=true) public List<RequestAttribute> findAll()
Get all the requestAttributes.- Specified by:
findAllin interfaceRequestAttributeService- Returns:
- the list of entities.
-
findOne
@Transactional(readOnly=true) public Optional<RequestAttribute> findOne(Long id)
Get one requestAttribute by id.- Specified by:
findOnein interfaceRequestAttributeService- Parameters:
id- the id of the entity.- Returns:
- the entity.
-
delete
public void delete(Long id)
Delete the requestAttribute by id.- Specified by:
deletein interfaceRequestAttributeService- Parameters:
id- the id of the entity.
-
-