Class CmsSearchTabHandler

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.EventHandler

    public class CmsSearchTabHandler
    extends A_CmsTabHandler
    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
    • Method Detail

      • clearInput

        public void clearInput()
        Delegates the clear input action (click on the clear button) to the controller.

      • setDateCreatedEnd

        public void setDateCreatedEnd​(long createdEnd)
        Delegates the value for the created until date to the controller.

        Parameters:
        createdEnd - the created until date as long
      • setDateCreatedStart

        public void setDateCreatedStart​(long createdStart)
        Delegates the value for the created since date to the controller.

        Parameters:
        createdStart - the created since date as long
      • setDateModifiedEnd

        public void setDateModifiedEnd​(long modifiedEnd)
        Delegates the value for the modified until date to the controller.

        Parameters:
        modifiedEnd - the modified until date as long
      • setDateModifiedStart

        public void setDateModifiedStart​(long modifiedStart)
        Delegates the value for the modified since date to the controller.

        Parameters:
        modifiedStart - the modified since date as long
      • setIncludeExpired

        public void setIncludeExpired​(boolean includeExpired,
                                      boolean fireEvent)
        Sets if the search should include expired or unreleased resources.

        Parameters:
        includeExpired - if the search should include expired or unreleased resources
        fireEvent - true if a change event should be fired
      • setLocale

        public void setLocale​(java.lang.String locale)
        Delegates the locale value to the controller.

        Parameters:
        locale - the locale
      • setScope

        public void setScope​(org.opencms.ade.galleries.shared.CmsGallerySearchScope scope)
        Sets the search scope.

        Parameters:
        scope - the search scope