Class NavTreeStorage
- java.lang.Object
-
- org.dashbuilder.navigation.storage.NavTreeStorage
-
@ApplicationScoped public class NavTreeStorage extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAV_TREE_FILE_NAME
-
Constructor Summary
Constructors Constructor Description NavTreeStorage()NavTreeStorage(org.uberfire.io.IOService ioService, org.uberfire.java.nio.file.FileSystem fileSystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.uberfire.java.nio.file.PathgetNavRootPath()protected org.uberfire.java.nio.file.PathgetNavTreePath()voidinit()org.dashbuilder.navigation.NavTreeloadNavTree()voidsaveNavTree(org.dashbuilder.navigation.NavTree navTree)
-
-
-
Field Detail
-
NAV_TREE_FILE_NAME
public static final String NAV_TREE_FILE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getNavRootPath
protected org.uberfire.java.nio.file.Path getNavRootPath()
-
getNavTreePath
protected org.uberfire.java.nio.file.Path getNavTreePath()
-
loadNavTree
public org.dashbuilder.navigation.NavTree loadNavTree()
-
saveNavTree
public void saveNavTree(org.dashbuilder.navigation.NavTree navTree)
-
-