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.ReadyEvent
Nested classes/interfaces inherited from interface io.jmix.flowui.view.LookupView
LookupView.ValidationContext<E>
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.vaadin.flow.component.orderedlayout.HorizontalLayout
protected DataManager
protected Dialogs
protected WebdavDocumentsManagementService
protected Downloader
protected com.vaadin.flow.component.textfield.TextField
protected MessageBundle
protected Messages
protected TemporaryStorage
protected UiComponents
protected FileStorageUploadField
protected CollectionContainer<WebdavDocument>
protected CollectionLoader<WebdavDocument>
protected DataGrid<WebdavDocument>
protected BaseAction
protected ItemTrackingAction<WebdavDocument>
protected ItemTrackingAction<WebdavDocument>
protected ItemTrackingAction<WebdavDocument>
protected ItemTrackingAction<WebdavDocument>
protected ItemTrackingAction<WebdavDocument>
protected BaseAction
protected ItemTrackingAction<WebdavDocument>
protected WebdavProperties
protected WebdavSecurityTools
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyVersioning
(boolean versioning) protected boolean
containsCollection
(Set<WebdavDocument> webdavDocuments) protected BreadCrumbsPresenter
createFilePathBreadCrumbs
(ParentDocumentContextHolder parentDocumentContextHolder) protected WebdavDocument
createWebdavDocument
(FileRef fileRef) protected com.vaadin.flow.data.renderer.Renderer<WebdavDocument>
protected boolean
protected com.vaadin.flow.data.renderer.Renderer<WebdavDocument>
void
onApplyFilePathBtnClick
(com.vaadin.flow.component.ClickEvent<JmixButton> event) void
onBeforeShow
(View.BeforeShowEvent event) protected void
onFileUploadSucceed
(FileUploadSucceededEvent<FileStorageUploadField> fileUploadSucceedEvent) void
protected void
onInit
(View.InitEvent event) void
onUpAction
(ActionPerformedEvent event) void
void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
onWebdavDocumentsGridSelection
(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<WebdavDocument>, WebdavDocument> event) protected void
protected void
refresh()
protected void
protected 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, validateSelectedItems
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods 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, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigation
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods 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, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods 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
@Subscribe("webdavDocumentsGrid") protected void onWebdavDocumentsGridSelection(com.vaadin.flow.data.selection.SelectionEvent<com.vaadin.flow.component.grid.Grid<WebdavDocument>, WebdavDocument> event) -
updateButtonsVisibility
protected void updateButtonsVisibility() -
containsCollection
-
onUpAction
-
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)
-