public class EReportingSamplingPointDAO extends AbstractIdentifierNameDescriptionDAO
EReportingSamplingPoint
TimeCreator.MinMax
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
EReportingSamplingPointDAO() |
Modifier and Type | Method and Description |
---|---|
org.hibernate.Criteria |
getDefaultCriteria(org.hibernate.Session session)
Get default Hibernate Criteria for querying sampling point
|
EReportingSamplingPoint |
getEReportingSamplingPoint(long samplingPointId,
org.hibernate.Session session)
Get the
EReportingSamplingPoint for the id |
EReportingSamplingPoint |
getEReportingSamplingPoint(String identifier,
org.hibernate.Session session)
Get the
EReportingSamplingPoint for the identifier |
EReportingSamplingPoint |
getOrInsert(AqdSamplingPoint samplingPoint,
org.hibernate.Session session)
Get or insert
AqdSamplingPoint |
addDescription, addIdentifier, addIdentifierNameDescription, addName, getAndAddIdentifierNameDescription, getDescription, getIdentifier, getName, insertNameAndDescription, insertNames
addMinMaxProjection, createTimePeriod
public org.hibernate.Criteria getDefaultCriteria(org.hibernate.Session session)
session
- Hibernate Sessionpublic EReportingSamplingPoint getEReportingSamplingPoint(long samplingPointId, org.hibernate.Session session)
EReportingSamplingPoint
for the idsamplingPointId
- Id to get EReportingSamplingPoint
forsession
- Hibernate sessionEReportingSamplingPoint
public EReportingSamplingPoint getEReportingSamplingPoint(String identifier, org.hibernate.Session session)
EReportingSamplingPoint
for the identifieridentifier
- Identifier to get EReportingSamplingPoint
forsession
- Hibernate sessionEReportingSamplingPoint
public EReportingSamplingPoint getOrInsert(AqdSamplingPoint samplingPoint, org.hibernate.Session session)
AqdSamplingPoint
samplingPoint
- AqdSamplingPoint
to insertsession
- Hibernate sessionEReportingSamplingPoint
Copyright © 2012-2015 52north.org. All Rights Reserved.