Class WebdavDocumentListView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.flowui.view.StandardListView<WebdavDocument>
io.jmix.webdavflowui.view.webdavdocument.WebdavDocumentListView
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,com.vaadin.flow.router.AfterNavigationObserver,com.vaadin.flow.router.BeforeEnterObserver,com.vaadin.flow.router.BeforeLeaveObserver,com.vaadin.flow.router.HasDynamicTitle,com.vaadin.flow.router.internal.AfterNavigationHandler,com.vaadin.flow.router.internal.BeforeEnterHandler,com.vaadin.flow.router.internal.BeforeLeaveHandler,LookupView<WebdavDocument>,MultiSelectLookupView,Serializable
@Route(value="webdav/webdavdocuments",
layout=DefaultMainViewParent.class)
@ViewController("webdav_WebdavDocument.list")
@ViewDescriptor("webdav-document-list-view.xml")
@DialogMode(width="64em")
public class WebdavDocumentListView
extends StandardListView<WebdavDocument>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEventNested classes/interfaces inherited from interface io.jmix.flowui.view.LookupView
LookupView.ValidationContext<E> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.component.orderedlayout.HorizontalLayoutprotected DataManagerprotected Dialogsprotected WebdavDocumentLoadManagerprotected WebdavDocumentsManagementServiceprotected Downloaderprotected FilePathBreadCrumbsprotected com.vaadin.flow.component.textfield.TextFieldprotected MessageBundleprotected Messagesprotected TemporaryStorageprotected UiComponentsprotected FileStorageUploadFieldprotected CollectionContainer<WebdavDocument>protected CollectionLoader<WebdavDocument>protected DataGrid<WebdavDocument>protected BaseActionprotected ItemTrackingAction<WebdavDocument>protected ItemTrackingAction<WebdavDocument>protected ItemTrackingAction<WebdavDocument>protected ItemTrackingAction<WebdavDocument>protected ItemTrackingAction<WebdavDocument>protected BaseActionprotected ItemTrackingAction<WebdavDocument>protected WebdavPropertiesprotected WebdavSecurityToolsFields inherited from class io.jmix.flowui.view.StandardListView
DISCARD_ACTION_DEFAULT_ID, LOOKUP_ACTIONS_LAYOUT_DEFAULT_ID, SELECT_ACTION_DEFAULT_ID, selectionHandler, selectionValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyVersioning(boolean versioning) protected booleancontainsCollection(Set<WebdavDocument> webdavDocuments) protected FilePathBreadCrumbsprotected WebdavDocumentcreateWebdavDocument(FileRef fileRef) protected com.vaadin.flow.data.renderer.Renderer<WebdavDocument>protected booleanprotected com.vaadin.flow.data.renderer.Renderer<WebdavDocument>protected voidonApplyFilePathBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidonBeforeShow(View.BeforeShowEvent event) protected voidonFileUploadSucceed(FileUploadSucceededEvent<FileStorageUploadField> fileUploadSucceedEvent) protected voidonInit(View.InitEvent event) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidonWebdavDocumentsGridSelection(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<WebdavDocument>, WebdavDocument> event) protected voidprotected voidrefresh()protected voidprotected voidprotected voidprotected com.vaadin.flow.data.renderer.Renderer<WebdavDocument>Methods inherited from class io.jmix.flowui.view.StandardListView
closeWithDiscard, doSelect, findLookupComponent, getDiscardAction, getLookupActionsLayout, getLookupComponent, getSelectAction, getSelectionHandler, getSelectionValidator, handleSelection, setLookupComponentMultiSelect, setSelectionHandler, setSelectionValidator, setupLookupComponent, setupSaveShortcut, validateSelectedItemsMethods inherited from class io.jmix.flowui.view.StandardView
initContentMethods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, setApplicationContext, setId, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacetsMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
dataManager
-
uiComponents
-
temporaryStorage
-
webdavProperties
-
documentsService
-
downloader
-
webdavSecurityTools
-
messages
-
messageBundle
-
dialogs
-
documentLoadManager
-
webdavDocumentsDl
-
webdavDocumentsGrid
-
breadcrumbsLayout
-
filePathField
-
uploadBtn
-
webdavDocumentsGridUnlock
@ViewComponent("webdavDocumentsGrid.unlock") protected ItemTrackingAction<WebdavDocument> webdavDocumentsGridUnlock -
webdavDocumentsGridLock
@ViewComponent("webdavDocumentsGrid.lock") protected ItemTrackingAction<WebdavDocument> webdavDocumentsGridLock -
webdavDocumentsGridManageVersions
@ViewComponent("webdavDocumentsGrid.manageVersions") protected ItemTrackingAction<WebdavDocument> webdavDocumentsGridManageVersions -
webdavDocumentsGridDownload
@ViewComponent("webdavDocumentsGrid.download") protected ItemTrackingAction<WebdavDocument> webdavDocumentsGridDownload -
webdavDocumentsGridDisableVersioning
@ViewComponent("webdavDocumentsGrid.disableVersioning") protected ItemTrackingAction<WebdavDocument> webdavDocumentsGridDisableVersioning -
webdavDocumentsGridEnableVersioning
@ViewComponent("webdavDocumentsGrid.enableVersioning") protected ItemTrackingAction<WebdavDocument> webdavDocumentsGridEnableVersioning -
webdavDocumentsGridCreateCollection
@ViewComponent("webdavDocumentsGrid.createCollection") protected BaseAction webdavDocumentsGridCreateCollection -
webdavDocumentsGridRenameCollection
@ViewComponent("webdavDocumentsGrid.renameCollection") protected BaseAction webdavDocumentsGridRenameCollection -
webdavDocumentsDc
-
filePathBreadCrumbs
-
-
Constructor Details
-
WebdavDocumentListView
public WebdavDocumentListView()
-
-
Method Details
-
onInit
-
documentCellRenderer
@Supply(to="webdavDocumentsGrid.document", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<WebdavDocument> documentCellRenderer() -
lockStateCellRenderer
@Supply(to="webdavDocumentsGrid.lockState", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<WebdavDocument> lockStateCellRenderer() -
versioningCellRenderer
@Supply(to="webdavDocumentsGrid.versioning", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<WebdavDocument> versioningCellRenderer() -
onBeforeShow
-
isVersioningEnabled
protected boolean isVersioningEnabled() -
onWebdavDocumentsGridSelection
protected void onWebdavDocumentsGridSelection(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<WebdavDocument>, WebdavDocument> event) -
updateAfterRefresh
protected void updateAfterRefresh() -
updateSelection
protected void updateSelection() -
updateButtonsVisibility
protected void updateButtonsVisibility() -
containsCollection
-
onWebdavDocumentsGridCreateCollection
@Subscribe("webdavDocumentsGrid.createCollection") protected void onWebdavDocumentsGridCreateCollection(ActionPerformedEvent event) -
onWebdavDocumentsGridRenameCollection
@Subscribe("webdavDocumentsGrid.renameCollection") protected void onWebdavDocumentsGridRenameCollection(ActionPerformedEvent event) -
onWebdavDocumentsGridDownload
@Subscribe("webdavDocumentsGrid.download") protected void onWebdavDocumentsGridDownload(ActionPerformedEvent event) -
onWebdavDocumentsGridManageVersions
@Subscribe("webdavDocumentsGrid.manageVersions") protected void onWebdavDocumentsGridManageVersions(ActionPerformedEvent event) -
onWebdavDocumentsGridEnableVersioning
@Subscribe("webdavDocumentsGrid.enableVersioning") protected void onWebdavDocumentsGridEnableVersioning(ActionPerformedEvent event) -
onWebdavDocumentsGridDisableVersioning
@Subscribe("webdavDocumentsGrid.disableVersioning") protected void onWebdavDocumentsGridDisableVersioning(ActionPerformedEvent event) -
applyVersioning
protected void applyVersioning(boolean versioning) -
refresh
protected void refresh() -
onWebdavDocumentsGridRemove
@Subscribe("webdavDocumentsGrid.remove") protected void onWebdavDocumentsGridRemove(ActionPerformedEvent event) -
onWebdavDocumentsGridLock
@Subscribe("webdavDocumentsGrid.lock") protected void onWebdavDocumentsGridLock(ActionPerformedEvent event) -
onWebdavDocumentsGridUnlock
@Subscribe("webdavDocumentsGrid.unlock") protected void onWebdavDocumentsGridUnlock(ActionPerformedEvent event) -
onApplyFilePathBtnClick
@Subscribe("applyFilePathBtn") protected void onApplyFilePathBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onFileUploadSucceed
protected void onFileUploadSucceed(FileUploadSucceededEvent<FileStorageUploadField> fileUploadSucceedEvent) -
createWebdavDocument
-
createFilePathBreadCrumbs
-