Package io.jmix.webdavflowui.component
Class WebdavDocumentVersionLink
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.HtmlComponent
com.vaadin.flow.component.HtmlContainer
com.vaadin.flow.component.html.Anchor
io.jmix.webdavflowui.component.WebdavDocumentVersionLink
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.BlurNotifier<com.vaadin.flow.component.html.Anchor>
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.Focusable<com.vaadin.flow.component.html.Anchor>
,com.vaadin.flow.component.FocusNotifier<com.vaadin.flow.component.html.Anchor>
,com.vaadin.flow.component.HasAriaLabel
,com.vaadin.flow.component.HasComponents
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasEnabled
,com.vaadin.flow.component.HasSize
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.component.HasText
,SupportsValueSource<WebdavDocumentVersion>
,Serializable
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
public class WebdavDocumentVersionLink
extends com.vaadin.flow.component.html.Anchor
implements SupportsValueSource<WebdavDocumentVersion>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier
com.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>
Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifier
com.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>
Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasText
com.vaadin.flow.component.HasText.WhiteSpace
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected WebdavDocumentVersion
protected WebdavDocumentVersionsManagementService
protected String
protected FetchPlanRepository
protected com.vaadin.flow.shared.Registration
protected BooleanSupplier
protected Messages
protected MetaPropertyPath
static final String
protected Long
protected WebdavRawLinksManagementService
protected boolean
protected com.vaadin.flow.shared.Registration
protected ValueSource<WebdavDocumentVersion>
protected WebdavDocument
protected UUID
protected WebdavDocumentVersion
protected UUID
protected WebdavPreconditions
protected WebdavTools
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
builder
(UiComponents uiComponents) long
protected void
handleAttach
(com.vaadin.flow.component.AttachEvent attachEvent) protected void
boolean
protected WebdavDocumentVersion
void
refresh()
void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setIsWebdavEnabledSupplier
(BooleanSupplier isWebdavEnabledSupplier) void
setNaturalVersionId
(long naturalVersionId) void
setUseLastVersion
(boolean useLastVersion) void
setValueSource
(ValueSource<WebdavDocumentVersion> valueSource) void
setWebdavDocument
(WebdavDocument webdavDocument) void
setWebdavDocumentId
(UUID webdavDocumentId) void
setWebdavDocumentVersion
(WebdavDocumentVersion webdavDocumentVersion) void
setWebdavDocumentVersionId
(UUID webdavDocumentId) protected void
Methods inherited from class com.vaadin.flow.component.html.Anchor
getHref, getTarget, getTargetValue, onEnabledStateChanged, removeHref, setHref, setHref, setTarget, setTarget
Methods inherited from class com.vaadin.flow.component.HtmlComponent
getTitle, setTitle
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, 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.BlurNotifier
addBlurListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.Focusable
addFocusShortcut, blur, focus, getTabIndex, setTabIndex
Methods inherited from interface com.vaadin.flow.component.FocusNotifier
addFocusListener
Methods inherited from interface com.vaadin.flow.component.HasAriaLabel
getAriaLabel, getAriaLabelledBy, setAriaLabel, setAriaLabelledBy
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAll
Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
Methods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabled
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
Methods inherited from interface com.vaadin.flow.component.HasText
getText, getWhiteSpace, setText, setWhiteSpace
-
Field Details
-
NAME
- See Also:
-
fetchPlanName
-
-
webdavDocumentVersion
-
webdavDocumentVersionId
-
webdavDocument
-
webdavDocumentId
-
naturalVersionId
-
useLastVersion
protected boolean useLastVersion -
valueSource
-
metaPropertyPath
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
messages
-
documentVersionsService
-
rawLinksService
-
wprecond
-
wtools
-
fetchPlanRepository
-
isWebdavEnabledSupplier
-
valueChangeSubscription
protected com.vaadin.flow.shared.Registration valueChangeSubscription -
instanceChangeSubscription
protected com.vaadin.flow.shared.Registration instanceChangeSubscription
-
-
Constructor Details
-
WebdavDocumentVersionLink
public WebdavDocumentVersionLink()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
initBeans
protected void initBeans() -
handleAttach
protected void handleAttach(com.vaadin.flow.component.AttachEvent attachEvent) -
refresh
public void refresh() -
loadContent
-
setWebdavDocumentVersion
-
getWebdavDocumentVersion
-
setWebdavDocumentVersionId
-
getWebdavDocumentVersionId
-
setWebdavDocument
-
getWebdavDocument
-
setWebdavDocumentId
-
getWebdavDocumentId
-
setNaturalVersionId
public void setNaturalVersionId(long naturalVersionId) -
getNaturalVersionId
public long getNaturalVersionId() -
isUseLastVersion
public boolean isUseLastVersion() -
setUseLastVersion
public void setUseLastVersion(boolean useLastVersion) -
getMetaPropertyPath
-
getIsWebdavEnabledSupplier
-
setIsWebdavEnabledSupplier
-
setValueSource
- Specified by:
setValueSource
in interfaceSupportsValueSource<WebdavDocumentVersion>
-
getValueSource
- Specified by:
getValueSource
in interfaceSupportsValueSource<WebdavDocumentVersion>
-
unbindValueSourceEvents
protected void unbindValueSourceEvents() -
bindValueSourceEvents
protected void bindValueSourceEvents() -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
builder
-