public class CmsGalleryFilteredNavTreeBuilder extends java.lang.Object
Objects of this class are single-use, which means they should only be used for a single navigation tree filtering operation.
| Modifier and Type | Class and Description |
|---|---|
class |
CmsGalleryFilteredNavTreeBuilder.NavigationNode
A tree node representing a navigation entry.
|
| Constructor and Description |
|---|
CmsGalleryFilteredNavTreeBuilder(CmsObject cms,
java.lang.String rootPath)
Creates a new navigation tree.
|
| Modifier and Type | Method and Description |
|---|---|
CmsGalleryFilteredNavTreeBuilder.NavigationNode |
getRoot()
Gets the root node.
|
boolean |
hasMatches()
Returns true if any matching tree nodes have been found.
|
void |
initTree(java.lang.String filter)
Constructs the filtered navigation tree.
|
public CmsGalleryFilteredNavTreeBuilder(CmsObject cms, java.lang.String rootPath)
cms - the CMS contextrootPath - the root pathpublic CmsGalleryFilteredNavTreeBuilder.NavigationNode getRoot()
public boolean hasMatches()
public void initTree(java.lang.String filter)
filter - the filter string