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 ArrayDesignServiceprotected ExpressionExperimentService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy()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) booleantoggleUsability(String accession)
-
Field Details
-
expressionExperimentService
-
arrayDesignService
-
-
Constructor Details
-
GeoBrowserServiceImpl
public GeoBrowserServiceImpl()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-
getDetails
Description copied from interface:GeoBrowserServiceGet details from GEO about an accession.- Specified by:
getDetailsin interfaceGeoBrowserService- Parameters:
accession- accession- Returns:
- details
- Throws:
IOException- if there is a problem while manipulating the file
-
getRecentGeoRecords
- Specified by:
getRecentGeoRecordsin 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:
searchGeoRecordsin 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:
toggleUsabilityin interfaceGeoBrowserService
-