Package com.day.cq.wcm.api
Interface LanguageManager.Tree
- Enclosing interface:
LanguageManager
public static interface LanguageManager.Tree
Encapsulates information about language specific existences of resources
in a tree.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a collection of all languages covered by this treeDeprecated.Collection
<? extends LanguageManager.TreeNode> getNodes()
Returns an collection of nodes.getRoot()
Returns the root path of the tree
-
Method Details
-
getRoot
String getRoot()Returns the root path of the tree- Returns:
- the root path of the tree
-
getLanguages
Collection<Locale> getLanguages()Deprecated.usegetCqLanguages()
insteadReturns a collection of all languages covered by this tree- Returns:
- collection of languages
-
getCqLanguages
Collection<Language> getCqLanguages()Returns a collection of all languages covered by this tree- Returns:
- collection of languages
- Since:
- 5.4
-
getNodes
Collection<? extends LanguageManager.TreeNode> getNodes()Returns an collection of nodes.- Returns:
- the nodes
-
getCqLanguages()
instead