|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface stores information about an Intact Web user session. Instead of binding multiple objects, only an object of this class is bound to a session, thus serving a single access point for multiple information.
This class implements the HttpSessionBindingListener interface for it can be notified of session time outs.
| Field Summary | |
static java.util.Properties |
GRAPH_PROPERTIES
|
static java.util.Properties |
GRAPH2MIF_PROPERTIES
|
static java.util.Properties |
HIGHLIGHTING_PROPERTIES
|
static java.util.Properties |
SEARCH_PROPERTIES
|
static java.util.Properties |
WEB_SERVICE_PROPERTIES
|
| Method Summary | |
void |
addHighlightOption(java.lang.String name,
java.lang.Object value)
Add a new option in the option set. That new option is referenced by its name |
boolean |
clickBehaviourIsAdd()
|
boolean |
clickBehaviourIsCenter()
|
void |
desacreaseDepth()
|
java.lang.String |
getApplicationPath()
|
java.lang.String |
getBehaviour()
|
int |
getCurrentDepth()
|
IntactHelper |
getHelper()
|
java.lang.Object |
getHighlightOption(java.lang.String name)
Get the value associated to the option name. |
ImageBean |
getImageBean()
|
InteractionNetwork |
getInteractionNetwork()
|
java.util.Collection |
getKeys()
|
java.lang.String |
getMethodClass()
|
java.lang.String |
getMethodLabel()
|
java.lang.String |
getQueryString()
|
java.lang.String |
getSearchUrl()
|
java.lang.String |
getSearchUrl(java.lang.String query,
boolean addFullContext)
|
java.lang.String |
getSelectedKey()
|
java.lang.String |
getSourceURL()
|
boolean |
hasSourceUrlToDisplay()
|
void |
increaseDepth()
|
void |
init()
Set the default value of user's data |
boolean |
InteractionNetworkReadyToBeDisplayed()
|
boolean |
InteractionNetworkReadyToBeHighlighted()
|
boolean |
maximalDepthReached()
|
boolean |
minimalDepthReached()
|
void |
resetHighlightOptions()
Clear all highlight options. |
void |
resetSourceURL()
|
void |
setBehaviour(java.lang.String behaviour)
|
void |
setClickBehaviour(ClickBehaviourForm form)
|
void |
setCurrentDepth(int i)
|
void |
setDepthToDefault()
|
void |
setImageBean(ImageBean imageBean)
|
void |
setInteractionNetwork(InteractionNetwork in)
|
void |
setKeys(java.util.Collection keys)
|
void |
setMethodClass(java.lang.String methodClass)
|
void |
setMethodLabel(java.lang.String methodLabel)
|
void |
setQueryString(java.lang.String aQueryString)
|
void |
setSelectedKey(java.lang.String key)
|
void |
setSourceURL(java.lang.String url)
|
InteractionNetwork |
subGraph(InteractionNetwork in,
int graphDepth,
java.util.Collection experiments,
int complexExpansion)
Returns a subgraph centered on startNode. |
| Methods inherited from interface javax.servlet.http.HttpSessionBindingListener |
valueBound, valueUnbound |
| Methods inherited from interface uk.ac.ebi.intact.application.commons.business.IntactUserI |
getDatabaseName, getUserName, search |
| Field Detail |
public static final java.util.Properties GRAPH_PROPERTIES
public static final java.util.Properties SEARCH_PROPERTIES
public static final java.util.Properties WEB_SERVICE_PROPERTIES
public static final java.util.Properties HIGHLIGHTING_PROPERTIES
public static final java.util.Properties GRAPH2MIF_PROPERTIES
| Method Detail |
public java.lang.String getQueryString()
public java.lang.String getApplicationPath()
public int getCurrentDepth()
public boolean minimalDepthReached()
public boolean maximalDepthReached()
public java.lang.String getMethodLabel()
public java.lang.String getMethodClass()
public java.lang.String getBehaviour()
public ImageBean getImageBean()
public java.util.Collection getKeys()
public java.lang.String getSelectedKey()
public void setClickBehaviour(ClickBehaviourForm form)
public boolean clickBehaviourIsAdd()
public boolean clickBehaviourIsCenter()
public InteractionNetwork getInteractionNetwork()
public boolean InteractionNetworkReadyToBeDisplayed()
public boolean InteractionNetworkReadyToBeHighlighted()
public IntactHelper getHelper()
public java.lang.String getSourceURL()
public boolean hasSourceUrlToDisplay()
public java.lang.String getSearchUrl(java.lang.String query,
boolean addFullContext)
public java.lang.String getSearchUrl()
public void setQueryString(java.lang.String aQueryString)
public void increaseDepth()
public void desacreaseDepth()
public void setDepthToDefault()
public void setMethodLabel(java.lang.String methodLabel)
public void setMethodClass(java.lang.String methodClass)
public void setBehaviour(java.lang.String behaviour)
public void setImageBean(ImageBean imageBean)
public void setKeys(java.util.Collection keys)
public void setSelectedKey(java.lang.String key)
public void setInteractionNetwork(InteractionNetwork in)
public void setSourceURL(java.lang.String url)
public void resetSourceURL()
public void init()
public InteractionNetwork subGraph(InteractionNetwork in,
int graphDepth,
java.util.Collection experiments,
int complexExpansion)
throws IntactException
in - - the interaction network.graphDepth - - depth of the graphexperiments - - Experiments which should be taken into accountcomplexExpansion - - Mode of expansion of complexes into pairwise interactions
IntactException - - thrown if problems are encounteredpublic void resetHighlightOptions()
public void addHighlightOption(java.lang.String name,
java.lang.Object value)
name - name of the optionvalue - value taken by the optionpublic java.lang.Object getHighlightOption(java.lang.String name)
name - the name of the option we want the value
public void setCurrentDepth(int i)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||