Class AdminMailConfigurationHandler

    • Field Detail

      • HANDLER_REQUEST_ATTRIBUTE

        public static final java.lang.String HANDLER_REQUEST_ATTRIBUTE
        See Also:
        Constant Field Values
    • Constructor Detail

      • AdminMailConfigurationHandler

        public AdminMailConfigurationHandler()
    • Method Detail

      • getSelectedProvider

        public java.lang.String getSelectedProvider()
      • setSelectedProvider

        public void setSelectedProvider​(java.lang.String selectedProvider)
      • 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
      • getPropertyValue

        public java.lang.String getPropertyValue​(java.lang.String name)
      • setOpUpdate

        public void setOpUpdate​(java.lang.String v)
      • hasSendProvider

        public boolean hasSendProvider()
      • hasIncomingProvider

        public boolean hasIncomingProvider()
      • getAvailableSendProviderValues

        public java.util.List<java.lang.String> getAvailableSendProviderValues()
      • getAvailableSendProviderLabels

        public java.util.List<java.lang.String> getAvailableSendProviderLabels()
      • getAvailableIncomingProviderValues

        public java.util.List<java.lang.String> getAvailableIncomingProviderValues()
      • getAvailableIncomingProviderLabels

        public java.util.List<java.lang.String> getAvailableIncomingProviderLabels()
      • isDisabled

        public boolean isDisabled​(java.lang.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 java.util.Map<java.lang.String,​java.lang.String> getProviderPropertiesMap​(AbstractMailProvider provider)