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.Wrapper
Nested classes/interfaces inherited from interface io.jmix.ui.component.HasContextHelp
HasContextHelp.ContextHelpIconClickEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected WebdavDocumentVersion
protected WebdavDocumentVersionsManagementService
protected String
protected FetchPlanRepository
protected Subscription
protected boolean
protected BooleanSupplier
protected Messages
protected MetaProperty
protected MetaPropertyPath
protected Long
protected WebdavRawLinksManagementService
protected Subscription
protected ValueSource<WebdavDocumentVersion>
protected WebdavDocument
protected UUID
protected WebdavDocumentVersion
protected UUID
protected WebdavPreconditions
protected WebdavTools
Fields inherited from class io.jmix.ui.component.impl.AbstractComponent
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parent
Fields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
Fields inherited from interface io.jmix.webdavui.component.WebdavDocumentVersionLink
NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
boolean
long
protected void
handleAttach
(com.vaadin.server.ClientConnector.AttachEvent attachEvent) protected WebdavDocumentVersion
void
refresh()
void
setDocumentVersionsService
(WebdavDocumentVersionsManagementService documentVersionsService) void
setFetchPlanRepository
(FetchPlanRepository fetchPlanRepository) void
setIsUseLastVersion
(boolean isUseLastVersion) void
setIsWebdavEnabledSupplier
(BooleanSupplier isWebdavEnabledSupplier) void
setMessages
(Messages messages) void
setNaturalVersionId
(long naturalVersionId) void
setRawLinksService
(WebdavRawLinksManagementService rawLinksService) void
setValueSource
(ValueSource<WebdavDocumentVersion> valueSource) Sets value source for component.void
setWebdavDocument
(WebdavDocument webdavDocument) void
setWebdavDocumentId
(UUID webdavDocumentId) void
setWebdavDocumentVersion
(WebdavDocumentVersion webdavDocumentVersion) void
setWebdavDocumentVersionId
(UUID webdavDocumentId) void
setWprecond
(WebdavPreconditions wprecond) void
setWtools
(WebdavTools wtools) protected void
withNaturalVersionId
(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, setUrl
Methods 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, withUnwrappedComposition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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, withUnwrappedComposition
Methods inherited from interface io.jmix.ui.component.Component.BelongToFrame
getFrame, setFrame
Methods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaption
Methods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescription
Methods inherited from interface io.jmix.ui.component.Component.HasIcon
getIcon, setIcon, setIconFromSet
Methods inherited from interface io.jmix.ui.component.HasHtmlCaption
isCaptionAsHtml, setCaptionAsHtml
Methods inherited from interface io.jmix.ui.component.HasHtmlDescription
isDescriptionAsHtml, setDescriptionAsHtml
Methods 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:
afterPropertiesSet
in 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:
refresh
in interfaceWebdavDocumentVersionLink
-
loadContent
-
setWebdavDocumentVersion
- Specified by:
setWebdavDocumentVersion
in interfaceWebdavDocumentVersionLink
-
getWebdavDocumentVersion
- Specified by:
getWebdavDocumentVersion
in interfaceWebdavDocumentVersionLink
-
setWebdavDocumentVersionId
- Specified by:
setWebdavDocumentVersionId
in interfaceWebdavDocumentVersionLink
-
getWebdavDocumentVersionId
- Specified by:
getWebdavDocumentVersionId
in interfaceWebdavDocumentVersionLink
-
setWebdavDocument
- Specified by:
setWebdavDocument
in interfaceWebdavDocumentVersionLink
-
getWebdavDocument
- Specified by:
getWebdavDocument
in interfaceWebdavDocumentVersionLink
-
setWebdavDocumentId
- Specified by:
setWebdavDocumentId
in interfaceWebdavDocumentVersionLink
-
getWebdavDocumentId
- Specified by:
getWebdavDocumentId
in interfaceWebdavDocumentVersionLink
-
setNaturalVersionId
public void setNaturalVersionId(long naturalVersionId) - Specified by:
setNaturalVersionId
in interfaceWebdavDocumentVersionLink
-
getNaturalVersionId
public long getNaturalVersionId()- Specified by:
getNaturalVersionId
in interfaceWebdavDocumentVersionLink
-
withWebdavDocumentVersion
public WebdavDocumentVersionLink withWebdavDocumentVersion(WebdavDocumentVersion webdavDocumentVersion) - Specified by:
withWebdavDocumentVersion
in interfaceWebdavDocumentVersionLink
-
withWebdavDocumentVersionId
- Specified by:
withWebdavDocumentVersionId
in interfaceWebdavDocumentVersionLink
-
withWebdavDocument
- Specified by:
withWebdavDocument
in interfaceWebdavDocumentVersionLink
-
withWebdavDocumentId
- Specified by:
withWebdavDocumentId
in interfaceWebdavDocumentVersionLink
-
withNaturalVersionId
- Specified by:
withNaturalVersionId
in interfaceWebdavDocumentVersionLink
-
getIsUseLastVersion
public boolean getIsUseLastVersion()- Specified by:
getIsUseLastVersion
in interfaceWebdavDocumentVersionLink
-
setIsUseLastVersion
public void setIsUseLastVersion(boolean isUseLastVersion) - Specified by:
setIsUseLastVersion
in interfaceWebdavDocumentVersionLink
-
getMetaProperty
- Specified by:
getMetaProperty
in interfaceWebdavDocumentVersionLink
-
getMetaPropertyPath
- Specified by:
getMetaPropertyPath
in interfaceWebdavDocumentVersionLink
-
getIsWebdavEnabledSupplier
- Specified by:
getIsWebdavEnabledSupplier
in interfaceWebdavDocumentVersionLink
-
setIsWebdavEnabledSupplier
- Specified by:
setIsWebdavEnabledSupplier
in interfaceWebdavDocumentVersionLink
-
setValueSource
Description copied from interface:HasValueSource
Sets value source for component.- Specified by:
setValueSource
in interfaceHasValueSource<WebdavDocumentVersion>
- Parameters:
valueSource
- value source
-
getValueSource
- Specified by:
getValueSource
in interfaceHasValueSource<WebdavDocumentVersion>
- Returns:
- currently bound value source
-
unbindValueSourceEvents
protected void unbindValueSourceEvents() -
bindValueSourceEvents
protected void bindValueSourceEvents()
-