com.atlassian.confluence.search.v2.query
Class AbstractParameterListQuery<T>

java.lang.Object
  extended by com.atlassian.confluence.search.v2.query.AbstractParameterListQuery<T>
All Implemented Interfaces:
SearchQuery
Direct Known Subclasses:
AttachmentTypeQuery, InSpaceQuery

public abstract class AbstractParameterListQuery<T>
extends Object
implements SearchQuery

Abstract superclass for queries holding a list of parameters of a single type.


Field Summary
protected  List<T> parameters
           
 
Constructor Summary
protected AbstractParameterListQuery(Collection<T> parameters)
           
protected AbstractParameterListQuery(T parameter)
           
 
Method Summary
 boolean equals(Object obj)
           
 List<T> getParameters()
          List of parameters as Strings or SearchQuerys.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.confluence.search.v2.SearchQuery
getKey
 

Field Detail

parameters

protected List<T> parameters
Constructor Detail

AbstractParameterListQuery

protected AbstractParameterListQuery(T parameter)

AbstractParameterListQuery

protected AbstractParameterListQuery(Collection<T> parameters)
Method Detail

getParameters

public List<T> getParameters()
Description copied from interface: SearchQuery
List of parameters as Strings or SearchQuerys.

Specified by:
getParameters in interface SearchQuery
Returns:
Strings or SearchQuerys.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.