Class EditPluginHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class EditPluginHandler extends JcmsFormHandler
This class is used to handle modification on Plugins.
See Also:
  • Field Details

    • process

      protected com.jalios.jcms.plugin.EditPluginConfigProcess process
    • opSave

      protected boolean opSave
    • opStart

      protected boolean opStart
    • opStop

      protected boolean opStop
    • opDelete

      protected boolean opDelete
    • opEnable

      protected boolean opEnable
    • opDisable

      protected boolean opDisable
    • opRequestActivation

      protected boolean opRequestActivation
    • opRequestDeactivation

      protected boolean opRequestDeactivation
    • name

      protected String name
    • plugin

      protected Plugin plugin
    • labelMap

      protected Map<String,String> labelMap
    • descriptionMap

      protected Map<String,String> descriptionMap
    • version

      protected String version
    • jcms

      protected String jcms
    • order

      protected int order
    • jsync

      protected boolean jsync
    • jsync_flag

      protected boolean jsync_flag
    • init

      protected boolean init
    • init_flag

      protected boolean init_flag
    • appserver

      protected String[] appserver
    • url

      protected String url
    • author

      protected String author
    • license

      protected String license
    • typeMap

      protected Map<String,Set<String>> typeMap
    • workflowSet

      protected Set<String> workflowSet
    • jarSet

      protected Set<String> jarSet
    • privateSet

      protected Set<String> privateSet
    • publicSet

      protected Set<String> publicSet
    • isNewPlugin

      protected boolean isNewPlugin
    • proposedLabel

      protected String proposedLabel
    • redirectToPlugin

      protected boolean redirectToPlugin
  • Constructor Details

    • EditPluginHandler

      public EditPluginHandler()
  • Method Details

    • processAction

      public boolean processAction() throws 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:
      IOException - IO Exception
    • validateStartStop

      protected boolean validateStartStop() throws IOException
      Throws:
      IOException
    • performStartStop

      protected boolean performStartStop() throws IOException
      Throws:
      IOException
    • validateEnable

      protected boolean validateEnable() throws IOException
      Throws:
      IOException
    • performEnable

      protected boolean performEnable() throws IOException
      Throws:
      IOException
    • validateDisable

      protected boolean validateDisable() throws IOException
      Throws:
      IOException
    • performDisable

      protected boolean performDisable() throws IOException
      Throws:
      IOException
    • validateActivationRequest

      protected boolean validateActivationRequest() throws IOException
      Throws:
      IOException
    • performActivationRequest

      protected boolean performActivationRequest() throws IOException
      Throws:
      IOException
    • validateDeactivationRequest

      protected boolean validateDeactivationRequest() throws IOException
      Throws:
      IOException
    • performDeactivationRequest

      protected boolean performDeactivationRequest() throws IOException
      Throws:
      IOException
    • validateDelete

      protected boolean validateDelete() throws IOException
      Throws:
      IOException
    • performDelete

      protected boolean performDelete() throws IOException
      Throws:
      IOException
    • validateSave

      protected boolean validateSave() throws IOException
      Throws:
      IOException
    • performSave

      protected boolean performSave() throws IOException
      Throws:
      IOException
    • sendRedirectToPluginManager

      protected void sendRedirectToPluginManager() throws IOException
      Throws:
      IOException
    • sendRedirectToPlugin

      protected void sendRedirectToPlugin() throws IOException
      Throws:
      IOException
    • sendRedirectDispatch

      protected void sendRedirectDispatch(String redirect) throws IOException
      Throws:
      IOException
    • getPlugin

      public Plugin getPlugin()
    • getLabelSettings

      public ControlSettings getLabelSettings()
    • getNameSettings

      public ControlSettings getNameSettings()
    • getDescriptionSettings

      public ControlSettings getDescriptionSettings()
    • getModalTitle

      public String getModalTitle()
    • isNewPlugin

      public boolean isNewPlugin()
    • setName

      public void setName(String name)
    • getName

      public String getName()
    • setLabel

      public void setLabel(String[] input)
    • getAvailableLabelMap

      public Map<String,String> getAvailableLabelMap()
    • setDescription

      public void setDescription(String[] input)
    • getAvailableDescriptionMap

      public Map<String,String> getAvailableDescriptionMap()
    • setVersion

      public void setVersion(String field)
    • getAvailableVersion

      public String getAvailableVersion()
    • setJcms

      public void setJcms(String field)
    • getAvailableJcms

      public String getAvailableJcms()
    • setOrder

      public void setOrder(int field)
    • getAvailableOrder

      public int getAvailableOrder()
    • setInitialized

      public void setInitialized(boolean field)
    • getAvailableInitialized

      public boolean getAvailableInitialized()
    • setJsync

      public void setJsync(boolean field)
    • getAvailableJSync

      public boolean getAvailableJSync()
    • setAuthor

      public void setAuthor(String field)
    • getAvailableAuthor

      public String getAvailableAuthor()
    • setAppServer

      public void setAppServer(String[] field)
    • getAvailableAppServer

      public String[] getAvailableAppServer()
    • setUrl

      public void setUrl(String field)
    • getAvailableUrl

      public String getAvailableUrl()
    • setLicense

      public void setLicense(String field)
    • getAvailableLicense

      public String getAvailableLicense()
    • setOpSave

      public void setOpSave(boolean field)
    • setOpStart

      public void setOpStart(boolean field)
    • setOpStop

      public void setOpStop(boolean field)
    • setOpDelete

      public void setOpDelete(boolean field)
    • setOpEnable

      public void setOpEnable(boolean field)
    • setOpDisable

      public void setOpDisable(boolean field)
    • setOpRequestActivation

      public void setOpRequestActivation(boolean field)
    • setOpRequestDeactivation

      public void setOpRequestDeactivation(boolean field)
    • setType

      public void setType(String[] field)
    • setWorkflow

      public void setWorkflow(String[] field)
    • setJar

      public void setJar(String[] field)
    • setPublic

      public void setPublic(String[] field)
    • setPrivate

      public void setPrivate(String[] field)