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
,java.io.Serializable
,java.lang.Iterable<com.vaadin.ui.Component>
public class CmsDbImportHTTP extends A_CmsHTTPImportForm
HTTP import class.- See Also:
- Serialized Form
-
-
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
-
-
Field Summary
-
Fields inherited from class org.opencms.ui.apps.dbmanager.A_CmsImportForm
m_app, m_importFile
-
-
Constructor Summary
Constructors Constructor Description CmsDbImportHTTP(I_CmsReportApp app)
public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.vaadin.ui.Button
getCancelButton()
Gets a button for a cancel function.protected com.vaadin.ui.Button
getOkButton()
Gets a button for a ok function.protected com.vaadin.v7.ui.ComboBox
getProjectSelector()
Gets a combobox used for the site selector.protected java.lang.String
getReportPath()
Get the path (state) for the app to show the report for the import thread.protected com.vaadin.v7.ui.ComboBox
getSiteSelector()
Gets a combobox used for the site selector.protected A_CmsReportThread
getThread()
Gets the thread which gets started by clicking the ok button.protected java.lang.String
getTitle()
Gets the title of the report to show.protected com.vaadin.v7.ui.Upload
getUpload()
Gets the upload button.protected com.vaadin.v7.ui.Label
getUploadLabel()
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.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
-
-
-
-
Constructor Detail
-
CmsDbImportHTTP
public CmsDbImportHTTP(I_CmsReportApp app)
public constructor.- Parameters:
app
- calling app
-
-
Method Detail
-
getCancelButton
protected com.vaadin.ui.Button 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:
A_CmsImportForm.getCancelButton()
-
getOkButton
protected com.vaadin.ui.Button 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:
A_CmsImportForm.getOkButton()
-
getProjectSelector
protected com.vaadin.v7.ui.ComboBox 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
protected java.lang.String 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:
A_CmsImportForm.getReportPath()
-
getSiteSelector
protected com.vaadin.v7.ui.ComboBox 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:
A_CmsImportForm.getSiteSelector()
-
getThread
protected A_CmsReportThread 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:
A_CmsImportForm.getThread()
-
getTitle
protected java.lang.String 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:
A_CmsImportForm.getTitle()
-
getUpload
protected com.vaadin.v7.ui.Upload getUpload()
Description copied from class:A_CmsHTTPImportForm
Gets the upload button.- Specified by:
getUpload
in classA_CmsHTTPImportForm
- Returns:
- a vaadin upload button
- See Also:
A_CmsHTTPImportForm.getUpload()
-
getUploadLabel
protected com.vaadin.v7.ui.Label 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:
A_CmsHTTPImportForm.getUploadLabel()
-
-