Class EditMailProviderHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class EditMailProviderHandler extends JcmsFormHandler
  • Field Details

  • Constructor Details

    • EditMailProviderHandler

      public EditMailProviderHandler()
  • Method Details

    • getProviderClassMap

      public Map<String,String> getProviderClassMap()
    • getCurrentOp

      public String getCurrentOp()
    • getButtonLabel

      public String getButtonLabel()
    • 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
    • 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(String opCreate)
    • setOpUpdate

      public void setOpUpdate(String opUpdate)
    • setOpDelete

      public void setOpDelete(String opDelete)
    • isCreate

      public boolean isCreate()
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getProviderClass

      public String getProviderClass()
    • setProviderClass

      public void setProviderClass(String providerClassStr)
    • getTitle

      public String getTitle()
    • writeJsonResponse

      public String writeJsonResponse()
    • getMailProvider

      public AbstractMailProvider getMailProvider()
    • getMode

      public String getMode()
    • setMode

      public void setMode(String mode)
    • getEditHandler

      public AbstractMailEditHandler getEditHandler()