Package org.intermine.api.search
Class SearchTarget
- java.lang.Object
-
- org.intermine.api.search.SearchTarget
-
public final class SearchTarget extends java.lang.Object
An object for encapsulating the scope and type of object requested from a Lucene search of the user profile web searchable items.- Author:
- Alex Kalderimis
-
-
Field Summary
Fields Modifier and Type Field Description static SearchTarget
ALL_BAGS
The search target for all bagsstatic SearchTarget
ALL_TEMPLATES
The search target for all templatesstatic SearchTarget
GLOBAL_BAGS
The search target for global bagsstatic SearchTarget
GLOBAL_TEMPLATES
The search target for global templatesstatic SearchTarget
USER_BAGS
The search target for user bagsstatic SearchTarget
USER_TEMPLATES
The search target for user templates
-
Constructor Summary
Constructors Constructor Description SearchTarget(java.lang.String s, java.lang.String t)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
ALL_BAGS
public static final SearchTarget ALL_BAGS
The search target for all bags
-
GLOBAL_BAGS
public static final SearchTarget GLOBAL_BAGS
The search target for global bags
-
USER_BAGS
public static final SearchTarget USER_BAGS
The search target for user bags
-
ALL_TEMPLATES
public static final SearchTarget ALL_TEMPLATES
The search target for all templates
-
GLOBAL_TEMPLATES
public static final SearchTarget GLOBAL_TEMPLATES
The search target for global templates
-
USER_TEMPLATES
public static final SearchTarget USER_TEMPLATES
The search target for user templates
-
-
Constructor Detail
-
SearchTarget
public SearchTarget(java.lang.String s, java.lang.String t)
Constructor.- Parameters:
s
- One of the valid Scope.SCOPESt
- One of TagTypes.BAG or TagTypes.TEMPLATE.- See Also:
Scope.SCOPES
,TagTypes
-
-