public class CmsSearchTabHandler extends A_CmsTabHandler
This class receives events information from the full text search tab and delegates them to the gallery search controller.
m_controller
构造器和说明 |
---|
CmsSearchTabHandler(CmsGalleryController controller)
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
void |
clearInput()
Delegates the clear input action (click on the clear button) to the controller.
|
void |
clearParams()
Clears the search parameters of this tab.
|
void |
onSelection()
Will be triggered when the tab is selected.
|
void |
onSort(java.lang.String sortParams,
java.lang.String filter)
Sorts the list, if present.
|
void |
removeParam(java.lang.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)
Sets if the search should include expired or unreleased resources.
|
void |
setLocale(java.lang.String locale)
Delegates the locale value to the controller.
|
void |
setScope(CmsGallerySearchScope scope)
Sets the search scope.
|
addSearchChangeHandler, onClose, onDeselection, selectResource, selectResultTab, setSearchQuery, updateIndex
public CmsSearchTabHandler(CmsGalleryController controller)
controller
- the gallery controllerpublic void clearInput()
public void clearParams()
A_CmsTabHandler
clearParams
在类中 A_CmsTabHandler
A_CmsTabHandler.clearParams()
public void onSelection()
A_CmsTabHandler
onSelection
在类中 A_CmsTabHandler
A_CmsTabHandler.onSelection()
public void onSort(java.lang.String sortParams, java.lang.String filter)
A_CmsTabHandler
onSort
在类中 A_CmsTabHandler
sortParams
- the sort parametersfilter
- the filter phraseA_CmsTabHandler.onSort(java.lang.String, java.lang.String)
public void setDateCreatedEnd(long createdEnd)
createdEnd
- the created until date as longpublic void setDateCreatedStart(long createdStart)
createdStart
- the created since date as longpublic void setDateModifiedEnd(long modifiedEnd)
modifiedEnd
- the modified until date as longpublic void setDateModifiedStart(long modifiedStart)
modifiedStart
- the modified since date as longpublic void setLocale(java.lang.String locale)
locale
- the localepublic void setScope(CmsGallerySearchScope scope)
scope
- the search scopepublic void setIncludeExpired(boolean includeExpired)
includeExpired
- if the search should include expired or unreleased resourcespublic void removeParam(java.lang.String paramKey)
A_CmsTabHandler
removeParam
在类中 A_CmsTabHandler
paramKey
- the parameter keyA_CmsTabHandler.removeParam(java.lang.String)