Package org.opencms.ui.apps.dbmanager
Class CmsDbImportServer
- 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_CmsServerImportForm
-
- org.opencms.ui.apps.dbmanager.CmsDbImportServer
-
- 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 CmsDbImportServer extends A_CmsServerImportForm
Class for the import from server option.- 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 CmsDbImportServer(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.com.vaadin.v7.ui.ComboBox
getImportSelect()
Gets a combo box for selecting the file on server.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.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.-
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
-
CmsDbImportServer
public CmsDbImportServer(I_CmsReportApp app)
Public constructor.- Parameters:
app
- which calls the form
-
-
Method Detail
-
getImportSelect
public com.vaadin.v7.ui.ComboBox getImportSelect()
Description copied from class:A_CmsServerImportForm
Gets a combo box for selecting the file on server.- Specified by:
getImportSelect
in classA_CmsServerImportForm
- Returns:
- a vaadin combo box
- See Also:
A_CmsServerImportForm.getImportSelect()
-
getThread
public 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()
-
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()
-
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()
-
-