Class RemoteSearchResult

java.lang.Object
com.atlassian.confluence.rpc.soap.beans.RemoteSearchResult

public class RemoteSearchResult extends Object
  • Constructor Details

    • RemoteSearchResult

      public RemoteSearchResult()
    • RemoteSearchResult

      public RemoteSearchResult(SearchResult searchResult)
    • RemoteSearchResult

      public RemoteSearchResult(SearchResult searchResult, String query)
      Construct a new RemoteSearchResult from a SearchResult and the original query
    • RemoteSearchResult

      public RemoteSearchResult(Addressable addressable)
      Construct a new RemoteSearchResult from properties obtained from an Addressable
  • Method Details

    • setType

      public void setType(String type)
    • setId

      public void setId(long id)
    • setTitle

      public void setTitle(String title)
    • setUrl

      public void setUrl(String url)
    • setExcerpt

      public void setExcerpt(String excerpt)
    • getType

      public String getType()
    • getId

      public long getId()
      Retreive the database identifier for this object.

      Warning: Since the id is obtained from the search index, it might be outdated.

      Returns:
      Database id key if available, -1 otherwise.
    • getTitle

      public String getTitle()
    • getUrl

      public String getUrl()
    • getExcerpt

      public String getExcerpt()
    • toString

      public String toString()
      Overrides:
      toString in class Object