Package org.opencms.ui.apps.datesearch
Class CmsDateSearchComposite
java.lang.Object
org.opencms.ui.apps.datesearch.CmsDateSearchComposite
- All Implemented Interfaces:
CmsResourceTable.I_ResourcePropertyProvider
,I_CmsResultFacetsManager
public class CmsDateSearchComposite
extends Object
implements CmsResourceTable.I_ResourcePropertyProvider, I_CmsResultFacetsManager
Component that realizes a content finder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addItemProperties
(com.vaadin.v7.data.Item resourceItem, CmsObject cms, CmsResource resource, Locale locale) Adds the property values to the given item.com.vaadin.ui.Component
Returns the filter component of this content finder.com.vaadin.ui.Component
Returns the result component of this content finder.com.vaadin.ui.Component
Returns the result filter component of this content finder.void
search
(boolean updateState, boolean resetSelectedFacets) Executes the search.void
Searches for given field facets and range facets.void
setState
(CmsComponentState componentState) Sets a component state.
-
Constructor Details
-
CmsDateSearchComposite
public CmsDateSearchComposite()Creates a new content finder component.
-
-
Method Details
-
addItemProperties
public void addItemProperties(com.vaadin.v7.data.Item resourceItem, CmsObject cms, CmsResource resource, Locale locale) Description copied from interface:CmsResourceTable.I_ResourcePropertyProvider
Adds the property values to the given item.- Specified by:
addItemProperties
in interfaceCmsResourceTable.I_ResourcePropertyProvider
- Parameters:
resourceItem
- the resource itemcms
- the cms contextresource
- the resourcelocale
- the workplace locale- See Also:
-
getFilterComponent
Returns the filter component of this content finder.- Returns:
- the filter component of this content finder
-
getResultComponent
Returns the result component of this content finder.- Returns:
- the result component of this content finder
-
getResultFilterComponent
Returns the result filter component of this content finder.- Returns:
- the result filter component of this content finder
-
search
Executes the search.- Parameters:
updateState
- whether to update the app stateresetSelectedFacets
- whether to reset the selected facets
-
search
Description copied from interface:I_CmsResultFacetsManager
Searches for given field facets and range facets.- Specified by:
search
in interfaceI_CmsResultFacetsManager
- Parameters:
fieldFacets
- the field facetsrangeFacets
- the range facets- See Also:
-
setState
Sets a component state.- Parameters:
componentState
- the component state
-