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
FieldsModifier and TypeFieldDescriptionprotected CmsSearchIndexTableTable.protected static final StringPath to show sources.protected static final StringSeperator 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateElement(I_CmsSearchIndex element) Creates the element of type T in the system.voiddefaultAction(String elementId) Performs a default action.voiddeleteElements(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.ComponentgetComponentForState(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.ComponentgetUpdateThreadComponent(List<String> elementIds) Gets the thread to update given indexes.voidwriteElement(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_CmsCRUDAppCreates the element of type T in the system.- Specified by:
createElementin interfaceI_CmsCRUDApp<I_CmsSearchIndex>- Parameters:
element- to be saved- See Also:
-
defaultAction
Description copied from interface:I_CmsCRUDAppPerforms a default action.- Specified by:
defaultActionin interfaceI_CmsCRUDApp<I_CmsSearchIndex>- Parameters:
elementId- id of element- See Also:
-
deleteElements
Description copied from interface:I_CmsCRUDAppDelete the given List of elements.- Specified by:
deleteElementsin interfaceI_CmsCRUDApp<I_CmsSearchIndex>- Parameters:
elementId- of elements to be deleted- See Also:
-
getAllElements
Description copied from interface:I_CmsCRUDAppGet all Elements.- Specified by:
getAllElementsin interfaceI_CmsCRUDApp<I_CmsSearchIndex>- Returns:
- a list of all elements
- See Also:
-
getElement
Description copied from interface:I_CmsCRUDAppReads out an element.- Specified by:
getElementin interfaceI_CmsCRUDApp<I_CmsSearchIndex>- Parameters:
elementId- of the object- Returns:
- the object of type T
- See Also:
-
writeElement
Description copied from interface:I_CmsCRUDAppWrites a changed element to the system which already exists.- Specified by:
writeElementin interfaceI_CmsCRUDApp<I_CmsSearchIndex>- Parameters:
element- to be saved- See Also:
-
getBreadCrumbForState
Description copied from class:A_CmsWorkplaceAppReturns the current bread crumb entries in an ordered map.- Specified by:
getBreadCrumbForStatein 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_CmsWorkplaceAppReturns the app component for the given state.- Specified by:
getComponentForStatein 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
-