Package ubic.gemma.model.common.search
Class SearchResultValueObject<T extends IdentifiableValueObject<?>>
java.lang.Object
ubic.gemma.model.common.search.SearchResultValueObject<T>
-
Constructor Summary
ConstructorsConstructorDescriptionSearchResultValueObject(SearchResult<T> result) SearchResultValueObject(SearchResult<T> result, String resultObjectUrl, boolean resultObjectUrlExternal) -
Method Summary
-
Constructor Details
-
SearchResultValueObject
-
SearchResultValueObject
public SearchResultValueObject(SearchResult<T> result, @Nullable String resultObjectUrl, boolean resultObjectUrlExternal)
-
-
Method Details
-
getResultClass
-
getScore
public double getScore() -
getHighlightedText
-
getResultObject
-
getResultObjectUrl
A URL for the result.If there is a single result, the frontend might decide to redirect immediately to this page.
-
isResultObjectUrlExternal
public boolean isResultObjectUrlExternal()Indicate if the result URL is external (i.e., outside of Gemma). -
equals
-
hashCode
public int hashCode() -
toString
-