@Service @Transactional(readOnly=true) public class EgBillSubTypeService extends Object
| Constructor and Description |
|---|
EgBillSubTypeService(EgBillSubTypeRepository egBillSubTypeRepository) |
| Modifier and Type | Method and Description |
|---|---|
EgBillSubType |
create(EgBillSubType egBillSubType) |
List<EgBillSubType> |
getByExpenditureType(String expenditureType) |
EgBillSubType |
getByExpenditureTypeAndName(String expenditureType,
String name) |
EgBillSubType |
getById(Long id) |
org.hibernate.Session |
getCurrentSession() |
EgBillSubType |
update(EgBillSubType egBillSubType) |
@Autowired public EgBillSubTypeService(EgBillSubTypeRepository egBillSubTypeRepository)
public org.hibernate.Session getCurrentSession()
public EgBillSubType getById(Long id)
public List<EgBillSubType> getByExpenditureType(String expenditureType)
public EgBillSubType getByExpenditureTypeAndName(String expenditureType, String name)
@Transactional public EgBillSubType create(EgBillSubType egBillSubType)
@Transactional public EgBillSubType update(EgBillSubType egBillSubType)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.