@Service @Transactional(readOnly=true) public class ChairPersonService extends Object
| Constructor and Description |
|---|
ChairPersonService(ChairPersonRepository chairPersonRepository) |
| Modifier and Type | Method and Description |
|---|---|
ChairPerson |
createChairPerson(ChairPerson chairPerson) |
List<ChairPerson> |
findAll() |
ChairPerson |
findById(Long id) |
ChairPerson |
getActiveChairPerson() |
ChairPerson |
getActiveChairPersonAsOnCurrentDate() |
ChairPerson |
getActiveChairPersonByCurrentDate() |
org.springframework.data.domain.Page<ChairPerson> |
getListOfChairPersons(Integer pageNumber,
Integer pageSize) |
ChairPerson |
load(Long id) |
void |
updateChairPerson(ChairPerson chairPerson) |
@Autowired public ChairPersonService(ChairPersonRepository chairPersonRepository)
public ChairPerson findById(Long id)
public List<ChairPerson> findAll()
public ChairPerson load(Long id)
public ChairPerson getActiveChairPersonAsOnCurrentDate()
public ChairPerson getActiveChairPerson()
public ChairPerson getActiveChairPersonByCurrentDate()
public org.springframework.data.domain.Page<ChairPerson> getListOfChairPersons(Integer pageNumber, Integer pageSize)
@Transactional public ChairPerson createChairPerson(ChairPerson chairPerson)
@Transactional public void updateChairPerson(ChairPerson chairPerson)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.