Class RankedLiteLabelSearchResult
- java.lang.Object
-
- com.atlassian.confluence.labels.dto.LiteLabelSearchResult
-
- com.atlassian.confluence.labels.dto.RankedLiteLabelSearchResult
-
- All Implemented Interfaces:
CountableLabel
,Serializable
public class RankedLiteLabelSearchResult extends LiteLabelSearchResult
A DTO class which adds 'rank' property to LiteLabelSearchResult which reflects the frequency of labels. Rank 1 used for the most popular labels. Rank 10 used for the least popular labels- Since:
- 7.7.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RankedLiteLabelSearchResult(LiteLabelSearchResult other, int rank)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getRank()
int
hashCode()
-
Methods inherited from class com.atlassian.confluence.labels.dto.LiteLabelSearchResult
getCount, getId, getLowerUserName, getName, getNamespace, getUrlPath, getUrlPath, setCount, setId, setName, setNamespace, setUser
-
-
-
-
Constructor Detail
-
RankedLiteLabelSearchResult
public RankedLiteLabelSearchResult(LiteLabelSearchResult other, int rank)
-
-
Method Detail
-
getRank
public int getRank()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classLiteLabelSearchResult
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classLiteLabelSearchResult
-
-