public class TreeMenuViewController
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
TreeMenuViewController() |
Modifier and Type | Method and Description |
---|---|
void |
addGroupNode()
Adds the group node.
|
void |
addNode()
Adds the node.
|
void |
collapseAll()
Collapse all.
|
void |
deleteAccount()
Delete account.
|
void |
deleteAccountGroup()
Delete account group.
|
void |
expandAll()
Expand all.
|
LoginUserView |
getLoginBean()
Gets the login bean.
|
org.primefaces.model.TreeNode |
getRoot()
Gets the root.
|
org.primefaces.model.TreeNode |
getSelectedNode()
Gets the selected node.
|
void |
init()
Inits the.
|
boolean |
isShowClearData()
Checks if is show clear data.
|
void |
loadData()
Load data.
|
void |
saveAccount()
Save account.
|
void |
saveAccountGroup()
Save account group.
|
void |
setLoginBean(LoginUserView loginBean)
Sets the login bean.
|
void |
setSelectedNode(org.primefaces.model.TreeNode selectedNode)
Sets the selected node.
|
void |
setService(TreeVewDataManagement service)
Sets the service.
|
void |
setShowClearData(boolean showClearData)
Sets the show clear data.
|
@PostConstruct public void init()
public void loadData()
public org.primefaces.model.TreeNode getRoot()
public boolean isShowClearData()
public void setShowClearData(boolean showClearData)
showClearData
- the new show clear datapublic void expandAll()
public void collapseAll()
public org.primefaces.model.TreeNode getSelectedNode()
public void setSelectedNode(org.primefaces.model.TreeNode selectedNode)
selectedNode
- the new selected nodepublic void setService(TreeVewDataManagement service)
service
- the new servicepublic void addNode()
public void addGroupNode()
public void saveAccount()
public void deleteAccount()
public void saveAccountGroup()
public void deleteAccountGroup()
public LoginUserView getLoginBean()
public void setLoginBean(LoginUserView loginBean)
loginBean
- the new login bean