Elexis API documentation
Version 2.1.6 as of December 11 2011

waelti.statistics.actions
Class NewQueryAction

java.lang.Object
  extended by Action
      extended by waelti.statistics.actions.NewQueryAction
All Implemented Interfaces:
BackgroundJob.BackgroundJobListener
Direct Known Subclasses:
RefreshQueryAction

public class NewQueryAction
extends Action
implements BackgroundJob.BackgroundJobListener

This action is responsible for the whole procedure of creating a new query: getting all information needed of the user, starting the query in the background and updating the view in the end.

Author:
michael waelti

Constructor Summary
NewQueryAction()
          constructor
NewQueryAction(OutputView view)
          Standard constructor which should be used normally.
 
Method Summary
 void jobFinished(BackgroundJob j)
          This action is enabled as soon as the last job finished.
 void run()
           
 void setConfiguredQuery(AbstractQuery configuredQuery)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewQueryAction

public NewQueryAction()
constructor


NewQueryAction

public NewQueryAction(OutputView view)
Standard constructor which should be used normally.

Method Detail

run

public void run()

jobFinished

public void jobFinished(BackgroundJob j)
This action is enabled as soon as the last job finished.

Specified by:
jobFinished in interface BackgroundJob.BackgroundJobListener

setConfiguredQuery

public void setConfiguredQuery(AbstractQuery configuredQuery)

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis