Class GraphWidgetLoader

  • All Implemented Interfaces:
    DataSetLdr

    public class GraphWidgetLoader
    extends WidgetLdr
    implements DataSetLdr
    The class that does the actual querying for results.
    Author:
    Alex Kalderimis
    • 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 interface DataSetLdr
        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 interface DataSetLdr
        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 interface DataSetLdr
        Returns:
        The widget's data.