@Service
@Transactional
public class EntityWithServiceClassAndDTOService
extends java.lang.Object
| Constructor and Description |
|---|
EntityWithServiceClassAndDTOService(EntityWithServiceClassAndDTORepository entityWithServiceClassAndDTORepository,
EntityWithServiceClassAndDTOMapper entityWithServiceClassAndDTOMapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(java.lang.Long id)
Delete the entityWithServiceClassAndDTO by id.
|
java.util.List<EntityWithServiceClassAndDTODTO> |
findAll()
Get all the entityWithServiceClassAndDTOS.
|
EntityWithServiceClassAndDTODTO |
findOne(java.lang.Long id)
Get one entityWithServiceClassAndDTO by id.
|
EntityWithServiceClassAndDTODTO |
save(EntityWithServiceClassAndDTODTO entityWithServiceClassAndDTODTO)
Save a entityWithServiceClassAndDTO.
|
public EntityWithServiceClassAndDTOService(EntityWithServiceClassAndDTORepository entityWithServiceClassAndDTORepository, EntityWithServiceClassAndDTOMapper entityWithServiceClassAndDTOMapper)
public EntityWithServiceClassAndDTODTO save(EntityWithServiceClassAndDTODTO entityWithServiceClassAndDTODTO)
entityWithServiceClassAndDTODTO - the entity to save@Transactional(readOnly=true) public java.util.List<EntityWithServiceClassAndDTODTO> findAll()
@Transactional(readOnly=true) public EntityWithServiceClassAndDTODTO 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.