Package org.opencms.ui.apps.dbmanager
Class CmsDbImportApp
java.lang.Object
org.opencms.ui.apps.A_CmsWorkplaceApp
org.opencms.ui.apps.A_CmsAttributeAwareApp
org.opencms.ui.apps.dbmanager.CmsDbImportApp
- All Implemented Interfaces:
I_CmsReportApp
,I_CmsWorkplaceApp
Class for the database import app.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static enum
Enumeration to distinguist between http- and server import.Nested classes/interfaces inherited from class org.opencms.ui.apps.A_CmsWorkplaceApp
A_CmsWorkplaceApp.NavEntry
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Path to the report from import(HTTP).static final String
Path to the report from import(server).Fields inherited from class org.opencms.ui.apps.A_CmsAttributeAwareApp
ATTR_INFO_COMPONENT, ATTR_MAIN_HEIGHT_FULL
Fields inherited from class org.opencms.ui.apps.A_CmsWorkplaceApp
m_infoLayout, m_rootLayout, m_uiContext, PARAM_ASSIGN, PARAM_SEPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected LinkedHashMap<String,
String> getBreadCrumbForState
(String state) Returns the current bread crumb entries in an ordered map.protected com.vaadin.ui.Component
getComponentForState
(String state) Returns the app component for the given state.protected List<A_CmsWorkplaceApp.NavEntry>
getSubNavEntries
(String state) Returns the sub navigation entries.void
Method to open main view.void
openReport
(String path, A_CmsReportThread thread, String title) Method to open the report view for the import thread.Methods inherited from class org.opencms.ui.apps.A_CmsAttributeAwareApp
getAttributesForComponent, openSubView, updateAppAttributes, updateMainComponent
Methods inherited from class org.opencms.ui.apps.A_CmsWorkplaceApp
addParamToState, addSubNavEntry, getLastPathLevel, getOfflineCmsObject, getParamFromState, getParamsFromState, initUI, onStateChange, removeParamsFromState, setBreadCrumbEntries, updateBreadCrumb, updateSubNav
-
Field Details
-
PATH_REPORT_HTTP
Path to the report from import(HTTP).- See Also:
-
PATH_REPORT_SERVER
Path to the report from import(server).- See Also:
-
-
Constructor Details
-
CmsDbImportApp
Public constructor.- Parameters:
mode
- for import
-
-
Method Details
-
goToMainView
Description copied from interface:I_CmsReportApp
Method to open main view.- Specified by:
goToMainView
in interfaceI_CmsReportApp
- See Also:
-
openReport
Description copied from interface:I_CmsReportApp
Method to open the report view for the import thread.- Specified by:
openReport
in interfaceI_CmsReportApp
- Parameters:
path
- (state) in the appthread
- which gets started and for which the report gets displayedtitle
- to be shown for the report (title is caption of panel)- See Also:
-
getBreadCrumbForState
Description copied from class:A_CmsWorkplaceApp
Returns the current bread crumb entries in an ordered map.- Specified by:
getBreadCrumbForState
in classA_CmsWorkplaceApp
- Parameters:
state
- the current state- Returns:
- bread crumb entry name by state, in case the state is empty, the entry will be disabled
- See Also:
-
getComponentForState
Description copied from class:A_CmsWorkplaceApp
Returns the app component for the given state.- Specified by:
getComponentForState
in classA_CmsWorkplaceApp
- Parameters:
state
- the state to render- Returns:
- the app component
- See Also:
-