Class GeoBrowserServiceImpl
java.lang.Object
ubic.gemma.core.loader.expression.geo.service.GeoBrowserServiceImpl
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
,GeoBrowserService
@Lazy
@Component
public class GeoBrowserServiceImpl
extends Object
implements GeoBrowserService, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
This is marked as
Lazy
since we don't use it outside Gemma Web, so it won't be loaded unless it's needed.- Author:
- pavlidis
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ArrayDesignService
protected ExpressionExperimentService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
destroy()
getDetails
(String accession, String contextPath) Get details from GEO about an accession.getRecentGeoRecords
(int start, int count) searchGeoRecords
(String searchString, int start, int count, boolean detailed) boolean
toggleUsability
(String accession)
-
Field Details
-
expressionExperimentService
-
arrayDesignService
-
-
Constructor Details
-
GeoBrowserServiceImpl
public GeoBrowserServiceImpl()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
destroy
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
Exception
-
getDetails
Description copied from interface:GeoBrowserService
Get details from GEO about an accession.- Specified by:
getDetails
in interfaceGeoBrowserService
- Parameters:
accession
- accession- Returns:
- details
- Throws:
IOException
- if there is a problem while manipulating the file
-
getRecentGeoRecords
- Specified by:
getRecentGeoRecords
in interfaceGeoBrowserService
- Parameters:
start
- page number, not starting recordcount
- page size- Returns:
- geo records
- Throws:
IOException
- if there is a problem while manipulating the file
-
searchGeoRecords
public List<GeoRecord> searchGeoRecords(String searchString, int start, int count, boolean detailed) throws IOException - Specified by:
searchGeoRecords
in interfaceGeoBrowserService
- Parameters:
searchString
- can be nullstart
- first record to retrievecount
- how many records to retrievedetailed
- if true, more information is retrieved (slow)- Returns:
- collection of GeoRecords
- Throws:
IOException
-
toggleUsability
- Specified by:
toggleUsability
in interfaceGeoBrowserService
-