org.gcube.portlets.user.speciesdiscovery.server.service
Class TaxonomyItemConverter
java.lang.Object
org.gcube.portlets.user.speciesdiscovery.server.service.TaxonomyItemConverter
- All Implemented Interfaces:
- Converter<org.gcube.data.spd.model.products.TaxonomyItem,TaxonomyRow>
public class TaxonomyItemConverter
- extends Object
- implements Converter<org.gcube.data.spd.model.products.TaxonomyItem,TaxonomyRow>
- Author:
- Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
Field Summary |
protected int |
id
|
protected org.apache.log4j.Logger |
logger
|
Constructor Summary |
TaxonomyItemConverter(org.gcube.application.framework.core.session.ASLSession session)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.apache.log4j.Logger logger
id
protected int id
TaxonomyItemConverter
public TaxonomyItemConverter(org.gcube.application.framework.core.session.ASLSession session)
- Parameters:
dataProviderId
-
convert
public TaxonomyRow convert(org.gcube.data.spd.model.products.TaxonomyItem input)
throws Exception
- Specified by:
convert
in interface Converter<org.gcube.data.spd.model.products.TaxonomyItem,TaxonomyRow>
- Throws:
Exception
createTaxonomyRow
protected TaxonomyRow createTaxonomyRow(org.gcube.data.spd.model.products.TaxonomyItem input)
throws Exception
- Throws:
Exception
convertParentsTaxonomy
protected List<TaxonomyRow> convertParentsTaxonomy(org.gcube.data.spd.model.products.TaxonomyItem taxon)
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.