|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.ac.ebi.intact.application.hierarchView.highlightment.source.HighlightmentSource
Abstract class allowing to wrap an highlightment source.
| Constructor Summary | |
HighlightmentSource()
|
|
| Method Summary | |
static HighlightmentSource |
getHighlightmentSource(java.lang.String aClassName)
Provides a implementation of HighlightmentSource by its name. |
abstract java.lang.String |
getHtmlCodeOption(javax.servlet.http.HttpSession aSession)
Return the html code for specific options of the source to be integrated in the highlighting form. |
abstract java.util.Collection |
getKeysFromIntAct(java.lang.String aProteinAC,
javax.servlet.http.HttpSession aSession)
Return a collection of keys specific to the selected protein and the current source. |
abstract java.util.List |
getSourceUrls(java.util.Collection xRefs,
java.util.Collection selectedXRefs,
java.lang.String applicationPath)
Return a collection of URL corresponding to the selected protein and source eg. |
abstract java.util.Collection |
parseKeys(java.lang.String someKeys)
Parse the set of key generate by the source and give back a collection of keys. |
abstract java.util.Collection |
proteinToHightlight(javax.servlet.http.HttpSession aSession,
InteractionNetwork aGraph)
Create a set of protein we must highlight in the graph given in parameter. |
abstract void |
saveOptions(javax.servlet.http.HttpServletRequest aRequest,
javax.servlet.http.HttpSession aSession)
Allows to update the session object with options stored in the request. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HighlightmentSource()
| Method Detail |
public static HighlightmentSource getHighlightmentSource(java.lang.String aClassName)
aClassName - the name of the implementation class you want to get
public abstract java.lang.String getHtmlCodeOption(javax.servlet.http.HttpSession aSession)
aSession - the current session.
public abstract java.util.Collection getKeysFromIntAct(java.lang.String aProteinAC,
javax.servlet.http.HttpSession aSession)
aProteinAC - a protein identifier (AC).aSession - session in which we'll retreive the datasource
public abstract java.util.Collection proteinToHightlight(javax.servlet.http.HttpSession aSession,
InteractionNetwork aGraph)
aSession - the session where to find selected keys.aGraph - the graph we want to highlight.
public abstract void saveOptions(javax.servlet.http.HttpServletRequest aRequest,
javax.servlet.http.HttpSession aSession)
aRequest - request in which we have to get parameters to save in the session.aSession - session in which we have to save the parameter.
public abstract java.util.List getSourceUrls(java.util.Collection xRefs,
java.util.Collection selectedXRefs,
java.lang.String applicationPath)
throws IntactException
xRefs - The collection of XRef from which we want to get the list of corresponding URLselectedXRefs - The collection of selected XRefapplicationPath - our application path
IntactExceptionpublic abstract java.util.Collection parseKeys(java.lang.String someKeys)
someKeys - a string which contains some key separates by a character.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||