Class 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 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.SCOPES
        t - One of TagTypes.BAG or TagTypes.TEMPLATE.
        See Also:
        Scope.SCOPES, TagTypes
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object