public class Common extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FETCH_ROUTINE_INTERVAL_MINUTES |
static String |
HELP_FILE |
static String |
IMAGE_JPEG |
static String |
IMAGE_NOT_FOUND_FILE |
static String |
NATIVE_2050_PROP |
static String |
NATIVE_PROP |
static String |
SCOPE_PROP |
static String |
SUITABLE_2050_PROP |
static String |
SUITABLE_PROP |
public static final String IMAGE_JPEG
public static final String SCOPE_PROP
public static final String SUITABLE_PROP
public static final String SUITABLE_2050_PROP
public static final String NATIVE_PROP
public static final String NATIVE_2050_PROP
public static final String HELP_FILE
public static final String IMAGE_NOT_FOUND_FILE
public static final String FETCH_ROUTINE_INTERVAL_MINUTES
public static Common get()
public org.gcube.application.aquamaps.aquamapsservice.client.proxies.Maps getAMInterface()
throws Exception
Exceptionpublic MapItem getMap(Integer hspecId, String scientificName) throws SQLException, ImageNotFoundException
SQLExceptionImageNotFoundExceptionpublic List<MapItem> getMapsBySpecies(String scientificName) throws SQLException
SQLExceptionpublic SpeciesInfo getSpeciesInfo(String scientificName) throws SQLException
SQLExceptionpublic InputStream getProduct(ProductType prod, Integer hspecId, String scientificName) throws SQLException, ImageNotFoundException, MalformedURLException, IOException
public InputStream getSpeciesPicture(String scientificName) throws SQLException, ImageNotFoundException, MalformedURLException, IOException
public Statistics getStatistics()
public long getCountByHspecId(Integer hspecId) throws SQLException
SQLExceptionpublic long getSpeciesCount()
throws SQLException
SQLExceptionpublic long getSpeciesPicCount()
throws SQLException
SQLExceptionpublic InputStream getImageNotFound()
public InputStream getHelpStream()
public com.j256.ormlite.dao.Dao<SpeciesInfo,String> getSpeciesDao()
public Long getLastCompletedUpdate()
public void setLastCompletedUpdate(Long lastCompletedUpdate)
public boolean insertOrUpdateMapInfoByCoverage(MapItem item) throws SQLException
item - SQLExceptionCopyright © 2016. All Rights Reserved.