Class TableWidgetService


  • public class TableWidgetService
    extends WidgetService
    Web service that returns a table widget for a given list. URL examples: get a TableWidget /service/list/table?list=copy&widget=interactions
    Author:
    dbutano
    • Constructor Detail

      • TableWidgetService

        public TableWidgetService​(InterMineAPI im)
        Construct a TableWidgetService
        Parameters:
        im - the intermine API object
    • Method Detail

      • execute

        protected void execute()
        Description copied from class: WebService
        Runs service. This is abstract method, that must be defined in subclasses and so performs something useful. Standard procedure is overwrite this method in subclasses and let this method to be called from WebService.doGet method that encapsulates logic common for all web services else you can overwrite doGet method in your web service class and manage all the things alone.
        Specified by:
        execute in class WebService
      • addOutputConfig

        protected void addOutputConfig​(WidgetConfig config)
        Description copied from class: WidgetService
        Add metadata about the widget we are using.
        Overrides:
        addOutputConfig in class WidgetService
        Parameters:
        config - The description of the widget.