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 void
checkConnection()
Method connected to button for connection testing, saving the return from sardine.list() in a ListIEntityListModelSelectByView<WebDavAccess>
getModel()
org.primefaces.model.TreeNode<WebDAVTreeNodeData>
getRoot()
List<WebDavAccess>
getWebDavAccess()
Get all WebDAV connectionsvoid
onNodeSelect(org.primefaces.event.NodeSelectEvent event)
Copies the path of the selected tree node to the clipboard.
-
-
-
Method Detail
-
checkConnection
public void checkConnection()
Method connected to button for connection testing, saving the return from sardine.list() in a List
-
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
-
-