com.atlassian.confluence.search.v2.query
Class ContributorQuery

java.lang.Object
  extended by com.atlassian.confluence.search.v2.query.ContributorQuery
All Implemented Interfaces:
SearchQuery
Direct Known Subclasses:
LastModifierQuery

public class ContributorQuery
extends Object
implements SearchQuery

Creates a query to find content a user has contributed to (any edit or create is considered a contribution)


Constructor Summary
ContributorQuery(String contributor)
          Creates a new contributor query for a particular user.
 
Method Summary
 boolean equals(Object obj)
           
 String getContributor()
           
 String getKey()
           
 List 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
 

Constructor Detail

ContributorQuery

public ContributorQuery(String contributor)
Creates a new contributor query for a particular user.

Parameters:
contributor - username of the user to query against.
Method Detail

getKey

public String getKey()
Specified by:
getKey in interface SearchQuery
Returns:
the plugin key

getContributor

public String getContributor()

getParameters

public List 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-2010 Atlassian. All Rights Reserved.