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
Exception
public MapItem getMap(Integer hspecId, String scientificName) throws SQLException, ImageNotFoundException
SQLException
ImageNotFoundException
public List<MapItem> getMapsBySpecies(String scientificName) throws SQLException
SQLException
public SpeciesInfo getSpeciesInfo(String scientificName) throws SQLException
SQLException
public 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
SQLException
public long getSpeciesCount() throws SQLException
SQLException
public long getSpeciesPicCount() throws SQLException
SQLException
public 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
- SQLException
Copyright © 2015. All Rights Reserved.