@Service
@Transactional
public class EntityWithServiceClassPaginationAndDTOService
extends java.lang.Object
Constructor and Description |
---|
EntityWithServiceClassPaginationAndDTOService(EntityWithServiceClassPaginationAndDTORepository entityWithServiceClassPaginationAndDTORepository,
EntityWithServiceClassPaginationAndDTOMapper entityWithServiceClassPaginationAndDTOMapper) |
Modifier and Type | Method and Description |
---|---|
void |
delete(java.lang.Long id)
Delete the entityWithServiceClassPaginationAndDTO by id.
|
org.springframework.data.domain.Page<EntityWithServiceClassPaginationAndDTODTO> |
findAll(org.springframework.data.domain.Pageable pageable)
Get all the entityWithServiceClassPaginationAndDTOS.
|
EntityWithServiceClassPaginationAndDTODTO |
findOne(java.lang.Long id)
Get one entityWithServiceClassPaginationAndDTO by id.
|
EntityWithServiceClassPaginationAndDTODTO |
save(EntityWithServiceClassPaginationAndDTODTO entityWithServiceClassPaginationAndDTODTO)
Save a entityWithServiceClassPaginationAndDTO.
|
public EntityWithServiceClassPaginationAndDTOService(EntityWithServiceClassPaginationAndDTORepository entityWithServiceClassPaginationAndDTORepository, EntityWithServiceClassPaginationAndDTOMapper entityWithServiceClassPaginationAndDTOMapper)
public EntityWithServiceClassPaginationAndDTODTO save(EntityWithServiceClassPaginationAndDTODTO entityWithServiceClassPaginationAndDTODTO)
entityWithServiceClassPaginationAndDTODTO
- the entity to save@Transactional(readOnly=true) public org.springframework.data.domain.Page<EntityWithServiceClassPaginationAndDTODTO> findAll(org.springframework.data.domain.Pageable pageable)
pageable
- the pagination information@Transactional(readOnly=true) public EntityWithServiceClassPaginationAndDTODTO findOne(java.lang.Long id)
id
- the id of the entitypublic void delete(java.lang.Long id)
id
- the id of the entityCopyright © 2017 Osgiliath. All rights reserved.