Class WebdavDocumentLoadManager
java.lang.Object
io.jmix.webdavui.screen.webdavdocument.WebdavDocumentLoadManager
-
Field Summary
Modifier and TypeFieldDescriptionprotected Runnable
protected FilePathBreadCrumbs
protected WebdavDocument
protected DataManager
protected static final String
protected WebdavDocumentsManagementService
protected FetchPlanRepository
protected Messages
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) -
Method Summary
Modifier and TypeMethodDescriptionprotected Deque<WebdavDocument>
buildFilePath
(WebdavDocument document) protected String
encodeFullPath
(String fullPath) boolean
protected void
onBreadCrumbsClick
(com.vaadin.ui.Button.ClickEvent clickEvent) protected void
protected void
void
refresh()
Refresh current documents list.void
setAfterRefreshAction
(Runnable afterRefreshAction) setBreadCrumbs
(FilePathBreadCrumbs breadCrumbs) setFullPathField
(TextField<String> 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
-
documentsManagementService
-
dataManager
-
messages
-
afterRefreshAction
-
currentParent
-
searchResultsMode
protected boolean searchResultsModeIf current documents are loaded by applying a filter. -
fetchPlanRepository
-
-
Constructor Details
-
WebdavDocumentLoadManager
public WebdavDocumentLoadManager() -
WebdavDocumentLoadManager
@Autowired public WebdavDocumentLoadManager(WebdavDocumentsManagementService documentsManagementService, DataManager dataManager, Messages messages, FetchPlanRepository fetchPlanRepository)
-
-
Method Details
-
setWebdavDocumentsDc
public WebdavDocumentLoadManager setWebdavDocumentsDc(CollectionContainer<WebdavDocument> webdavDocumentsDc) -
setWebdavDocumentDl
public WebdavDocumentLoadManager setWebdavDocumentDl(CollectionLoader<WebdavDocument> webdavDocumentDl) -
setBreadCrumbs
-
setFullPathField
-
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.ui.Button.ClickEvent clickEvent)
-