Class FcSaveToWebDavBean

    • Constructor Detail

      • FcSaveToWebDavBean

        public FcSaveToWebDavBean()
    • Method Detail

      • getRoot

        public org.primefaces.model.TreeNode<WebDAVTreeNodeData> getRoot()
        Returns:
        The root node for the tree with the folders that are available on the WebDAV server.
      • getWebDav

        public WebDavAccess getWebDav()
        Returns:
        The currently selected WebDavAccess entity, or null if none is selected.
      • getWebDavUrl

        public String getWebDavUrl()
        Returns:
        The full URL of the currently selected WebDavAccess, or the empty string when none is selected.
      • onClickShowFolders

        public void onClickShowFolders()
        Callback when the user clicks on the button to show the folders available on the WebDAV server. Reloads the WebDavAccess entity an queries the WebDAV server.
      • onNodeSelect

        public void onNodeSelect​(org.primefaces.event.NodeSelectEvent event)
        Callback when the user clicks on a node in the tree with the existing folders. Sets the path to the folder on which the user clicked.
        Parameters:
        event - Node select event received from the framework.
      • onWebDavConnectionChange

        public void onWebDavConnectionChange()
        Callback when the user selects a different WebDAV connection. Reloads the WebDavAccess entity and clears the tree that shows with the existing folders.