Class WebdavDocumentLink

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
io.jmix.webdavflowui.component.WebdavDocumentLink
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasTheme, com.vaadin.flow.component.shared.HasTooltip, SupportsValueSource<WebdavDocument>, Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

@CssImport("./styles/webdav-version-button-style.css") public class WebdavDocumentLink extends com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div> implements SupportsValueSource<WebdavDocument>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, com.vaadin.flow.component.HasTheme, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.shared.HasTooltip, com.vaadin.flow.component.HasEnabled
See Also:
  • Field Details

  • Constructor Details

    • WebdavDocumentLink

      public WebdavDocumentLink()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • initBeans

      protected void initBeans()
    • initContent

      protected com.vaadin.flow.component.html.Div initContent()
      Overrides:
      initContent in class com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
    • initLinks

      protected void initLinks()
    • createVersionButton

      protected JmixButton createVersionButton()
    • createDocumentLink

      protected com.vaadin.flow.component.html.Anchor createDocumentLink()
    • onVersionsViewClosed

      protected void onVersionsViewClosed(List<WebdavDocumentVersion> webdavDocumentVersions)
    • refresh

      public void refresh()
    • loadContent

      @Nullable protected WebdavDocument loadContent()
    • getWebdavDocumentId

      public UUID getWebdavDocumentId()
    • setWebdavDocumentId

      public void setWebdavDocumentId(UUID webdavDocumentId)
    • setWebdavDocument

      public void setWebdavDocument(@Nullable WebdavDocument webdavDocument)
    • getWebdavDocument

      public WebdavDocument getWebdavDocument()
    • setShowVersion

      public void setShowVersion(boolean showVersion)
    • isShowVersion

      public boolean isShowVersion()
    • setVersionModifiable

      public void setVersionModifiable(boolean versionModifiable)
    • isVersionModifiable

      public boolean isVersionModifiable()
    • getWebdavContent

      public WebdavDocument getWebdavContent()
    • getMetaPropertyPath

      public MetaPropertyPath getMetaPropertyPath()
    • getIsWebdavEnabledSupplier

      public BooleanSupplier getIsWebdavEnabledSupplier()
    • setIsWebdavEnabledSupplier

      public void setIsWebdavEnabledSupplier(BooleanSupplier isWebdavEnabledSupplier)
    • getValueSource

      @Nullable public ValueSource<WebdavDocument> getValueSource()
      Specified by:
      getValueSource in interface SupportsValueSource<WebdavDocument>
    • setValueSource

      public void setValueSource(@Nullable ValueSource<WebdavDocument> valueSource)
      Specified by:
      setValueSource in interface SupportsValueSource<WebdavDocument>
    • unbindValueSourceEvents

      protected void unbindValueSourceEvents()
    • bindValueSourceEvents

      protected void bindValueSourceEvents()
    • setAfterVersionEditCloseHandler

      public void setAfterVersionEditCloseHandler(Consumer<FileRef> afterVersionEditCloseHandler)
    • getAfterVersionEditCloseHandler

      public Consumer<FileRef> getAfterVersionEditCloseHandler()
    • getActualDocument

      public WebdavDocument getActualDocument()
    • setEnabled

      public void setEnabled(boolean enabled)
      Specified by:
      setEnabled in interface com.vaadin.flow.component.HasEnabled
    • builder

      public static WebdavDocumentLink.Builder builder(UiComponents uiComponents)