Package org.opencms.ui.apps.searchindex
Class CmsSearchindexApp
java.lang.Object
org.opencms.ui.apps.A_CmsWorkplaceApp
org.opencms.ui.apps.searchindex.CmsSearchindexApp
- All Implemented Interfaces:
I_CmsCRUDApp<I_CmsSearchIndex>
,I_CmsWorkplaceApp
Class for the search index app.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencms.ui.apps.A_CmsWorkplaceApp
A_CmsWorkplaceApp.NavEntry
-
Field Summary
Modifier and TypeFieldDescriptionprotected CmsSearchIndexTable
Table.protected static final String
Path to show sources.protected static final String
Seperator used when several index names are submitted.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 TypeMethodDescriptionvoid
createElement
(I_CmsSearchIndex element) Creates the element of type T in the system.void
defaultAction
(String elementId) Performs a default action.void
deleteElements
(List<String> elementId) Delete the given List of elements.Get all Elements.protected 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.getElement
(String elementId) Reads out an element.protected List<A_CmsWorkplaceApp.NavEntry>
getSubNavEntries
(String state) Returns the sub navigation entries.protected com.vaadin.ui.Component
getUpdateThreadComponent
(List<String> elementIds) Gets the thread to update given indexes.void
writeElement
(I_CmsSearchIndex element) Writes a changed element to the system which already exists.Methods inherited from class org.opencms.ui.apps.A_CmsWorkplaceApp
addParamToState, addSubNavEntry, getLastPathLevel, getOfflineCmsObject, getParamFromState, getParamsFromState, initUI, onStateChange, openSubView, removeParamsFromState, setBreadCrumbEntries, updateBreadCrumb, updateSubNav
-
Field Details
-
PATH_REBUILD
Path to show sources.- See Also:
-
SEPERATOR_INDEXNAMES
Seperator used when several index names are submitted.- See Also:
-
m_table
Table.
-
-
Constructor Details
-
CmsSearchindexApp
public CmsSearchindexApp()
-
-
Method Details
-
createElement
Description copied from interface:I_CmsCRUDApp
Creates the element of type T in the system.- Specified by:
createElement
in interfaceI_CmsCRUDApp<I_CmsSearchIndex>
- Parameters:
element
- to be saved- See Also:
-
defaultAction
Description copied from interface:I_CmsCRUDApp
Performs a default action.- Specified by:
defaultAction
in interfaceI_CmsCRUDApp<I_CmsSearchIndex>
- Parameters:
elementId
- id of element- See Also:
-
deleteElements
Description copied from interface:I_CmsCRUDApp
Delete the given List of elements.- Specified by:
deleteElements
in interfaceI_CmsCRUDApp<I_CmsSearchIndex>
- Parameters:
elementId
- of elements to be deleted- See Also:
-
getAllElements
Description copied from interface:I_CmsCRUDApp
Get all Elements.- Specified by:
getAllElements
in interfaceI_CmsCRUDApp<I_CmsSearchIndex>
- Returns:
- a list of all elements
- See Also:
-
getElement
Description copied from interface:I_CmsCRUDApp
Reads out an element.- Specified by:
getElement
in interfaceI_CmsCRUDApp<I_CmsSearchIndex>
- Parameters:
elementId
- of the object- Returns:
- the object of type T
- See Also:
-
writeElement
Description copied from interface:I_CmsCRUDApp
Writes a changed element to the system which already exists.- Specified by:
writeElement
in interfaceI_CmsCRUDApp<I_CmsSearchIndex>
- Parameters:
element
- to be saved- 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:
-
getUpdateThreadComponent
Gets the thread to update given indexes.- Parameters:
elementIds
- to be updated- Returns:
- A_CmsReportThread
-