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

java.lang.Object
  extended by com.atlassian.confluence.search.v2.query.InheritedLabelQuery
All Implemented Interfaces:
SearchQuery

public class InheritedLabelQuery
extends java.lang.Object
implements SearchQuery

Query for matching a single Label that was inherited from a piece of parent content, for example, searching for comments attached to pages with a certain label


Constructor Summary
InheritedLabelQuery(Label label)
          Construct a LabelQuery directly from the Label instance to be searched for
InheritedLabelQuery(java.lang.String label)
          Construct a LabelQuery from a string representation of a label.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getKey()
           
 java.lang.String getLabelAsString()
           
 java.util.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

InheritedLabelQuery

public InheritedLabelQuery(java.lang.String label)
Construct a LabelQuery from a string representation of a label.

Parameters:
label - a representations of a label. Can be namespaced.
See Also:
LabelParser

InheritedLabelQuery

public InheritedLabelQuery(Label label)
Construct a LabelQuery directly from the Label instance to be searched for

Parameters:
label - the label to search for
Method Detail

getKey

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

getParameters

public java.util.List getParameters()
Description copied from interface: SearchQuery
List of parameters as Strings or SearchQuerys.

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

getLabelAsString

public java.lang.String getLabelAsString()

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-2013 Atlassian. All Rights Reserved.