public class RemoteSearchResult extends Object
Constructor and Description |
---|
RemoteSearchResult() |
RemoteSearchResult(Addressable addressable)
Construct a new RemoteSearchResult from properties obtained from an Addressable
|
RemoteSearchResult(SearchResult searchResult) |
RemoteSearchResult(SearchResult searchResult,
String query)
Construct a new RemoteSearchResult from a SearchResult and the original query
|
Modifier and Type | Method and Description |
---|---|
String |
getExcerpt() |
long |
getId()
Retreive the database identifier for this object.
|
String |
getTitle() |
String |
getType() |
String |
getUrl() |
void |
setExcerpt(String excerpt) |
void |
setId(long id) |
void |
setTitle(String title) |
void |
setType(String type) |
void |
setUrl(String url) |
String |
toString() |
public RemoteSearchResult()
public RemoteSearchResult(SearchResult searchResult)
public RemoteSearchResult(SearchResult searchResult, String query)
public RemoteSearchResult(Addressable addressable)
public void setType(String type)
public void setId(long id)
public void setTitle(String title)
public void setUrl(String url)
public void setExcerpt(String excerpt)
public String getType()
public long getId()
Warning: Since the id is obtained from the search index, it might be outdated.
public String getTitle()
public String getUrl()
public String getExcerpt()
Copyright © 2003–2021 Atlassian. All rights reserved.