Package io.jmix.webdavui.component.impl
Class WebdavDocumentVersionLinkImpl
java.lang.Object
io.jmix.ui.component.impl.AbstractComponent<JmixLink>
io.jmix.ui.component.impl.LinkImpl
io.jmix.webdavui.component.impl.WebdavDocumentVersionLinkImpl
- All Implemented Interfaces:
AttachNotifier,Component,Component.BelongToFrame,Component.HasCaption,Component.HasDescription,Component.HasIcon,Component.HasXmlDescriptor,Component.Wrapper,HasValueSource<WebdavDocumentVersion>,HasContextHelp,HasDebugId,HasHtmlCaption,HasHtmlDescription,HasHtmlSanitizer,Link,WebdavDocumentVersionLink,org.springframework.beans.factory.InitializingBean
public class WebdavDocumentVersionLinkImpl
extends LinkImpl
implements WebdavDocumentVersionLink, org.springframework.beans.factory.InitializingBean
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.component.Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperNested classes/interfaces inherited from interface io.jmix.ui.component.HasContextHelp
HasContextHelp.ContextHelpIconClickEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected WebdavDocumentVersionprotected WebdavDocumentVersionsManagementServiceprotected Stringprotected FetchPlanRepositoryprotected Subscriptionprotected booleanprotected BooleanSupplierprotected Messagesprotected MetaPropertyprotected MetaPropertyPathprotected Longprotected WebdavRawLinksManagementServiceprotected Subscriptionprotected ValueSource<WebdavDocumentVersion>protected WebdavDocumentprotected UUIDprotected WebdavDocumentVersionprotected UUIDprotected WebdavPreconditionsprotected WebdavToolsFields inherited from class io.jmix.ui.component.impl.AbstractComponent
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parentFields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZEFields inherited from interface io.jmix.webdavui.component.WebdavDocumentVersionLink
NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidbooleanlongprotected voidhandleAttach(com.vaadin.server.ClientConnector.AttachEvent attachEvent) protected WebdavDocumentVersionvoidrefresh()voidsetDocumentVersionsService(WebdavDocumentVersionsManagementService documentVersionsService) voidsetFetchPlanRepository(FetchPlanRepository fetchPlanRepository) voidsetIsUseLastVersion(boolean isUseLastVersion) voidsetIsWebdavEnabledSupplier(BooleanSupplier isWebdavEnabledSupplier) voidsetMessages(Messages messages) voidsetNaturalVersionId(long naturalVersionId) voidsetRawLinksService(WebdavRawLinksManagementService rawLinksService) voidsetValueSource(ValueSource<WebdavDocumentVersion> valueSource) Sets value source for component.voidsetWebdavDocument(WebdavDocument webdavDocument) voidsetWebdavDocumentId(UUID webdavDocumentId) voidsetWebdavDocumentVersion(WebdavDocumentVersion webdavDocumentVersion) voidsetWebdavDocumentVersionId(UUID webdavDocumentId) voidsetWprecond(WebdavPreconditions wprecond) voidsetWtools(WebdavTools wtools) protected voidwithNaturalVersionId(Long naturalVersionId) withWebdavDocument(WebdavDocument webdavDocument) withWebdavDocumentId(UUID webdavDocumentId) withWebdavDocumentVersion(WebdavDocumentVersion webdavDocumentVersion) withWebdavDocumentVersionId(UUID documentVersionId) Methods inherited from class io.jmix.ui.component.impl.LinkImpl
createComponent, getRel, getTarget, getUrl, initComponent, setRel, setTarget, setUrlMethods inherited from class io.jmix.ui.component.impl.AbstractComponent
addAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getStyleName, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setParent, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.ui.component.Component
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionMethods inherited from interface io.jmix.ui.component.Component.BelongToFrame
getFrame, setFrameMethods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaptionMethods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescriptionMethods inherited from interface io.jmix.ui.component.Component.HasIcon
getIcon, setIcon, setIconFromSetMethods inherited from interface io.jmix.ui.component.HasHtmlCaption
isCaptionAsHtml, setCaptionAsHtmlMethods inherited from interface io.jmix.ui.component.HasHtmlDescription
isDescriptionAsHtml, setDescriptionAsHtmlMethods inherited from interface io.jmix.ui.component.HasHtmlSanitizer
isHtmlSanitizerEnabled, setHtmlSanitizerEnabled
-
Field Details
-
fetchPlanName
-
-
webdavDocumentVersion
-
webdavDocumentVersionId
-
webdavDocument
-
webdavDocumentId
-
naturalVersionId
-
isUseLastVersion
protected boolean isUseLastVersion -
valueSource
-
metaProperty
-
metaPropertyPath
-
messages
-
documentVersionsService
-
rawLinksService
-
wprecond
-
wtools
-
fetchPlanRepository
-
isWebdavEnabledSupplier
-
valueChangeSubscription
-
instanceChangeSubscription
-
-
Constructor Details
-
WebdavDocumentVersionLinkImpl
public WebdavDocumentVersionLinkImpl()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
handleAttach
protected void handleAttach(com.vaadin.server.ClientConnector.AttachEvent attachEvent) -
setMessages
-
setDocumentVersionsService
@Autowired public void setDocumentVersionsService(WebdavDocumentVersionsManagementService documentVersionsService) -
setRawLinksService
-
setWprecond
-
setWtools
-
setFetchPlanRepository
-
refresh
public void refresh()- Specified by:
refreshin interfaceWebdavDocumentVersionLink
-
loadContent
-
setWebdavDocumentVersion
- Specified by:
setWebdavDocumentVersionin interfaceWebdavDocumentVersionLink
-
getWebdavDocumentVersion
- Specified by:
getWebdavDocumentVersionin interfaceWebdavDocumentVersionLink
-
setWebdavDocumentVersionId
- Specified by:
setWebdavDocumentVersionIdin interfaceWebdavDocumentVersionLink
-
getWebdavDocumentVersionId
- Specified by:
getWebdavDocumentVersionIdin interfaceWebdavDocumentVersionLink
-
setWebdavDocument
- Specified by:
setWebdavDocumentin interfaceWebdavDocumentVersionLink
-
getWebdavDocument
- Specified by:
getWebdavDocumentin interfaceWebdavDocumentVersionLink
-
setWebdavDocumentId
- Specified by:
setWebdavDocumentIdin interfaceWebdavDocumentVersionLink
-
getWebdavDocumentId
- Specified by:
getWebdavDocumentIdin interfaceWebdavDocumentVersionLink
-
setNaturalVersionId
public void setNaturalVersionId(long naturalVersionId) - Specified by:
setNaturalVersionIdin interfaceWebdavDocumentVersionLink
-
getNaturalVersionId
public long getNaturalVersionId()- Specified by:
getNaturalVersionIdin interfaceWebdavDocumentVersionLink
-
withWebdavDocumentVersion
public WebdavDocumentVersionLink withWebdavDocumentVersion(WebdavDocumentVersion webdavDocumentVersion) - Specified by:
withWebdavDocumentVersionin interfaceWebdavDocumentVersionLink
-
withWebdavDocumentVersionId
- Specified by:
withWebdavDocumentVersionIdin interfaceWebdavDocumentVersionLink
-
withWebdavDocument
- Specified by:
withWebdavDocumentin interfaceWebdavDocumentVersionLink
-
withWebdavDocumentId
- Specified by:
withWebdavDocumentIdin interfaceWebdavDocumentVersionLink
-
withNaturalVersionId
- Specified by:
withNaturalVersionIdin interfaceWebdavDocumentVersionLink
-
getIsUseLastVersion
public boolean getIsUseLastVersion()- Specified by:
getIsUseLastVersionin interfaceWebdavDocumentVersionLink
-
setIsUseLastVersion
public void setIsUseLastVersion(boolean isUseLastVersion) - Specified by:
setIsUseLastVersionin interfaceWebdavDocumentVersionLink
-
getMetaProperty
- Specified by:
getMetaPropertyin interfaceWebdavDocumentVersionLink
-
getMetaPropertyPath
- Specified by:
getMetaPropertyPathin interfaceWebdavDocumentVersionLink
-
getIsWebdavEnabledSupplier
- Specified by:
getIsWebdavEnabledSupplierin interfaceWebdavDocumentVersionLink
-
setIsWebdavEnabledSupplier
- Specified by:
setIsWebdavEnabledSupplierin interfaceWebdavDocumentVersionLink
-
setValueSource
Description copied from interface:HasValueSourceSets value source for component.- Specified by:
setValueSourcein interfaceHasValueSource<WebdavDocumentVersion>- Parameters:
valueSource- value source
-
getValueSource
- Specified by:
getValueSourcein interfaceHasValueSource<WebdavDocumentVersion>- Returns:
- currently bound value source
-
unbindValueSourceEvents
protected void unbindValueSourceEvents() -
bindValueSourceEvents
protected void bindValueSourceEvents()
-