@Service
@Transactional
public class EntityWithServiceClassAndPaginationService
extends java.lang.Object
| Constructor and Description |
|---|
EntityWithServiceClassAndPaginationService(EntityWithServiceClassAndPaginationRepository entityWithServiceClassAndPaginationRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(java.lang.Long id)
Delete the entityWithServiceClassAndPagination by id.
|
org.springframework.data.domain.Page<EntityWithServiceClassAndPagination> |
findAll(org.springframework.data.domain.Pageable pageable)
Get all the entityWithServiceClassAndPaginations.
|
EntityWithServiceClassAndPagination |
findOne(java.lang.Long id)
Get one entityWithServiceClassAndPagination by id.
|
EntityWithServiceClassAndPagination |
save(EntityWithServiceClassAndPagination entityWithServiceClassAndPagination)
Save a entityWithServiceClassAndPagination.
|
public EntityWithServiceClassAndPaginationService(EntityWithServiceClassAndPaginationRepository entityWithServiceClassAndPaginationRepository)
public EntityWithServiceClassAndPagination save(EntityWithServiceClassAndPagination entityWithServiceClassAndPagination)
entityWithServiceClassAndPagination - the entity to save@Transactional(readOnly=true) public org.springframework.data.domain.Page<EntityWithServiceClassAndPagination> findAll(org.springframework.data.domain.Pageable pageable)
pageable - the pagination information@Transactional(readOnly=true) public EntityWithServiceClassAndPagination 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.