|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.labkey.remoteapi.Command<AssayListResponse>
org.labkey.remoteapi.assay.AssayListCommand
public class AssayListCommand
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.labkey.remoteapi.Command |
|---|
Command.CommonParameters |
| Field Summary |
|---|
| Fields inherited from class org.labkey.remoteapi.Command |
|---|
CONTENT_TYPE_JSON |
| Constructor Summary | |
|---|---|
AssayListCommand()
Constructs a new AssayListCommand object. |
|
AssayListCommand(AssayListCommand source)
Constructs a new AssayListCommand which is a copy of the source command |
|
| Method Summary | |
|---|---|
AssayListCommand |
copy()
Returns a copy of this object. |
protected AssayListResponse |
createResponse(java.lang.String text,
int status,
java.lang.String contentType,
org.json.simple.JSONObject json)
Creates an instance of the response class, initialized with the response text and the HTTP status code. |
java.lang.Integer |
getId()
Returns the current assay id filter (if any). |
java.lang.String |
getName()
Returns the assay name filter upon (if any) |
java.util.Map<java.lang.String,java.lang.Object> |
getParameters()
Returns the current parameter map, or null if a map has not yet been set. |
java.lang.String |
getType()
Returns the current assay type filter (if any). |
void |
setId(java.lang.Integer id)
Sets the current assay id filter. |
void |
setName(java.lang.String name)
Sets the assay name to filter upon. |
void |
setType(java.lang.String type)
Sets the assay type filter. |
| Methods inherited from class org.labkey.remoteapi.Command |
|---|
createMethod, execute, getActionName, getActionUrl, getControllerName, getHttpMethod, getParamValueAsString, getQueryString, getRequiredVersion, getTimeout, setParameters, setRequiredVersion, setTimeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssayListCommand()
public AssayListCommand(AssayListCommand source)
source - The source AssayListCommand| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - The assay name.public java.lang.String getType()
public void setType(java.lang.String type)
type - The type to filter upon.public java.lang.Integer getId()
public void setId(java.lang.Integer id)
id - The assay id.
protected AssayListResponse createResponse(java.lang.String text,
int status,
java.lang.String contentType,
org.json.simple.JSONObject json)
CommandOverride this method to create an instance of a different class that extends CommandResponse
createResponse in class Command<AssayListResponse>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).
public java.util.Map<java.lang.String,java.lang.Object> getParameters()
Command
getParameters in class Command<AssayListResponse>public AssayListCommand copy()
Command
copy in class Command<AssayListResponse>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||