Class WebdavDocumentLoadManager
java.lang.Object
io.jmix.webdavflowui.view.webdavdocument.WebdavDocumentLoadManager
Encapsulates webdav document load logic for
WebdavDocumentListView
according to current selected documents and search string.-
Field Summary
Modifier and TypeFieldDescriptionprotected Runnable
protected FilePathBreadCrumbs
protected WebdavDocument
protected DataManager
protected static final String
protected WebdavDocumentsManagementService
protected FetchPlanRepository
protected com.vaadin.flow.component.textfield.TextField
protected Messages
protected Notifications
protected boolean
If current documents are loaded by applying a filter.protected CollectionLoader<WebdavDocument>
protected CollectionContainer<WebdavDocument>
-
Constructor Summary
ConstructorDescriptionWebdavDocumentLoadManager
(WebdavDocumentsManagementService documentsManagementService, DataManager dataManager, Messages messages, FetchPlanRepository fetchPlanRepository, Notifications notifications) -
Method Summary
Modifier and TypeMethodDescriptionprotected Deque<WebdavDocument>
buildFilePath
(WebdavDocument document) protected String
encodeFullPath
(String fullPath) boolean
protected void
onBreadCrumbsClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> clickEvent) protected void
protected void
void
refresh()
Refresh current documents list.void
setAfterRefreshAction
(Runnable afterRefreshAction) setBreadCrumbs
(FilePathBreadCrumbs breadCrumbs) setFullPathField
(com.vaadin.flow.component.textfield.TextField filePathField) setWebdavDocumentDl
(CollectionLoader<WebdavDocument> webdavDocumentDl) setWebdavDocumentsDc
(CollectionContainer<WebdavDocument> webdavDocumentsDc) void
void
showAllChildDocumentsFor
(String parentPath) void
showChildDocumentsFor
(WebdavDocument parent) void
showChildDocumentsFor
(String parentPath) void
-
Field Details
-
DOCUMENT_BROWSE_FETCH_PLAN
- See Also:
-
webdavDocumentsDc
-
webdavDocumentDl
-
breadCrumbs
-
filePathField
protected com.vaadin.flow.component.textfield.TextField filePathField -
documentsManagementService
-
dataManager
-
messages
-
afterRefreshAction
-
currentParent
-
searchResultsMode
protected boolean searchResultsModeIf current documents are loaded by applying a filter. -
fetchPlanRepository
-
notifications
-
-
Constructor Details
-
WebdavDocumentLoadManager
public WebdavDocumentLoadManager(WebdavDocumentsManagementService documentsManagementService, DataManager dataManager, Messages messages, FetchPlanRepository fetchPlanRepository, Notifications notifications)
-
-
Method Details
-
setWebdavDocumentsDc
public WebdavDocumentLoadManager setWebdavDocumentsDc(CollectionContainer<WebdavDocument> webdavDocumentsDc) -
setWebdavDocumentDl
public WebdavDocumentLoadManager setWebdavDocumentDl(CollectionLoader<WebdavDocument> webdavDocumentDl) -
setBreadCrumbs
-
setFullPathField
public WebdavDocumentLoadManager setFullPathField(com.vaadin.flow.component.textfield.TextField filePathField) -
setAfterRefreshAction
-
showChildDocumentsFor
-
showChildDocumentsFor
-
showAllChildDocumentsFor
-
showAllChildDocumentsFor
-
refresh
public void refresh()Refresh current documents list. -
buildFilePath
-
showRootDocuments
public void showRootDocuments() -
onDocumentCollectionLoaded
-
onSearchFilterApplied
protected void onSearchFilterApplied() -
isSearchResultsMode
public boolean isSearchResultsMode() -
getCurrentParent
-
encodeFullPath
-
onBreadCrumbsClick
protected void onBreadCrumbsClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> clickEvent)
-