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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Delegates the clear input action (click on the clear button) to the controller.void
Clears the search parameters of this tab.void
Will be triggered when the tab is selected.void
Sorts the list, if present.void
removeParam
(String paramKey) Removes the search parameter with the given key from the search object.void
setDateCreatedEnd
(long createdEnd) Delegates the value for the created until date to the controller.void
setDateCreatedStart
(long createdStart) Delegates the value for the created since date to the controller.void
setDateModifiedEnd
(long modifiedEnd) Delegates the value for the modified until date to the controller.void
setDateModifiedStart
(long modifiedStart) Delegates the value for the modified since date to the controller.void
setIncludeExpired
(boolean includeExpired, boolean fireEvent) Sets if the search should include expired or unreleased resources.void
Delegates the locale value to the controller.void
setScope
(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_CmsTabHandler
Clears the search parameters of this tab.- Specified by:
clearParams
in classA_CmsTabHandler
- See Also:
-
onSelection
Description copied from class:A_CmsTabHandler
Will be triggered when the tab is selected.- Specified by:
onSelection
in classA_CmsTabHandler
- See Also:
-
onSort
Description copied from class:A_CmsTabHandler
Sorts the list, if present.- Specified by:
onSort
in classA_CmsTabHandler
- Parameters:
sortParams
- the sort parametersfilter
- the filter phrase- See Also:
-
removeParam
Description copied from class:A_CmsTabHandler
Removes the search parameter with the given key from the search object.- Specified by:
removeParam
in 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
-