Package org.intermine.web.logic.widget
Class GraphWidgetLoader
- java.lang.Object
-
- org.intermine.web.logic.widget.WidgetLdr
-
- org.intermine.web.logic.widget.GraphWidgetLoader
-
- All Implemented Interfaces:
DataSetLdr
public class GraphWidgetLoader extends WidgetLdr implements DataSetLdr
The class that does the actual querying for results.- Author:
- Alex Kalderimis
-
-
Field Summary
-
Fields inherited from class org.intermine.web.logic.widget.WidgetLdr
bag, filter, ids, os, queryClassInQuery, startClass
-
-
Constructor Summary
Constructors Constructor Description GraphWidgetLoader(InterMineBag bag, ObjectStore os, GraphWidgetConfig config, java.lang.String filter, java.lang.String ids)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Results
getResults()
Get the Results objectjava.util.List<java.util.List<java.lang.Object>>
getResultTable()
Return the result table that represents the data from this widget.int
getWidgetTotal()
This method is used to calculate the 'not analysed' total displayed on each widget-
Methods inherited from class org.intermine.web.logic.widget.WidgetLdr
addReference, buildQueryValue, createAttributePath, createQueryFieldByPath
-
-
-
-
Constructor Detail
-
GraphWidgetLoader
public GraphWidgetLoader(InterMineBag bag, ObjectStore os, GraphWidgetConfig config, java.lang.String filter, java.lang.String ids)
Constructor.- Parameters:
bag
- The list we are running over.os
- The data-store.config
- The description of the list tool.filter
- A filter value.ids
- intermine IDs, required if bag is NULL
-
-
Method Detail
-
getResults
public Results getResults()
Description copied from interface:DataSetLdr
Get the Results object- Specified by:
getResults
in interfaceDataSetLdr
- Returns:
- the results Object
-
getWidgetTotal
public int getWidgetTotal()
Description copied from interface:DataSetLdr
This method is used to calculate the 'not analysed' total displayed on each widget- Specified by:
getWidgetTotal
in interfaceDataSetLdr
- Returns:
- the total number of objects analysed in this widget
-
getResultTable
public java.util.List<java.util.List<java.lang.Object>> getResultTable()
Description copied from interface:DataSetLdr
Return the result table that represents the data from this widget.- Specified by:
getResultTable
in interfaceDataSetLdr
- Returns:
- The widget's data.
-
-