@Repository public class FunctionHibernateDAO extends Object implements FunctionDAO
| Constructor and Description |
|---|
FunctionHibernateDAO() |
| Modifier and Type | Method and Description |
|---|---|
CFunction |
create(CFunction entity) |
void |
delete(CFunction entity) |
List<CFunction> |
findAll() |
CFunction |
findById(Number id,
boolean lock) |
List |
getAllActiveFunctions() |
List |
getAllActiveFunctionsOrderByCode() |
org.hibernate.Session |
getCurrentSession() |
CFunction |
getFunctionByCode(String functionCode) |
CFunction |
getFunctionById(Long Id) |
CFunction |
update(CFunction entity) |
@Transactional public CFunction update(CFunction entity)
update in interface FunctionDAO@Transactional public CFunction create(CFunction entity)
create in interface FunctionDAO@Transactional public void delete(CFunction entity)
delete in interface FunctionDAOpublic CFunction findById(Number id, boolean lock)
findById in interface FunctionDAOpublic List<CFunction> findAll()
findAll in interface FunctionDAOpublic org.hibernate.Session getCurrentSession()
public List getAllActiveFunctions()
getAllActiveFunctions in interface FunctionDAOpublic List getAllActiveFunctionsOrderByCode()
public CFunction getFunctionByCode(String functionCode)
getFunctionByCode in interface FunctionDAOpublic CFunction getFunctionById(Long Id)
getFunctionById in interface FunctionDAOCopyright © 2015–2016 eGovernments Foundation. All rights reserved.