Interface ClusterSafetyDao
-
- All Known Implementing Classes:
HibernateClusterSafetyDao
public interface ClusterSafetyDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
getSafetyNumber()
Returns the current cluster safety number.void
setSafetyNumber(int safetyNumber)
-
-
-
Method Detail
-
getSafetyNumber
@Transactional(propagation=REQUIRES_NEW, readOnly=true) Integer getSafetyNumber()
Returns the current cluster safety number.- Returns:
- the cluster safety number, or null if no cluster safety number exists.
- Throws:
RuntimeException
- if the number is not found in the db,
-
setSafetyNumber
@Transactional(propagation=REQUIRES_NEW) void setSafetyNumber(int safetyNumber)
-
-