Class CmsSearchToolHandler

java.lang.Object
org.opencms.workplace.tools.A_CmsToolHandler
org.opencms.workplace.tools.searchindex.CmsSearchToolHandler
All Implemented Interfaces:
org.opencms.workplace.tools.I_CmsToolHandler

public class CmsSearchToolHandler extends org.opencms.workplace.tools.A_CmsToolHandler
Search management tool handler that hides the tools if the current user has not the needed privileges.

Since:
6.0.0
  • Field Summary

    Fields inherited from class org.opencms.workplace.tools.A_CmsToolHandler

    ARG_PARAM_NAME, ARG_PATH_NAME, ARGS_PROPERTY_DEFINITION, ARGUMENT_SEPARATOR, DEFAULT_DISABLED_HELPTEXT, VALUE_SEPARATOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isEnabled(org.opencms.file.CmsObject cms)
     
    boolean
    isEnabled(org.opencms.workplace.CmsWorkplace wp)
     
    boolean
    isVisible(org.opencms.file.CmsObject cms)
     
    boolean
    isVisible(org.opencms.workplace.CmsWorkplace wp)
     

    Methods inherited from class org.opencms.workplace.tools.A_CmsToolHandler

    getConfirmationMessage, getDisabledHelpText, getGroup, getHelpText, getIconPath, getLink, getName, getParameters, getPath, getPosition, getShortName, getSmallIconPath, setConfirmationMessage, setDisabledHelpText, setGroup, setHelpText, setIconPath, setLink, setLink, setName, setParameters, setParameterString, setPath, setPosition, setShortName, setSmallIconPath, setup, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • isEnabled

      public boolean isEnabled(org.opencms.file.CmsObject cms)
      See Also:
      • I_CmsToolHandler.isEnabled(org.opencms.file.CmsObject)
    • isEnabled

      public boolean isEnabled(org.opencms.workplace.CmsWorkplace wp)
      Specified by:
      isEnabled in interface org.opencms.workplace.tools.I_CmsToolHandler
      Overrides:
      isEnabled in class org.opencms.workplace.tools.A_CmsToolHandler
      See Also:
      • A_CmsToolHandler.isEnabled(org.opencms.workplace.CmsWorkplace)
    • isVisible

      public boolean isVisible(org.opencms.workplace.CmsWorkplace wp)
      Specified by:
      isVisible in interface org.opencms.workplace.tools.I_CmsToolHandler
      Overrides:
      isVisible in class org.opencms.workplace.tools.A_CmsToolHandler
      See Also:
      • A_CmsToolHandler.isVisible(org.opencms.workplace.CmsWorkplace)
    • isVisible

      public boolean isVisible(org.opencms.file.CmsObject cms)
      See Also:
      • I_CmsToolHandler.isVisible(org.opencms.file.CmsObject)