@Service(value="personService") public class PersonServiceImpl extends Object implements PersonService
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
context |
protected PersonDao |
dao |
protected Person |
sample |
| Constructor and Description |
|---|
PersonServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<Person> |
findByCriteria(Person search)
Get a person by criteria represented by a person vith filled fields
|
Person |
getEmptyPerson()
Get a person with no valued fields (for search)
|
@Autowired protected org.springframework.context.ApplicationContext context
@Autowired protected Person sample
@Autowired protected PersonDao dao
public Person getEmptyPerson()
PersonServicegetEmptyPerson in interface PersonServicepublic List<Person> findByCriteria(Person search)
PersonServicefindByCriteria in interface PersonServicesearch - a personCopyright © 2022. All rights reserved.