com.atlassian.confluence.rpc.soap.beans
Class RemoteSearchResult
java.lang.Object
com.atlassian.confluence.rpc.soap.beans.RemoteSearchResult
public class RemoteSearchResult
- extends Object
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
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
Copyright © 2003-2013 Atlassian. All Rights Reserved.