Class WebdavShowDocumentVersionsDetailView

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.StandardDetailView<WebdavDocument>
io.jmix.webdavflowui.view.webdavdocumentversion.WebdavShowDocumentVersionsDetailView
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, ChangeTracker, DetailView<WebdavDocument>, ReadOnlyAwareView, Serializable

@Route(value="webdav/webdavshowdocumentversions/:id", layout=DefaultMainViewParent.class) @ViewController("webdav_WebdavShowDocumentVersions.detail") @ViewDescriptor("webdav-show-document-versions-detail-view.xml") @DialogMode(width="64em", resizable=true) public class WebdavShowDocumentVersionsDetailView extends StandardDetailView<WebdavDocument>
See Also:
  • Field Details

  • Constructor Details

    • WebdavShowDocumentVersionsDetailView

      public WebdavShowDocumentVersionsDetailView()
  • Method Details

    • createDownloadAction

      protected Action createDownloadAction()
    • createNewVersionAction

      protected Action createNewVersionAction()
    • createDownloadAsZipAction

      protected Action createDownloadAsZipAction()
    • newStoredEntry

      protected org.apache.commons.compress.archivers.zip.ZipArchiveEntry newStoredEntry(String name, byte[] data)
    • onInit

      @Subscribe public void onInit(View.InitEvent event)
    • versionCellRenderer

      @Supply(to="webdavDocumentVersionsGrid.naturalVersionId", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<WebdavDocumentVersion> versionCellRenderer()
    • nameCellRenderer

      @Supply(to="webdavDocumentVersionsGrid.name", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<WebdavDocumentVersion> nameCellRenderer()
    • initActions

      public void initActions()
    • onBeforeShow

      @Subscribe public void onBeforeShow(View.BeforeShowEvent event)
    • onPreCommit

      @Subscribe(target=DATA_CONTEXT) public void onPreCommit(DataContext.PreSaveEvent event)
    • onPostCommit

      @Subscribe(target=DATA_CONTEXT) public void onPostCommit(DataContext.PostSaveEvent event)
    • onAfterClose

      @Subscribe public void onAfterClose(View.AfterCloseEvent event)
    • addNewVersion

      protected void addNewVersion(WebdavDocumentVersion newVersion)
    • getDefaultMergePolicy

      protected MergePolicy<WebdavDocumentVersion> getDefaultMergePolicy()
    • sortTableByNaturalVersionId

      public void sortTableByNaturalVersionId()
    • updateDsAndClearNewVersionList

      public void updateDsAndClearNewVersionList(boolean applyListener)
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
    • setListener

      public void setListener(Consumer<List<WebdavDocumentVersion>> listener)
    • applyListener

      public void applyListener()
    • onLockBtnClick

      @Subscribe("lockBtn") public void onLockBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event)
    • lock

      protected void lock()
    • unlock

      protected void unlock()
    • lockDocument

      protected void lockDocument()
    • unlockDocument

      protected void unlockDocument()
    • reloadedDocument

      protected WebdavDocument reloadedDocument()
    • onRefreshClick

      @Subscribe("refresh") public void onRefreshClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event)
    • onwebdavDocumentVersionsGridOpenDocumentAction

      @Subscribe("webdavDocumentVersionsGrid.openDocumentAction") protected void onwebdavDocumentVersionsGridOpenDocumentAction(ActionPerformedEvent event)