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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Collection<Language>
getCqLanguages()
Returns a collection of all languages covered by this treeCollection<Locale>
getLanguages()
Deprecated.usegetCqLanguages()
insteadCollection<? extends LanguageManager.TreeNode>
getNodes()
Returns an collection of nodes.String
getRoot()
Returns the root path of the tree
-
-
-
Method Detail
-
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
-
-