Package org.intermine.bio.web.displayer
Class MetabolicGeneSummaryDisplayer.GeneSummary
- java.lang.Object
-
- org.intermine.bio.web.displayer.MetabolicGeneSummaryDisplayer.GeneSummary
-
- Enclosing class:
- MetabolicGeneSummaryDisplayer
public class MetabolicGeneSummaryDisplayer.GeneSummary extends java.lang.ObjectInternal wrapper.
-
-
Constructor Summary
Constructors Constructor Description GeneSummary(org.intermine.model.InterMineObject imObj, javax.servlet.http.HttpServletRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCollectionCount(java.lang.String key, java.lang.String description, java.lang.Object param, java.lang.String anchor)Add collection count to the summary.voidaddCollectionDistinctCount(java.lang.String key, java.lang.String description, java.lang.Object param, java.lang.String anchor)Add collection distinct count to the summary.voidaddCustom(java.lang.String key, java.lang.String description, java.lang.Object data, java.lang.String anchor, java.lang.String jsp)Add a custom object to the displayer.voidaddImageLink(java.lang.String key, java.lang.String link, java.lang.String anchor, java.lang.String description)Add a link to an image for the summary.org.intermine.api.query.PathQueryExecutorgetExecutor()java.util.LinkedHashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.Object>>getFields()java.lang.IntegergetObjectId()java.lang.StringgetPrimaryId()java.lang.BooleanisThisAHuman()java.lang.BooleanisThisAMouser()
-
-
-
Method Detail
-
addCustom
public void addCustom(java.lang.String key, java.lang.String description, java.lang.Object data, java.lang.String anchor, java.lang.String jsp)Add a custom object to the displayer.- Parameters:
key- to show under in the summarydescription- to show under the titledata- to save on the wrapper objectanchor- says where we will scroll onlick, an ID attr of the target elementjsp- to include that knows how to display us
-
addCollectionCount
public void addCollectionCount(java.lang.String key, java.lang.String description, java.lang.Object param, java.lang.String anchor)Add collection count to the summary.- Parameters:
key- to show under in the summarydescription- to show under the titleparam- can be a fieldName or a PathQueryanchor- says where we will scroll onlick, an ID attr of the target element
-
addCollectionDistinctCount
public void addCollectionDistinctCount(java.lang.String key, java.lang.String description, java.lang.Object param, java.lang.String anchor)Add collection distinct count to the summary. Will get the distinct value referenced and get their count.- Parameters:
key- to show under in the summarydescription- to show under the titleparam- can be a fieldName or a PathQueryanchor- says where we will scroll onlick, an ID attr of the target element
-
addImageLink
public void addImageLink(java.lang.String key, java.lang.String link, java.lang.String anchor, java.lang.String description)Add a link to an image for the summary.- Parameters:
key- to show under in the summarydescription- to show under the titlelink- refers to the src attr of the img elementanchor- says where we will scroll onlick, an ID attr of the target element
-
getObjectId
public java.lang.Integer getObjectId()
- Returns:
- InterMineObject ID
-
isThisAMouser
public java.lang.Boolean isThisAMouser()
- Returns:
- true if we are on a mouseified gene
-
isThisAHuman
public java.lang.Boolean isThisAHuman()
- Returns:
- true if we are on a sapien gene
-
getPrimaryId
public java.lang.String getPrimaryId()
- Returns:
- ReportObject primaryIdentifier
-
getExecutor
public org.intermine.api.query.PathQueryExecutor getExecutor()
- Returns:
- PathQuery Executor
-
getFields
public java.util.LinkedHashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.Object>> getFields()
- Returns:
- Map of the fields configged here for the JSP to traverse
-
-