public class RelatedFeatureDAO extends Object
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
RelatedFeatureDAO() |
Modifier and Type | Method and Description |
---|---|
List<RelatedFeature> |
getOrInsertRelatedFeature(AbstractFeature feature,
List<RelatedFeatureRole> roles,
org.hibernate.Session session)
Insert and get related feature objects.
|
List<RelatedFeature> |
getRelatedFeatureForOffering(String offering,
org.hibernate.Session session)
Get related feature objects for offering identifier
|
List<RelatedFeature> |
getRelatedFeatureObjects(org.hibernate.Session session)
Get all related feature objects
|
List<RelatedFeature> |
getRelatedFeatures(String targetIdentifier,
org.hibernate.Session session)
Get related feature objects for target identifier
|
public List<RelatedFeature> getRelatedFeatureForOffering(String offering, org.hibernate.Session session)
offering
- Offering identifiersession
- Hibernate sessionpublic List<RelatedFeature> getRelatedFeatureObjects(org.hibernate.Session session)
session
- Hibernate sessionpublic List<RelatedFeature> getRelatedFeatures(String targetIdentifier, org.hibernate.Session session)
targetIdentifier
- Target identifiersession
- Hibernate sessionpublic List<RelatedFeature> getOrInsertRelatedFeature(AbstractFeature feature, List<RelatedFeatureRole> roles, org.hibernate.Session session) throws OwsExceptionReport
feature
- Related featureroles
- Related feature role objectssession
- Hibernate sessionOwsExceptionReport
- If an error occursCopyright © 2012-2015 52north.org. All Rights Reserved.