@Service @Transactional public class EntityWithServiceImplServiceImpl extends java.lang.Object implements EntityWithServiceImplService
Constructor and Description |
---|
EntityWithServiceImplServiceImpl(EntityWithServiceImplRepository entityWithServiceImplRepository) |
Modifier and Type | Method and Description |
---|---|
void |
delete(java.lang.Long id)
Delete the entityWithServiceImpl by id.
|
java.util.List<EntityWithServiceImpl> |
findAll()
Get all the entityWithServiceImpls.
|
EntityWithServiceImpl |
findOne(java.lang.Long id)
Get one entityWithServiceImpl by id.
|
EntityWithServiceImpl |
save(EntityWithServiceImpl entityWithServiceImpl)
Save a entityWithServiceImpl.
|
public EntityWithServiceImplServiceImpl(EntityWithServiceImplRepository entityWithServiceImplRepository)
public EntityWithServiceImpl save(EntityWithServiceImpl entityWithServiceImpl)
save
in interface EntityWithServiceImplService
entityWithServiceImpl
- the entity to save@Transactional(readOnly=true) public java.util.List<EntityWithServiceImpl> findAll()
findAll
in interface EntityWithServiceImplService
@Transactional(readOnly=true) public EntityWithServiceImpl findOne(java.lang.Long id)
findOne
in interface EntityWithServiceImplService
id
- the id of the entitypublic void delete(java.lang.Long id)
delete
in interface EntityWithServiceImplService
id
- the id of the entityCopyright © 2017 Osgiliath. All rights reserved.