@Service
@Transactional
public class EntityWithServiceClassService
extends java.lang.Object
Constructor and Description |
---|
EntityWithServiceClassService(EntityWithServiceClassRepository entityWithServiceClassRepository) |
Modifier and Type | Method and Description |
---|---|
void |
delete(java.lang.Long id)
Delete the entityWithServiceClass by id.
|
java.util.List<EntityWithServiceClass> |
findAll()
Get all the entityWithServiceClasses.
|
EntityWithServiceClass |
findOne(java.lang.Long id)
Get one entityWithServiceClass by id.
|
EntityWithServiceClass |
save(EntityWithServiceClass entityWithServiceClass)
Save a entityWithServiceClass.
|
public EntityWithServiceClassService(EntityWithServiceClassRepository entityWithServiceClassRepository)
public EntityWithServiceClass save(EntityWithServiceClass entityWithServiceClass)
entityWithServiceClass
- the entity to save@Transactional(readOnly=true) public java.util.List<EntityWithServiceClass> findAll()
@Transactional(readOnly=true) public EntityWithServiceClass 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.