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 ClassesNested 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
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected WebdavDocumentVersionprotected WebdavDocumentVersionsManagementServiceprotected Stringprotected FetchPlanRepositoryprotected com.vaadin.flow.shared.Registrationprotected BooleanSupplierprotected Messagesprotected MetaPropertyPathstatic final Stringprotected Longprotected WebdavRawLinksManagementServiceprotected booleanprotected com.vaadin.flow.shared.Registrationprotected ValueSource<WebdavDocumentVersion>protected WebdavDocumentprotected UUIDprotected WebdavDocumentVersionprotected UUIDprotected WebdavPreconditionsprotected WebdavTools -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidbuilder(UiComponents uiComponents) longprotected voidhandleAttach(com.vaadin.flow.component.AttachEvent attachEvent) protected voidbooleanprotected WebdavDocumentVersionvoidrefresh()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetIsWebdavEnabledSupplier(BooleanSupplier isWebdavEnabledSupplier) voidsetNaturalVersionId(long naturalVersionId) voidsetUseLastVersion(boolean useLastVersion) voidsetValueSource(ValueSource<WebdavDocumentVersion> valueSource) voidsetWebdavDocument(WebdavDocument webdavDocument) voidsetWebdavDocumentId(UUID webdavDocumentId) voidsetWebdavDocumentVersion(WebdavDocumentVersion webdavDocumentVersion) voidsetWebdavDocumentVersionId(UUID webdavDocumentId) protected voidMethods inherited from class com.vaadin.flow.component.html.Anchor
getHref, getTarget, getTargetValue, onEnabledStateChanged, removeHref, setHref, setHref, setTarget, setTargetMethods inherited from class com.vaadin.flow.component.HtmlComponent
getTitle, setTitleMethods 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, 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.BlurNotifier
addBlurListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.Focusable
addFocusShortcut, blur, focus, getTabIndex, setTabIndexMethods inherited from interface com.vaadin.flow.component.FocusNotifier
addFocusListenerMethods inherited from interface com.vaadin.flow.component.HasAriaLabel
getAriaLabel, getAriaLabelledBy, setAriaLabel, setAriaLabelledByMethods inherited from interface com.vaadin.flow.component.HasComponents
add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAllMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods 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, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods 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:
afterPropertiesSetin 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:
setValueSourcein interfaceSupportsValueSource<WebdavDocumentVersion>
-
getValueSource
- Specified by:
getValueSourcein 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:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
builder
-