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:
  • 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

      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