Class NAbRunsCommand

java.lang.Object
org.labkey.remoteapi.Command<ResponseType,org.apache.hc.client5.http.classic.methods.HttpPost>
org.labkey.remoteapi.PostCommand<ResponseType>
org.labkey.remoteapi.query.BaseQueryCommand<NAbRunsResponse>
org.labkey.remoteapi.assay.nab.NAbRunsCommand
All Implemented Interfaces:
HasRequiredVersion

public class NAbRunsCommand extends BaseQueryCommand<NAbRunsResponse>
Command for obtaining information about the current assay definitions in a particular folder.

By default, this command returns information about all assays, but you may use the various setters to filter this list to assays of a given name, type or id.

  • Constructor Details

    • NAbRunsCommand

      public NAbRunsCommand()
  • Method Details

    • createResponse

      protected NAbRunsResponse createResponse(String text, int status, String contentType, org.json.JSONObject json)
      Description copied from class: Command
      Creates an instance of the response class, initialized with the response text, the HTTP status code, and parsed JSONObject.

      Override this method to create an instance of a different class that extends CommandResponse

      Overrides:
      createResponse in class Command<NAbRunsResponse,org.apache.hc.client5.http.classic.methods.HttpPost>
      Parameters:
      text - The response text from the server.
      status - The HTTP status code.
      contentType - The Content-Type header value.
      json - The parsed JSONObject (or null if no JSON was returned).
      Returns:
      An instance of the response object.
    • getJsonObject

      public org.json.JSONObject getJsonObject()
      Description copied from class: PostCommand
      Returns the JSON object to post or null for no JSON. Override this method to provide parameters as JSON.
      Overrides:
      getJsonObject in class BaseQueryCommand<NAbRunsResponse>
      Returns:
      The JSON object to post.
    • getAssayName

      public String getAssayName()
    • setAssayName

      public void setAssayName(String assayName)
    • isIncludeStats

      public boolean isIncludeStats()
    • setIncludeStats

      public void setIncludeStats(boolean includeStats)
    • isIncludeWells

      public boolean isIncludeWells()
    • setIncludeWells

      public void setIncludeWells(boolean includeWells)
    • isIncludeFitParameters

      public boolean isIncludeFitParameters()
    • setIncludeFitParameters

      public void setIncludeFitParameters(boolean includeFitParameters)
    • isCalculateNeut

      public boolean isCalculateNeut()
    • setCalculateNeut

      public void setCalculateNeut(boolean calculateNeut)