@Repository public class EmergencyInfoDaoImpl extends Object implements EmergencyInfoDao
Constructor and Description |
---|
EmergencyInfoDaoImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteEmergencyInfoById(Long id) |
List<EmergencyInfoJPAImpl> |
findAllEmergencyInfo() |
List<? extends EmergencyInfo> |
findAllEmergencyInfoByCampus(String campus) |
EmergencyInfo |
findEmergencyInfoById(Long id) |
javax.persistence.EntityManager |
getEntityManager() |
void |
reorder(Long id,
boolean up) |
Long |
saveEmergencyInfo(EmergencyInfo emergencyInfo) |
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
public EmergencyInfoDaoImpl()
public List<EmergencyInfoJPAImpl> findAllEmergencyInfo()
findAllEmergencyInfo
in interface EmergencyInfoDao
public EmergencyInfo findEmergencyInfoById(Long id)
findEmergencyInfoById
in interface EmergencyInfoDao
public List<? extends EmergencyInfo> findAllEmergencyInfoByCampus(String campus)
findAllEmergencyInfoByCampus
in interface EmergencyInfoDao
@Transactional public Long saveEmergencyInfo(EmergencyInfo emergencyInfo)
saveEmergencyInfo
in interface EmergencyInfoDao
@Transactional public void deleteEmergencyInfoById(Long id)
deleteEmergencyInfoById
in interface EmergencyInfoDao
@Transactional public void reorder(Long id, boolean up)
reorder
in interface EmergencyInfoDao
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
Copyright © 2011–2015 The Kuali Foundation. All rights reserved.