Package de.xima.fc.gui.bean.data
Class WebDavConnectionBean
- java.lang.Object
-
- de.xima.fc.gui.bean.data.WebDavConnectionBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class WebDavConnectionBean extends Object implements Serializable
Controller bean for the WebDAV management backend menu.- Since:
- 7.1.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebDavConnectionBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckConnection()Callback invoked when the user click on the test connection button on the UI.IEntityListModelSelectByView<WebDavAccess>getModel()org.primefaces.model.TreeNode<WebDAVTreeNodeData>getRoot()List<WebDavAccess>getWebDavAccess()Get all WebDAV connectionsvoidonNodeSelect(org.primefaces.event.NodeSelectEvent event)Copies the path of the selected tree node to the clipboard.
-
-
-
Method Detail
-
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
public IEntityListModelSelectByView<WebDavAccess> getModel()
- Returns:
- the model
-
getRoot
public org.primefaces.model.TreeNode<WebDAVTreeNodeData> getRoot()
- Returns:
- The root node for the tree with the existing folders and files.
-
getWebDavAccess
public List<WebDavAccess> 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
-
-