uk.ac.mrc.hgmp.embreo
Class EmbreoResList
java.lang.Object
|
+--uk.ac.mrc.hgmp.embreo.EmbreoResList
- public class EmbreoResList
- extends java.lang.Object
Method Summary |
java.util.Enumeration |
elements()
|
java.lang.Object |
get(java.lang.Object key)
|
java.lang.String |
getCurrent()
Gives which of the available datasets is currently
being looked at by the gui |
java.lang.String |
getStatus()
The status of the request |
java.lang.String |
getStatusMsg()
A status message |
java.util.Hashtable |
hash()
|
java.util.Enumeration |
keys()
|
void |
setCurrent(java.lang.String s)
Save the name of a dataset, marking it as the current dataset |
void |
updateRes(java.util.Hashtable newres)
Replace the current results hash |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbreoResList
public EmbreoResList(EmbreoParams mysettings)
throws EmbreoAuthException
- Retrieve the list of stored results
- Parameters:
mysettings
- EmbreoParams defining server parameters- Throws:
EmbreoAuthException
- If authentication fails
EmbreoResList
public EmbreoResList(EmbreoParams mysettings,
java.lang.String dataset,
java.lang.String methodname)
throws EmbreoAuthException
- Manipulate a dataset.
- Parameters:
mysettings
- EmbreoParams defining server parametersdataset
- Which dataset to manipulatemethodname
- What method to invoke on this dataset
getStatus
public java.lang.String getStatus()
- The status of the request
- Returns:
- String 0 for success, anything else for failure
getStatusMsg
public java.lang.String getStatusMsg()
- A status message
- Returns:
- A string containing a status message. In the case of an error,
contains a description of the error.
hash
public java.util.Hashtable hash()
elements
public java.util.Enumeration elements()
keys
public java.util.Enumeration keys()
get
public java.lang.Object get(java.lang.Object key)
getCurrent
public java.lang.String getCurrent()
- Gives which of the available datasets is currently
being looked at by the gui
setCurrent
public void setCurrent(java.lang.String s)
- Save the name of a dataset, marking it as the current dataset
- Parameters:
s
- The name of the dataset
updateRes
public void updateRes(java.util.Hashtable newres)
- Replace the current results hash
- Parameters:
newres
- The new results hash