@Service @Transactional public class EntityWithServiceImplPaginationAndDTOServiceImpl extends java.lang.Object implements EntityWithServiceImplPaginationAndDTOService
Constructor and Description |
---|
EntityWithServiceImplPaginationAndDTOServiceImpl(EntityWithServiceImplPaginationAndDTORepository entityWithServiceImplPaginationAndDTORepository,
EntityWithServiceImplPaginationAndDTOMapper entityWithServiceImplPaginationAndDTOMapper) |
Modifier and Type | Method and Description |
---|---|
void |
delete(java.lang.Long id)
Delete the entityWithServiceImplPaginationAndDTO by id.
|
org.springframework.data.domain.Page<EntityWithServiceImplPaginationAndDTODTO> |
findAll(org.springframework.data.domain.Pageable pageable)
Get all the entityWithServiceImplPaginationAndDTOS.
|
EntityWithServiceImplPaginationAndDTODTO |
findOne(java.lang.Long id)
Get one entityWithServiceImplPaginationAndDTO by id.
|
EntityWithServiceImplPaginationAndDTODTO |
save(EntityWithServiceImplPaginationAndDTODTO entityWithServiceImplPaginationAndDTODTO)
Save a entityWithServiceImplPaginationAndDTO.
|
public EntityWithServiceImplPaginationAndDTOServiceImpl(EntityWithServiceImplPaginationAndDTORepository entityWithServiceImplPaginationAndDTORepository, EntityWithServiceImplPaginationAndDTOMapper entityWithServiceImplPaginationAndDTOMapper)
public EntityWithServiceImplPaginationAndDTODTO save(EntityWithServiceImplPaginationAndDTODTO entityWithServiceImplPaginationAndDTODTO)
save
in interface EntityWithServiceImplPaginationAndDTOService
entityWithServiceImplPaginationAndDTODTO
- the entity to save@Transactional(readOnly=true) public org.springframework.data.domain.Page<EntityWithServiceImplPaginationAndDTODTO> findAll(org.springframework.data.domain.Pageable pageable)
findAll
in interface EntityWithServiceImplPaginationAndDTOService
pageable
- the pagination information@Transactional(readOnly=true) public EntityWithServiceImplPaginationAndDTODTO findOne(java.lang.Long id)
findOne
in interface EntityWithServiceImplPaginationAndDTOService
id
- the id of the entitypublic void delete(java.lang.Long id)
delete
in interface EntityWithServiceImplPaginationAndDTOService
id
- the id of the entityCopyright © 2017 Osgiliath. All rights reserved.