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

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

public class RemoteSearchResult
extends java.lang.Object


Constructor Summary
RemoteSearchResult()
           
RemoteSearchResult(Addressable addressable)
          Construct a new RemoteSearchResult from properties obtained from an Addressable
RemoteSearchResult(SearchResult searchResult)
           
RemoteSearchResult(SearchResult searchResult, java.lang.String query)
          Construct a new RemoteSearchResult from a SearchResult and the original query
 
Method Summary
 java.lang.String getExcerpt()
           
 long getId()
          Retreive the database identifier for this object.
 java.lang.String getTitle()
           
 java.lang.String getType()
           
 java.lang.String getUrl()
           
 void setExcerpt(java.lang.String excerpt)
           
 void setId(long id)
           
 void setTitle(java.lang.String title)
           
 void setType(java.lang.String type)
           
 void setUrl(java.lang.String url)
           
 java.lang.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,
                          java.lang.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(java.lang.String type)

setId

public void setId(long id)

setTitle

public void setTitle(java.lang.String title)

setUrl

public void setUrl(java.lang.String url)

setExcerpt

public void setExcerpt(java.lang.String excerpt)

getType

public java.lang.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 java.lang.String getTitle()

getUrl

public java.lang.String getUrl()

getExcerpt

public java.lang.String getExcerpt()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2011 Atlassian. All Rights Reserved.