Class AlphabeticalLabelGroupingSupport<T>
java.lang.Object
com.atlassian.confluence.util.actions.AlphabeticalLabelGroupingSupport<T>
This class provides support for grouping a collection of data alphabetically. This is used and useful for
displaying alphabetically grouped list of pages and labels.
Note: numerics are grouped together into the group 0-9
Note: the extraction of the name of an object from the object is presently hard coded in this class, and only ContentEntityObjects and Labels are reasonably supported.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn all of the contentReturn the content that begins with the specified string.getKeys()booleanhasContent(String s) Return true if there is content that starts with the specified string.
-
Field Details
-
NUMERIC
- See Also:
-
-
Constructor Details
-
AlphabeticalLabelGroupingSupport
-
-
Method Details
-
hasContent
Return true if there is content that starts with the specified string.- Parameters:
s-
-
getContents
Return the content that begins with the specified string.- Parameters:
s-
-
getContents
Return all of the content -
getKeys
-