Package org.opencms.ui.apps.dbmanager
Class CmsDbImportHTTP
java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractComponentContainer
com.vaadin.ui.AbstractLayout
com.vaadin.ui.AbstractOrderedLayout
com.vaadin.ui.VerticalLayout
com.vaadin.v7.ui.VerticalLayout
org.opencms.ui.apps.dbmanager.A_CmsImportForm
org.opencms.ui.apps.dbmanager.A_CmsHTTPImportForm
org.opencms.ui.apps.dbmanager.CmsDbImportHTTP
- All Implemented Interfaces:
com.vaadin.event.ContextClickEvent.ContextClickNotifier
,com.vaadin.event.LayoutEvents.LayoutClickNotifier
,com.vaadin.event.MethodEventSource
,com.vaadin.server.ClientConnector
,com.vaadin.server.Sizeable
,com.vaadin.shared.Connector
,com.vaadin.ui.Component
,com.vaadin.ui.ComponentContainer
,com.vaadin.ui.HasComponents
,com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier
,com.vaadin.ui.Layout
,com.vaadin.ui.Layout.AlignmentHandler
,com.vaadin.ui.Layout.MarginHandler
,com.vaadin.ui.Layout.SpacingHandler
,Serializable
,Iterable<com.vaadin.ui.Component>
HTTP import class.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Nested classes/interfaces inherited from interface com.vaadin.ui.Component
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
Nested classes/interfaces inherited from interface com.vaadin.ui.HasComponents
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
Nested classes/interfaces inherited from interface com.vaadin.ui.Layout
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.SpacingHandler
Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable
com.vaadin.server.Sizeable.Unit
-
Field Summary
Fields inherited from class org.opencms.ui.apps.dbmanager.A_CmsImportForm
m_app, m_importFile
Fields inherited from class com.vaadin.ui.AbstractOrderedLayout
ALIGNMENT_DEFAULT, components
Fields inherited from class com.vaadin.ui.AbstractComponent
DESIGN_ATTR_PLAIN_TEXT
Fields inherited from interface com.vaadin.server.Sizeable
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.ui.Button
Gets a button for a cancel function.protected com.vaadin.ui.Button
Gets a button for a ok function.protected com.vaadin.v7.ui.ComboBox
Gets a combobox used for the site selector.protected String
Get the path (state) for the app to show the report for the import thread.protected com.vaadin.v7.ui.ComboBox
Gets a combobox used for the site selector.protected A_CmsReportThread
Gets the thread which gets started by clicking the ok button.protected String
getTitle()
Gets the title of the report to show.protected com.vaadin.v7.ui.Upload
Gets the upload button.protected com.vaadin.v7.ui.Label
Gets the upload label, which shows the name of the uploaded file.Methods inherited from class org.opencms.ui.apps.dbmanager.A_CmsImportForm
getCmsObject, processFileName, validateModuleFile
Methods inherited from class com.vaadin.ui.VerticalLayout
addComponentsAndExpand, getState, getState
Methods inherited from class com.vaadin.ui.AbstractOrderedLayout
addComponent, addComponent, addComponentAsFirst, addLayoutClickListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getCustomAttributes, getDefaultComponentAlignment, getExpandRatio, getMargin, isSpacing, iterator, readDesign, removeComponent, removeLayoutClickListener, replaceComponent, setComponentAlignment, setDefaultComponentAlignment, setExpandRatio, setMargin, setMargin, setSpacing, writeDesign
Methods inherited from class com.vaadin.ui.AbstractLayout
readMargin, writeMargin
Methods inherited from class com.vaadin.ui.AbstractComponentContainer
addComponentAttachListener, addComponentDetachListener, addComponents, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, setHeight, setWidth
Methods inherited from class com.vaadin.ui.AbstractComponent
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthFull, setWidthUndefined
Methods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
Methods inherited from interface com.vaadin.ui.Component
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible
Methods inherited from interface com.vaadin.ui.ComponentContainer
addComponents, getComponentIterator, moveComponentsFrom, removeAllComponents
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
Methods inherited from interface com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier
addComponentAttachListener, addComponentDetachListener, removeComponentAttachListener, removeComponentDetachListener
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.vaadin.server.Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefined
-
Constructor Details
-
CmsDbImportHTTP
public constructor.- Parameters:
app
- calling app
-
-
Method Details
-
getCancelButton
Description copied from class:A_CmsImportForm
Gets a button for a cancel function.- Specified by:
getCancelButton
in classA_CmsImportForm
- Returns:
- a vaadin button
- See Also:
-
getOkButton
Description copied from class:A_CmsImportForm
Gets a button for a ok function.- Specified by:
getOkButton
in classA_CmsImportForm
- Returns:
- a vaadin button
- See Also:
-
getProjectSelector
Description copied from class:A_CmsImportForm
Gets a combobox used for the site selector.- Specified by:
getProjectSelector
in classA_CmsImportForm
- Returns:
- a vaadin combobox
-
getReportPath
Description copied from class:A_CmsImportForm
Get the path (state) for the app to show the report for the import thread.- Specified by:
getReportPath
in classA_CmsImportForm
- Returns:
- path to be called for showing report of thread
- See Also:
-
getSiteSelector
Description copied from class:A_CmsImportForm
Gets a combobox used for the site selector.- Specified by:
getSiteSelector
in classA_CmsImportForm
- Returns:
- a vaadin combobox
- See Also:
-
getThread
Description copied from class:A_CmsImportForm
Gets the thread which gets started by clicking the ok button.- Specified by:
getThread
in classA_CmsImportForm
- Returns:
- a thread
- See Also:
-
getTitle
Description copied from class:A_CmsImportForm
Gets the title of the report to show.- Specified by:
getTitle
in classA_CmsImportForm
- Returns:
- title name
- See Also:
-
getUpload
Description copied from class:A_CmsHTTPImportForm
Gets the upload button.- Specified by:
getUpload
in classA_CmsHTTPImportForm
- Returns:
- a vaadin upload button
- See Also:
-
getUploadLabel
Description copied from class:A_CmsHTTPImportForm
Gets the upload label, which shows the name of the uploaded file.- Specified by:
getUploadLabel
in classA_CmsHTTPImportForm
- Returns:
- a vaadin label
- See Also:
-