Package org.opencms.ade.galleries.client
Class CmsSearchTabHandler
java.lang.Object
org.opencms.ade.galleries.client.A_CmsTabHandler
org.opencms.ade.galleries.client.CmsSearchTabHandler
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>,com.google.gwt.event.shared.EventHandler
The full text search tab handler.
This class receives events information from the full text search tab and delegates them to the gallery search controller.
- Since:
- 8.0.0
-
Field Summary
Fields inherited from class org.opencms.ade.galleries.client.A_CmsTabHandler
m_controller -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelegates the clear input action (click on the clear button) to the controller.voidClears the search parameters of this tab.voidWill be triggered when the tab is selected.voidSorts the list, if present.voidremoveParam(String paramKey) Removes the search parameter with the given key from the search object.voidsetDateCreatedEnd(long createdEnd) Delegates the value for the created until date to the controller.voidsetDateCreatedStart(long createdStart) Delegates the value for the created since date to the controller.voidsetDateModifiedEnd(long modifiedEnd) Delegates the value for the modified until date to the controller.voidsetDateModifiedStart(long modifiedStart) Delegates the value for the modified since date to the controller.voidsetIncludeExpired(boolean includeExpired, boolean fireEvent) Sets if the search should include expired or unreleased resources.voidDelegates the locale value to the controller.voidsetScope(org.opencms.ade.galleries.shared.CmsGallerySearchScope scope) Sets the search scope.Methods inherited from class org.opencms.ade.galleries.client.A_CmsTabHandler
addSearchChangeHandler, getGalleryInfo, getTypeInfo, onClose, onDeselection, selectResource, selectResultTab, setSearchQuery, updateIndex, updateSize
-
Constructor Details
-
CmsSearchTabHandler
Constructor.- Parameters:
controller- the gallery controller
-
-
Method Details
-
clearInput
Delegates the clear input action (click on the clear button) to the controller. -
clearParams
Description copied from class:A_CmsTabHandlerClears the search parameters of this tab.- Specified by:
clearParamsin classA_CmsTabHandler- See Also:
-
onSelection
Description copied from class:A_CmsTabHandlerWill be triggered when the tab is selected.- Specified by:
onSelectionin classA_CmsTabHandler- See Also:
-
onSort
Description copied from class:A_CmsTabHandlerSorts the list, if present.- Specified by:
onSortin classA_CmsTabHandler- Parameters:
sortParams- the sort parametersfilter- the filter phrase- See Also:
-
removeParam
Description copied from class:A_CmsTabHandlerRemoves the search parameter with the given key from the search object.- Specified by:
removeParamin classA_CmsTabHandler- Parameters:
paramKey- the parameter key- See Also:
-
setDateCreatedEnd
Delegates the value for the created until date to the controller.- Parameters:
createdEnd- the created until date as long
-
setDateCreatedStart
Delegates the value for the created since date to the controller.- Parameters:
createdStart- the created since date as long
-
setDateModifiedEnd
Delegates the value for the modified until date to the controller.- Parameters:
modifiedEnd- the modified until date as long
-
setDateModifiedStart
Delegates the value for the modified since date to the controller.- Parameters:
modifiedStart- the modified since date as long
-
setIncludeExpired
Sets if the search should include expired or unreleased resources.- Parameters:
includeExpired- if the search should include expired or unreleased resourcesfireEvent- true if a change event should be fired
-
setLocale
Delegates the locale value to the controller.- Parameters:
locale- the locale
-