Interface SearchResult

All Superinterfaces:
Serializable
All Known Implementing Classes:
TagSearchResult

public interface SearchResult extends Serializable
A search result returned by a gateway search provider. Implementations must hold enough information to be able to send this object back to the gateway from a designer, and be able to apply any edits specified by the user in the designer.
Since:
8.0
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the entity where this result is found.
    The name of the object that matches the search pattern.
    The name of the search provider that created this result.
    Gets the text representation of the search result.
    boolean
     
  • Method Details

    • getSearchProviderName

      String getSearchProviderName()
      The name of the search provider that created this result.
    • getLocation

      String getLocation()
      The name of the entity where this result is found. Used in the results display to help distinguish similar items. For something like a tag property, the owner name is the path to the tag property
    • getName

      String getName()
      The name of the object that matches the search pattern. In other words, a description of the element inside the owner, such as "Name", or "Expression". For something like a tag, the name is the tag property where the search pattern was found.
    • getText

      String getText()
      Gets the text representation of the search result. This is what will be used for the "search".
    • isMutable

      boolean isMutable()
      Returns:
      true if the returned item can be modified via a replace operation