@ApplicationScoped public class NavTreeStorage extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NAV_TREE_FILE_NAME |
| Constructor and Description |
|---|
NavTreeStorage() |
NavTreeStorage(IOService ioService,
FileSystem fileSystem) |
| Modifier and Type | Method and Description |
|---|---|
protected Path |
getNavRootPath() |
protected Path |
getNavTreePath() |
void |
init() |
NavTree |
loadNavTree() |
void |
saveNavTree(NavTree navTree) |
public static final String NAV_TREE_FILE_NAME
public NavTreeStorage()
@Inject
public NavTreeStorage(@Named(value="ioStrategy")
IOService ioService,
@Named(value="navigationFS")
FileSystem fileSystem)
@PostConstruct public void init()
protected Path getNavRootPath()
protected Path getNavTreePath()
public NavTree loadNavTree()
public void saveNavTree(NavTree navTree)
Copyright © 2012–2021 JBoss by Red Hat. All rights reserved.