Class RemoteSearchResult
- java.lang.Object
-
- com.atlassian.confluence.rpc.soap.beans.RemoteSearchResult
-
public class RemoteSearchResult extends Object
-
-
Constructor Summary
Constructors Constructor Description RemoteSearchResult()
RemoteSearchResult(Addressable addressable)
Construct a new RemoteSearchResult from properties obtained from an AddressableRemoteSearchResult(SearchResult searchResult)
RemoteSearchResult(SearchResult searchResult, String query)
Construct a new RemoteSearchResult from a SearchResult and the original query
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
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 Detail
-
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()
-
-