com.atlassian.confluence.rpc.soap.beans
Class RemoteSearchResult

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

public class RemoteSearchResult
extends Object


Constructor Summary
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
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2013 Atlassian. All Rights Reserved.