Class A_CmsContentCheck

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract CmsContentCheckResource executeContentCheck​(org.opencms.file.CmsObject cms, CmsContentCheckResource testResource)
      Main method of the content check.
      java.lang.String getConfirmationMessage()  
      abstract java.lang.String getDialogParameterName()
      Defines the name of the parameter which is used by the CmsContentCheckDialog to enable or disable the content check.
      java.lang.String getDisabledHelpText()  
      java.lang.String getGroup()  
      abstract java.lang.String getHelpText()  
      abstract java.lang.String getIconPath()  
      abstract java.lang.String getLink()  
      abstract java.util.List getMessageBundles()
      Gets a list of all required message bundles by this content check.
      abstract java.lang.String getName()
      Gets the name of this content check.
      java.util.Map getParameters​(org.opencms.workplace.CmsWorkplace wp)  
      abstract java.lang.String getPath()  
      abstract float getPosition()  
      abstract java.lang.String getShortName()  
      java.lang.String getSmallIconPath()  
      abstract void init​(org.opencms.file.CmsObject cms)
      Initializer for the content check.
      abstract boolean isActive()
      Signals if this content check is active or not.
      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)  
      abstract void setActive​(boolean value)
      Sets the active flag for the content check.
      boolean setup​(org.opencms.file.CmsObject cms, org.opencms.workplace.tools.CmsToolRootHandler root, java.lang.String resourcePath)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getConfirmationMessage

        public java.lang.String getConfirmationMessage()
        Specified by:
        getConfirmationMessage in interface org.opencms.workplace.tools.I_CmsToolHandler
        See Also:
        I_CmsToolHandler.getConfirmationMessage()
      • getDisabledHelpText

        public java.lang.String getDisabledHelpText()
        Specified by:
        getDisabledHelpText in interface org.opencms.workplace.tools.I_CmsToolHandler
        See Also:
        I_CmsToolHandler.getDisabledHelpText()
      • getGroup

        public java.lang.String getGroup()
        Specified by:
        getGroup in interface org.opencms.workplace.tools.I_CmsToolHandler
        See Also:
        I_CmsToolHandler.getGroup()
      • getHelpText

        public abstract java.lang.String getHelpText()
        Specified by:
        getHelpText in interface org.opencms.workplace.tools.I_CmsToolHandler
        See Also:
        I_CmsToolHandler.getHelpText()
      • getIconPath

        public abstract java.lang.String getIconPath()
        Specified by:
        getIconPath in interface org.opencms.workplace.tools.I_CmsToolHandler
        See Also:
        I_CmsToolHandler.getIconPath()
      • getLink

        public abstract java.lang.String getLink()
        Specified by:
        getLink in interface org.opencms.workplace.tools.I_CmsToolHandler
        See Also:
        I_CmsToolHandler.getLink()
      • getName

        public abstract java.lang.String getName()
        Description copied from interface: I_CmsContentCheck
        Gets the name of this content check.

        Specified by:
        getName in interface I_CmsContentCheck
        Specified by:
        getName in interface org.opencms.workplace.tools.I_CmsToolHandler
        Returns:
        name of the content check
        See Also:
        I_CmsToolHandler.getName()
      • getParameters

        public java.util.Map getParameters​(org.opencms.workplace.CmsWorkplace wp)
        Specified by:
        getParameters in interface org.opencms.workplace.tools.I_CmsToolHandler
        See Also:
        I_CmsToolHandler.getParameters(org.opencms.workplace.CmsWorkplace)
      • getPath

        public abstract java.lang.String getPath()
        Specified by:
        getPath in interface org.opencms.workplace.tools.I_CmsToolHandler
        See Also:
        I_CmsToolHandler.getPath()
      • getPosition

        public abstract float getPosition()
        Specified by:
        getPosition in interface org.opencms.workplace.tools.I_CmsToolHandler
        See Also:
        I_CmsToolHandler.getPosition()
      • getShortName

        public abstract java.lang.String getShortName()
        Specified by:
        getShortName in interface org.opencms.workplace.tools.I_CmsToolHandler
        See Also:
        I_CmsToolHandler.getShortName()
      • getSmallIconPath

        public java.lang.String getSmallIconPath()
        Specified by:
        getSmallIconPath in interface org.opencms.workplace.tools.I_CmsToolHandler
        See Also:
        I_CmsToolHandler.getSmallIconPath()
      • isEnabled

        public boolean isEnabled​(org.opencms.file.CmsObject cms)
        Specified by:
        isEnabled in interface org.opencms.workplace.tools.I_CmsToolHandler
        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
        See Also:
        I_CmsToolHandler.isEnabled(org.opencms.workplace.CmsWorkplace)
      • isVisible

        public boolean isVisible​(org.opencms.file.CmsObject cms)
        Specified by:
        isVisible in interface org.opencms.workplace.tools.I_CmsToolHandler
        See Also:
        I_CmsToolHandler.isVisible(org.opencms.file.CmsObject)
      • isVisible

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

        public boolean setup​(org.opencms.file.CmsObject cms,
                             org.opencms.workplace.tools.CmsToolRootHandler root,
                             java.lang.String resourcePath)
        Specified by:
        setup in interface org.opencms.workplace.tools.I_CmsToolHandler
        See Also:
        I_CmsToolHandler.setup(org.opencms.file.CmsObject, org.opencms.workplace.tools.CmsToolRootHandler, java.lang.String)