Class DisplayPluginHandler

    • Field Detail

      • op

        protected boolean op
      • opUpload

        protected boolean opUpload
      • opPackage

        protected boolean opPackage
      • opDeploy

        protected boolean opDeploy
      • opRefreshSignature

        protected boolean opRefreshSignature
      • opUpdateProperties

        protected boolean opUpdateProperties
      • opDeletePackage

        protected boolean opDeletePackage
      • source

        protected boolean source
      • name

        protected java.lang.String name
      • packageName

        protected java.lang.String packageName
      • plugin

        protected Plugin plugin
      • propName

        protected java.lang.String[] propName
      • propValue

        protected java.lang.String[] propValue
      • isMainLeader

        protected boolean isMainLeader
      • isJSyncEnabled

        protected boolean isJSyncEnabled
      • isPluginEnabled

        protected boolean isPluginEnabled
      • isPluginSyncEnabled

        protected boolean isPluginSyncEnabled
    • Constructor Detail

      • DisplayPluginHandler

        public DisplayPluginHandler()
    • Method Detail

      • init

        protected void init()
        Description copied from class: JcmsFormHandler
        Method to implement if you need to initialize your handler from parameter received, prior to all security validation.

        You must absolutely not perform any action which modify data or site configuration.

        Therefore it is strongly recommend NOT TO implement this method, or use very wisely.

        Overrides:
        init in class JcmsFormHandler
      • processAction

        public boolean processAction()
                              throws java.io.IOException
        Description copied from class: JcmsFormHandler
        Method to be implemented to check/validate action to be performed and process them.

        Default implementation is to return false. No need to call super method.

        This method may NOT be invoked at all if security validation are not met.

        You must ensure your handler and JSP can work properly without any code invoked in this method.

        Overrides:
        processAction in class JcmsFormHandler
        Returns:
        false if no redirection is needed, true otherwise
        Throws:
        java.io.IOException - IO Exception
      • validateUpload

        protected boolean validateUpload()
      • performUpload

        protected boolean performUpload()
      • validateDeletePackage

        protected boolean validateDeletePackage()
      • performDeletePackage

        protected boolean performDeletePackage()
      • validatePackage

        protected boolean validatePackage()
      • performPackage

        protected boolean performPackage()
      • validateRefreshSignature

        protected boolean validateRefreshSignature()
      • performRefreshSignature

        protected boolean performRefreshSignature()
      • validateDeploy

        protected boolean validateDeploy()
      • performDeploy

        protected boolean performDeploy()
      • checkPackageFile

        protected boolean checkPackageFile()
        Checks if the package file has been set and exists.
        Returns:
        false if an error message has been set.
      • showEnablePlugin

        public boolean showEnablePlugin()
      • showDisablePlugin

        public boolean showDisablePlugin()
      • showRequestPluginActivation

        public boolean showRequestPluginActivation()
      • showRequestPluginDeactivation

        public boolean showRequestPluginDeactivation()
      • showStartPlugin

        public boolean showStartPlugin()
      • showStopPlugin

        public boolean showStopPlugin()
      • validateUpdateProperties

        protected boolean validateUpdateProperties()
      • performUpdateProperties

        protected boolean performUpdateProperties()
      • sendRedirect

        protected void sendRedirect()
      • getPlugin

        public Plugin getPlugin()
      • setName

        public void setName​(java.lang.String name)
      • getName

        public java.lang.String getName()
      • setSource

        public void setSource​(boolean source)
      • isSource

        public boolean isSource()
      • setOpUpload

        public void setOpUpload​(boolean field)
      • setOpPackage

        public void setOpPackage​(boolean field)
      • setOpDeploy

        public void setOpDeploy​(boolean field)
      • setOpDeletePackage

        public void setOpDeletePackage​(java.lang.String field)
      • setOpRefreshSignature

        public void setOpRefreshSignature​(boolean field)
      • setOpUpdateProperties

        public void setOpUpdateProperties​(boolean field)
      • setPackage

        public void setPackage​(java.lang.String field)
      • setPropName

        public void setPropName​(java.lang.String[] props)
      • setPropValue

        public void setPropValue​(java.lang.String[] props)