@Service @Transactional(readOnly=true) public class RelationJpaService extends Object
| Constructor and Description |
|---|
RelationJpaService(RelationRepository relationRepository) |
| Modifier and Type | Method and Description |
|---|---|
Relation |
create(Relation relation) |
List<Relation> |
findAll() |
Relation |
findByCode(String code) |
Relation |
findByName(String name) |
Relation |
findOne(Integer id) |
List<Relation> |
search(Relation relation) |
Relation |
update(Relation relation) |
@Autowired public RelationJpaService(RelationRepository relationRepository)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.