@Service @Transactional public class EntityWithServiceImplAndPaginationServiceImpl extends java.lang.Object implements EntityWithServiceImplAndPaginationService
Constructor and Description |
---|
EntityWithServiceImplAndPaginationServiceImpl(EntityWithServiceImplAndPaginationRepository entityWithServiceImplAndPaginationRepository) |
Modifier and Type | Method and Description |
---|---|
void |
delete(java.lang.Long id)
Delete the entityWithServiceImplAndPagination by id.
|
org.springframework.data.domain.Page<EntityWithServiceImplAndPagination> |
findAll(org.springframework.data.domain.Pageable pageable)
Get all the entityWithServiceImplAndPaginations.
|
EntityWithServiceImplAndPagination |
findOne(java.lang.Long id)
Get one entityWithServiceImplAndPagination by id.
|
EntityWithServiceImplAndPagination |
save(EntityWithServiceImplAndPagination entityWithServiceImplAndPagination)
Save a entityWithServiceImplAndPagination.
|
public EntityWithServiceImplAndPaginationServiceImpl(EntityWithServiceImplAndPaginationRepository entityWithServiceImplAndPaginationRepository)
public EntityWithServiceImplAndPagination save(EntityWithServiceImplAndPagination entityWithServiceImplAndPagination)
save
in interface EntityWithServiceImplAndPaginationService
entityWithServiceImplAndPagination
- the entity to save@Transactional(readOnly=true) public org.springframework.data.domain.Page<EntityWithServiceImplAndPagination> findAll(org.springframework.data.domain.Pageable pageable)
findAll
in interface EntityWithServiceImplAndPaginationService
pageable
- the pagination information@Transactional(readOnly=true) public EntityWithServiceImplAndPagination findOne(java.lang.Long id)
findOne
in interface EntityWithServiceImplAndPaginationService
id
- the id of the entitypublic void delete(java.lang.Long id)
delete
in interface EntityWithServiceImplAndPaginationService
id
- the id of the entityCopyright © 2017 Osgiliath. All rights reserved.