Class EditWFRoleHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class EditWFRoleHandler extends JcmsFormHandler
  • Field Details

    • op

      protected boolean op
    • opSave

      protected boolean opSave
    • opCreate

      protected boolean opCreate
    • opUpdate

      protected boolean opUpdate
    • opDelete

      protected boolean opDelete
    • wfId

      protected String wfId
    • wf

      protected Workflow wf
    • role

      protected WFRole role
    • roleId

      protected String roleId
    • roleNameMap

      protected Map<String,String> roleNameMap
    • roleDescriptionMap

      protected Map<String,String> roleDescriptionMap
  • Constructor Details

    • EditWFRoleHandler

      public EditWFRoleHandler()
  • Method Details

    • init

      protected void init()
      Description copied from class: JcmsFormHandler
      Method to implement if you need to initialize your handler from parameter received, prior to all security validation.

      You must absolutely not perform any action which modify data or site configuration.

      Therefore it is strongly recommend NOT TO implement this method, or use very wisely.

      Overrides:
      init in class JcmsFormHandler
    • 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
    • validateCreate

      public boolean validateCreate()
    • performCreate

      public boolean performCreate() throws IOException
      Throws:
      IOException
    • validateUpdate

      public boolean validateUpdate()
    • performUpdate

      public boolean performUpdate() throws IOException
      Throws:
      IOException
    • setRedirect

      protected void setRedirect()
    • validateCommonCreateUpdate

      public boolean validateCommonCreateUpdate()
    • validateDelete

      public boolean validateDelete()
    • performDelete

      public boolean performDelete() throws IOException
      Throws:
      IOException
    • getRedirect

      public String getRedirect()
      Description copied from class: JcmsFormHandler
      Get the value of redirect.
      Overrides:
      getRedirect in class JcmsFormHandler
      Returns:
      Value of redirect.
    • getModalTitle

      public String getModalTitle()
    • getModalButtonLabel

      public String getModalButtonLabel()
    • showLanguageChooser

      public boolean showLanguageChooser()
    • getNameSettings

      public ControlSettings getNameSettings()
    • getDescriptionSettings

      public ControlSettings getDescriptionSettings()
    • getWorkflowIdSettings

      public ControlSettings getWorkflowIdSettings()
    • getRoleIdSettings

      public ControlSettings getRoleIdSettings()
    • setOpSave

      public void setOpSave(String v)
    • setOpDelete

      public void setOpDelete(String v)
    • setWfId

      public void setWfId(String v)
    • getWfId

      public String getWfId()
    • setRoleId

      public void setRoleId(String v)
    • getRoleId

      public String getRoleId()
    • setRoleName

      public void setRoleName(String[] v)
    • getAvailableRoleNameMap

      public Map getAvailableRoleNameMap()
    • setRoleDescription

      public void setRoleDescription(String[] v)
    • getAvailableRoleDescriptionMap

      public Map getAvailableRoleDescriptionMap()