com.atlassian.confluence.search.v2
Class AbstractSearch

java.lang.Object
  extended by com.atlassian.confluence.search.v2.AbstractSearch
All Implemented Interfaces:
ISearch
Direct Known Subclasses:
ChangesSearch, ContentSearch

public abstract class AbstractSearch
extends java.lang.Object
implements ISearch


Field Summary
protected  SearchQuery query
           
protected  ResultFilter resultFilter
           
protected  SearchFilter searchFilter
           
protected  SearchSort sort
           
 
Constructor Summary
AbstractSearch(SearchQuery query, SearchSort sort, SearchFilter searchFilter, ResultFilter resultFilter)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 SearchQuery getQuery()
          Gets the query component of the search
 ResultFilter getResultFilter()
          Gets the results filter component of the search
 SearchFilter getSearchFilter()
           
 SearchSort getSort()
          Gets the sort component of the search
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

query

protected final SearchQuery query

sort

protected final SearchSort sort

resultFilter

protected final ResultFilter resultFilter

searchFilter

protected final SearchFilter searchFilter
Constructor Detail

AbstractSearch

public AbstractSearch(SearchQuery query,
                      SearchSort sort,
                      SearchFilter searchFilter,
                      ResultFilter resultFilter)
Method Detail

getQuery

public SearchQuery getQuery()
Gets the query component of the search

Specified by:
getQuery in interface ISearch
Returns:
the search query

getSort

public SearchSort getSort()
Gets the sort component of the search

Specified by:
getSort in interface ISearch
Returns:
the search sort

getSearchFilter

public SearchFilter getSearchFilter()
Specified by:
getSearchFilter in interface ISearch
Returns:
the search filter

getResultFilter

public ResultFilter getResultFilter()
Gets the results filter component of the search

Specified by:
getResultFilter in interface ISearch
Returns:
the results filter

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2010 Atlassian. All Rights Reserved.