Class AdminSearchEnginesHandler

  • All Implemented Interfaces:
    JcmsConstants, JaliosConstants

    public class AdminSearchEnginesHandler
    extends JcmsFormHandler
    This handler is used in the admin area to provide action on search engine.
    Since:
    jcms-5.5.0
    Version:
    $Revision: 107554 $
    Author:
    Olivier Jaquemet
    • Constructor Detail

      • AdminSearchEnginesHandler

        public AdminSearchEnginesHandler()
    • Method Detail

      • processAction

        public boolean processAction()
                              throws java.io.IOException
        Effectively trigger the action of this handler.
        Overrides:
        processAction in class JcmsFormHandler
        Returns:
        true if a redirect was done, false otherwise
        Throws:
        java.io.IOException - if error occured during validate
      • doAll

        public boolean doAll()
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • reindexLucenePubSE

        public boolean reindexLucenePubSE()
                                   throws java.io.IOException
        Publication Indexing
        Returns:
        true if a redirect has been performed, false otherwise
        Throws:
        java.io.IOException - if error occured during indexing
      • optimizeLucenePubSE

        public boolean optimizeLucenePubSE()
                                    throws java.io.IOException
        Publication optimizing
        Returns:
        true if a redirect has been performed, false otherwise
        Throws:
        java.io.IOException - if error occured during optimizing
      • reindexLuceneCatSE

        public boolean reindexLuceneCatSE()
                                   throws java.io.IOException
        Category indexing
        Returns:
        true if a redirect has been performed, false otherwise
        Throws:
        java.io.IOException - if error occured during indexing
      • optimizeLuceneCatSE

        public boolean optimizeLuceneCatSE()
                                    throws java.io.IOException
        Category optimizing
        Returns:
        true if a redirect has been performed, false otherwise
        Throws:
        java.io.IOException - if error occured during optimizing
      • populateSpellSuggest

        public boolean populateSpellSuggest()
                                     throws java.io.IOException
        SpellSuggest indexing
        Returns:
        true if a redirect has been performed, false otherwise
        Throws:
        java.io.IOException - if error occured during indexing
      • reindexLuceneMbrSE

        public boolean reindexLuceneMbrSE()
                                   throws java.io.IOException
        Member indexing
        Returns:
        true if a redirect has been performed, false otherwise
        Throws:
        java.io.IOException - if error occured during indexing
      • optimizeLuceneMbrSE

        public boolean optimizeLuceneMbrSE()
                                    throws java.io.IOException
        Member optimizing
        Returns:
        true if a redirect has been performed, false otherwise
        Throws:
        java.io.IOException - if error occured during optimizing
      • setAction

        public void setAction​(java.lang.String v)
        Define the action to do in this handler call.
        Parameters:
        v - the action as a string value.
      • setOpenTab

        public void setOpenTab​(int tabNbr)
        Define the tab to open in the GUI.
        Parameters:
        tabNbr - the tab number to open.
      • getOpenTab

        public int getOpenTab()
        Return the tab to open in the GUI.
        Returns:
        the tab number to open.
      • isTabForced

        public boolean isTabForced()
        Returns:
        true if the tab was forced false otherwise.