|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--edu.mssm.crover.webservices.rbde.MutantSubServiceState
Holds the mutant sub-service state. This class holds several data that the mutant subservice relies upon. This class is not serialized because the nature of this data is transient: a new state object is initialized each time the user logs in the service.
| Field Summary | |
static int |
CHOOSE_SERVER
The server has not been chosen: have the user choose it. |
boolean |
filter_cumulative
|
boolean |
filter_exact_cumulative
|
static int |
INVALID_INTERACTION_STATE
This state is invalid. |
static int |
QUERY_DISPLAY
There is a server: query and display for this ac/db. |
| Constructor Summary | |
MutantSubServiceState()
|
|
| Method Summary | |
void |
clearSelection()
Clears the selection. |
java.lang.String |
getAccessionCode()
|
Mutant |
getCachedMutant(java.lang.String mutantID)
Obtain the mutant that match this mutantID from the cache. |
short |
getCumulativeFilter()
|
java.lang.String |
getDatabank()
|
boolean |
getFilterCumulative()
|
boolean |
getFilterExactCumulative()
|
boolean |
getFilterPure()
|
int |
getInteractionState()
|
short |
getPureFilter()
|
java.util.Iterator |
getSelectedMutants()
Give read-access to the set of selected mutants. |
java.lang.String |
getServer()
|
void |
selectAllFilteredMutants()
Select all the mutants which are in the cache. |
void |
selectMutant(Mutant mutant)
Add the mutant that correspond to this mutant-id to the list of selected mutants. |
void |
selectMutant(java.lang.String mutantID)
Add the mutant that correspond to this mutant-id to the list of selected mutants. |
void |
setAccessionCode(java.lang.String _ac)
|
void |
setCumulativeFilter(short _cumulative)
|
void |
setDatabank(java.lang.String _db)
|
void |
setFilterCumulative(boolean _filter_cumulative)
|
void |
setFilterExactCumulative(boolean _filter_exact_cumulative)
|
void |
setFilterPure(boolean _filter_pure)
|
void |
setLastMutantQueryResult(Mutant[] mutants)
Cache the result of the last mutant query in the session. |
void |
setPureFilter(short _pure)
|
void |
setServer(java.lang.String _server)
|
void |
unselectAllFilteredMutants()
Unselect all the mutants which are in the cache. |
void |
unselectMutant(Mutant mutant)
Removes the mutant that correspond to this mutant-id from the list of selected mutants. |
void |
unselectMutant(java.lang.String mutantID)
Removes the mutant that correspond to this mutant-id from the list of selected mutants. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public boolean filter_exact_cumulative
public boolean filter_cumulative
public static final int CHOOSE_SERVER
public static final int QUERY_DISPLAY
public static final int INVALID_INTERACTION_STATE
| Constructor Detail |
public MutantSubServiceState()
| Method Detail |
public void setServer(java.lang.String _server)
public java.lang.String getServer()
public void setAccessionCode(java.lang.String _ac)
public java.lang.String getAccessionCode()
public void setDatabank(java.lang.String _db)
public java.lang.String getDatabank()
public void setPureFilter(short _pure)
public short getPureFilter()
public void setCumulativeFilter(short _cumulative)
public short getCumulativeFilter()
public void setFilterPure(boolean _filter_pure)
public boolean getFilterPure()
public void setFilterCumulative(boolean _filter_cumulative)
public boolean getFilterCumulative()
public void setFilterExactCumulative(boolean _filter_exact_cumulative)
public boolean getFilterExactCumulative()
public int getInteractionState()
public void selectMutant(java.lang.String mutantID)
public void selectMutant(Mutant mutant)
public void selectAllFilteredMutants()
public void unselectAllFilteredMutants()
public void clearSelection()
public void unselectMutant(java.lang.String mutantID)
public void unselectMutant(Mutant mutant)
public java.util.Iterator getSelectedMutants()
public void setLastMutantQueryResult(Mutant[] mutants)
public Mutant getCachedMutant(java.lang.String mutantID)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||