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,FragmentOwner,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 WebdavDocumentsManagementServiceprotected Downloaderprotected 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 BreadCrumbsPresentercreateFilePathBreadCrumbs(ParentDocumentContextHolder parentDocumentContextHolder) protected WebdavDocumentcreateWebdavDocument(FileRef fileRef) protected com.vaadin.flow.data.renderer.Renderer<WebdavDocument>protected booleanprotected com.vaadin.flow.data.renderer.Renderer<WebdavDocument>voidonApplyFilePathBtnClick(com.vaadin.flow.component.ClickEvent<JmixButton> event) voidonBeforeShow(View.BeforeShowEvent event) protected voidonFileUploadSucceed(FileUploadSucceededEvent<FileStorageUploadField> fileUploadSucceedEvent) voidprotected voidonInit(View.InitEvent event) voidvoidprotected 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 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, lookupEnterPress, 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, onDetachInternal, removeApplicationListeners, removeViewAttributes, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods 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
-
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
-
-
Constructor Details
-
WebdavDocumentListView
public WebdavDocumentListView()
-
-
Method Details
-
onInit
-
onBeforeShow
-
documentCellRenderer
@Supply(to="webdavDocumentsGrid.name", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<WebdavDocument> documentCellRenderer() -
lockStateCellRenderer
@Supply(to="webdavDocumentsGrid.isLocked", 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() -
isVersioningEnabled
protected boolean isVersioningEnabled() -
onWebdavDocumentsGridSelection
protected void onWebdavDocumentsGridSelection(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<WebdavDocument>, WebdavDocument> event) -
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(id="applyFilePathBtn", subject="clickListener") public void onApplyFilePathBtnClick(com.vaadin.flow.component.ClickEvent<JmixButton> event) -
onFileUploadSucceed
protected void onFileUploadSucceed(FileUploadSucceededEvent<FileStorageUploadField> fileUploadSucceedEvent) -
createWebdavDocument
-
createFilePathBreadCrumbs
protected BreadCrumbsPresenter createFilePathBreadCrumbs(ParentDocumentContextHolder parentDocumentContextHolder) -
onWebdavDocumentsDlPreLoad
@Subscribe(id="webdavDocumentsDl", target=DATA_LOADER) public void onWebdavDocumentsDlPreLoad(CollectionLoader.PreLoadEvent<WebdavDocument> event) -
onGenericFilterConfigurationRefresh
@Subscribe("genericFilter") public void onGenericFilterConfigurationRefresh(GenericFilter.ConfigurationRefreshEvent event) -
onWebdavDocumentsDlPostLoad
@Subscribe(id="webdavDocumentsDl", target=DATA_LOADER) public void onWebdavDocumentsDlPostLoad(CollectionLoader.PostLoadEvent<WebdavDocument> event)
-