Class EditMailProviderHandler

    • Field Detail

      • EDITHANDLER_ATTRIBUTE

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

      • EditMailProviderHandler

        public EditMailProviderHandler()
    • Method Detail

      • getProviderClassMap

        public java.util.Map<java.lang.String,​java.lang.String> getProviderClassMap()
      • getCurrentOp

        public java.lang.String getCurrentOp()
      • getButtonLabel

        public java.lang.String getButtonLabel()
      • 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
      • isDeleteAction

        public boolean isDeleteAction()
      • isUpdateAction

        public boolean isUpdateAction()
      • isCreateAction

        public boolean isCreateAction()
      • showFinishButton

        public boolean showFinishButton()
        Description copied from class: JcmsFormHandler
        Check if the "Finish" button should be displayed in step modal form.

        The default implementation of this method is to return true if the current step (as returned by JcmsFormHandler.getFormStep() is the last one (as compared with JcmsFormHandler.getFormStepCount().

        You can provide a custom FormHandler to override this behavior.

        See jcore/doStepButtons.jspf for use of this method.

        Overrides:
        showFinishButton in class JcmsFormHandler
        Returns:
        true to display the "Finish" button, false to hide it
      • setOpCreate

        public void setOpCreate​(java.lang.String opCreate)
      • setOpUpdate

        public void setOpUpdate​(java.lang.String opUpdate)
      • setOpDelete

        public void setOpDelete​(java.lang.String opDelete)
      • isCreate

        public boolean isCreate()
      • getName

        public java.lang.String getName()
      • setName

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

        public java.lang.String getProviderClass()
      • setProviderClass

        public void setProviderClass​(java.lang.String providerClassStr)
      • getTitle

        public java.lang.String getTitle()
      • writeJsonResponse

        public java.lang.String writeJsonResponse()
      • getMode

        public java.lang.String getMode()
      • setMode

        public void setMode​(java.lang.String mode)