Class WebDavConnectionBean
java.lang.Object
de.xima.fc.gui.bean.data.WebDavConnectionBean
- All Implemented Interfaces:
Serializable
Controller bean for the WebDAV management backend menu.
- Since:
- 7.1.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCallback invoked when the user click on the test connection button on the UI.getModel()org.primefaces.model.TreeNode<WebDAVTreeNodeData> getRoot()Get all WebDAV connectionsvoidonNodeSelect(org.primefaces.event.NodeSelectEvent event) Copies the path of the selected tree node to the clipboard.
-
Constructor Details
-
WebDavConnectionBean
public WebDavConnectionBean()
-
-
Method Details
-
checkConnection
public void checkConnection()Callback invoked when the user click on the test connection button on the UI. Performs the connection test. If successful, loads the root files and folders so they can be displayed to the user. -
getModel
- Returns:
- the model
-
getRoot
- Returns:
- The root node for the tree with the existing folders and files.
-
getWebDavAccess
Get all WebDAV connections- Returns:
- a list of
WebDavAccess
-
onNodeSelect
public void onNodeSelect(org.primefaces.event.NodeSelectEvent event) Copies the path of the selected tree node to the clipboard.- Parameters:
event- Tree node select event
-