Class AdminMailConfigurationHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class AdminMailConfigurationHandler extends CompositePropertiesHandler
  • Field Details

  • Constructor Details

    • AdminMailConfigurationHandler

      public AdminMailConfigurationHandler()
  • Method Details

    • setParentHandler

      public void setParentHandler(PropertiesHandler parentHandler)
      Specified by:
      setParentHandler in class CompositePropertiesHandler
    • getSelectedProvider

      public String getSelectedProvider()
    • setSelectedProvider

      public void setSelectedProvider(String selectedProvider)
    • 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
    • processProperties

      public void processProperties(JProperties props)
      Specified by:
      processProperties in class CompositePropertiesHandler
    • getPropertyValue

      public String getPropertyValue(String name)
    • processRequestInternalsFields

      public void processRequestInternalsFields()
      Specified by:
      processRequestInternalsFields in class CompositePropertiesHandler
    • setOpUpdate

      public void setOpUpdate(String v)
    • hasSendProvider

      public boolean hasSendProvider()
    • hasIncomingProvider

      public boolean hasIncomingProvider()
    • getProviderList

    • getAvailableSendProviderValues

      public List<String> getAvailableSendProviderValues()
    • getAvailableSendProviderLabels

      public List<String> getAvailableSendProviderLabels()
    • getAvailableIncomingProviderValues

      public List<String> getAvailableIncomingProviderValues()
    • getAvailableIncomingProviderLabels

      public List<String> getAvailableIncomingProviderLabels()
    • isDisabled

      public boolean isDisabled(String prop)
      Returns true if the given property is disabled (by main plugin).
      Parameters:
      prop - the properties
      Returns:
      true if the given property is disabled (by main plugin).
    • getProviderPropertiesMap

      public Map<String,String> getProviderPropertiesMap(AbstractMailProvider provider)