edu.mayo.bsi.ngsportal.client
Class HandleMetadataResult

java.lang.Object
  extended by edu.mayo.bsi.ngsportal.client.HandleMetadataResult
All Implemented Interfaces:
BooleanCommand

public class HandleMetadataResult
extends Object
implements BooleanCommand

@author Gregory Dougherty


Constructor Summary
HandleMetadataResult(MetadataTab target, List<SampleInfo> theSamples, RunData theRunData)
          Standard Constructor
 
Method Summary
 void execute(boolean result, com.google.gwt.user.client.Command followUp)
          A procedure that takes a boolean (generally a result from the Server) and an optional Command (generally something to execute based on the result)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandleMetadataResult

public HandleMetadataResult(MetadataTab target,
                            List<SampleInfo> theSamples,
                            RunData theRunData)
Standard Constructor

Parameters:
target - Tab to update
theSamples - Samples that were tested
theRunData - Run that owned the samples
Method Detail

execute

public void execute(boolean result,
                    com.google.gwt.user.client.Command followUp)
Description copied from interface: BooleanCommand
A procedure that takes a boolean (generally a result from the Server) and an optional Command (generally something to execute based on the result)

Specified by:
execute in interface BooleanCommand
Parameters:
result - A boolean returned by the Server
followUp - Optional Command that might be executed depending on the results returned