public abstract class AbstractValueDAO extends TimeCreator
AbstractValue
TimeCreator.MinMax
Constructor and Description |
---|
AbstractValueDAO() |
Modifier and Type | Method and Description |
---|---|
protected void |
addChunkValuesToCriteria(org.hibernate.Criteria c,
int chunkSize,
int currentRow)
Add chunk information to
Criteria |
protected org.hibernate.Criteria |
addIndeterminateTimeRestriction(org.hibernate.Criteria c,
SosConstants.SosIndeterminateTime sosIndeterminateTime)
Add an indeterminate time restriction to a criteria.
|
protected void |
checkAndAddSpatialFilteringProfileCriterion(org.hibernate.Criteria c,
GetObservationRequest request,
org.hibernate.Session session)
Check if a Spatial Filtering Profile filter is requested and add to
criteria
|
protected org.hibernate.criterion.Projection |
getIndeterminateTimeExtremaProjection(SosConstants.SosIndeterminateTime indetTime)
Get projection for
SosConstants.SosIndeterminateTime value |
protected String |
getIndeterminateTimeFilterProperty(SosConstants.SosIndeterminateTime indetTime)
Get the AbstractValue property to filter on for an
SosConstants.SosIndeterminateTime |
addMinMaxProjection, createTimePeriod
protected void checkAndAddSpatialFilteringProfileCriterion(org.hibernate.Criteria c, GetObservationRequest request, org.hibernate.Session session) throws OwsExceptionReport
c
- Criteria to add crtierionrequest
- GetObservation requestsession
- Hiberante SessionOwsExceptionReport
- If Spatial Filteirng Profile is not supported or an error
occurs.protected org.hibernate.Criteria addIndeterminateTimeRestriction(org.hibernate.Criteria c, SosConstants.SosIndeterminateTime sosIndeterminateTime)
c
- Criteria to add the restriction tososIndeterminateTime
- Indeterminate time restriction to addprotected org.hibernate.criterion.Projection getIndeterminateTimeExtremaProjection(SosConstants.SosIndeterminateTime indetTime)
SosConstants.SosIndeterminateTime
valueindetTime
- Value to get projection forprotected String getIndeterminateTimeFilterProperty(SosConstants.SosIndeterminateTime indetTime)
SosConstants.SosIndeterminateTime
indetTime
- Value to get property forprotected void addChunkValuesToCriteria(org.hibernate.Criteria c, int chunkSize, int currentRow)
Criteria
c
- Criteria
to add informationchunkSize
- Chunk sizecurrentRow
- Start rowCopyright © 2012-2014 52north.org. All Rights Reserved.