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 java.util.Collection<Language>
getCqLanguages()
Returns a collection of all languages covered by this treejava.util.Collection<java.util.Locale>
getLanguages()
Deprecated.usegetCqLanguages()
insteadjava.util.Collection<? extends LanguageManager.TreeNode>
getNodes()
Returns an collection of nodes.java.lang.String
getRoot()
Returns the root path of the tree
-
-
-
Method Detail
-
getRoot
java.lang.String getRoot()
Returns the root path of the tree- Returns:
- the root path of the tree
-
getLanguages
java.util.Collection<java.util.Locale> getLanguages()
Deprecated.usegetCqLanguages()
insteadReturns a collection of all languages covered by this tree- Returns:
- collection of languages
-
getCqLanguages
java.util.Collection<Language> getCqLanguages()
Returns a collection of all languages covered by this tree- Returns:
- collection of languages
- Since:
- 5.4
-
getNodes
java.util.Collection<? extends LanguageManager.TreeNode> getNodes()
Returns an collection of nodes.- Returns:
- the nodes
-
-