Class AdminSearchEngineProcess

java.lang.Object
com.jalios.jcms.backgroundprocess.BackgroundProcess
com.jalios.jcms.search.AdminSearchEngineProcess
All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class AdminSearchEngineProcess extends BackgroundProcess
Since:
jcms-10.0.8 JCMS-9179
  • Constructor Details

    • AdminSearchEngineProcess

      public AdminSearchEngineProcess(AdminSearchEnginesHandler.Action action)
      Parameters:
      action - action to be run
      Since:
      jcms-10.0.8 JCMS-9179
  • Method Details

    • runProcess

      protected void runProcess()
      Description copied from class: BackgroundProcess
      Override to implement the process.
      Specified by:
      runProcess in class BackgroundProcess
      Since:
      jcms-10.0.8 JCMS-9179
    • setTotalStep

      public void setTotalStep(int totalStepNbr)
      Description copied from class: BackgroundProcess
      Set the total number of step that this BackgroundProcess will do before reaching completion.

      Implementation detail : If this call changes the progress percentage, it triggers an update in database of the BackgroundProcessInfo used to track the process progress

      Overrides:
      setTotalStep in class BackgroundProcess
      Parameters:
      totalStepNbr - a number of steps
      Since:
      jcms-10.0.8 JCMS-9179
    • incrementStep

      public void incrementStep()
      Description copied from class: BackgroundProcess
      Increment the step number of this processing by one.

      Implementation detail : If this step changes the progress percentage, it triggers an update in database of the BackgroundProcessInfo used to track the process progress

      Overrides:
      incrementStep in class BackgroundProcess
      Since:
      jcms-10.0.8 JCMS-9179
    • setCurrentStep

      public void setCurrentStep(int stepNbr)
      Description copied from class: BackgroundProcess
      Set the current step number of this processing.

      Implementation detail : If this step changes the progress percentage, it triggers an update in database of the BackgroundProcessInfo used to track the process progress

      Overrides:
      setCurrentStep in class BackgroundProcess
      Parameters:
      stepNbr - the step number to set
      Since:
      jcms-10.0.8 JCMS-9179
    • getLabelProp

      public String getLabelProp()
      Description copied from class: BackgroundProcess
      Retrieve the I18N property key to use to provide the I18Ned label of this BackgroundProcess to the user.
      Overrides:
      getLabelProp in class BackgroundProcess
      Returns:
      a property
      Since:
      jcms-10.0.8 JCMS-9179