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 java.lang.Object
implements SearchQuery

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


Field Summary
protected  java.util.List<T> parameters
           
 
Constructor Summary
protected AbstractParameterListQuery(java.util.Collection<T> parameters)
           
protected AbstractParameterListQuery(T parameter)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.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 java.util.List<T> parameters
Constructor Detail

AbstractParameterListQuery

protected AbstractParameterListQuery(T parameter)

AbstractParameterListQuery

protected AbstractParameterListQuery(java.util.Collection<T> parameters)
Method Detail

getParameters

public java.util.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(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.