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

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

public abstract class AbstractUserQuery
extends Object
implements SearchQuery


Constructor Summary
AbstractUserQuery(String username)
           
AbstractUserQuery(com.atlassian.sal.api.user.UserKey userKey)
           
 
Method Summary
 boolean equals(Object obj)
           
 List getParameters()
          List of parameters as Strings or SearchQuerys.
 com.atlassian.fugue.Option<com.atlassian.sal.api.user.UserKey> getUserkey()
           
 com.atlassian.fugue.Option<String> getUsername()
           
 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
 

Constructor Detail

AbstractUserQuery

public AbstractUserQuery(String username)

AbstractUserQuery

public AbstractUserQuery(@NotNull
                         com.atlassian.sal.api.user.UserKey userKey)
Method Detail

getUsername

public com.atlassian.fugue.Option<String> getUsername()

getUserkey

public com.atlassian.fugue.Option<com.atlassian.sal.api.user.UserKey> getUserkey()

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–2015 Atlassian. All rights reserved.