Class AbstractMemberCaddyHandler<T extends AbstractMemberCaddyContext>

Type Parameters:
T -
All Implemented Interfaces:
JcmsConstants, JaliosConstants
Direct Known Subclasses:
DBMemberCaddyHandler, MemberCaddyHandler

public abstract class AbstractMemberCaddyHandler<T extends AbstractMemberCaddyContext> extends AbstractCaddyHandler<T>
This form handler is the super class of the formhandler class to process Member Caddy Manager actions.
Since:
jcms-10.0.2
  • Field Details

  • Constructor Details

    • AbstractMemberCaddyHandler

      public AbstractMemberCaddyHandler()
  • Method Details

    • 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 AbstractCaddyHandler<T extends AbstractMemberCaddyContext>
      Returns:
      false if no redirection is needed, true otherwise
      Throws:
      IOException - IO Exception
    • setDefaultCaddyMessage

      protected void setDefaultCaddyMessage(Collection<?> workingMemberCollection)
    • setOpSyncLDAP

      public final void setOpSyncLDAP(String v)
    • setOpDetachFromLDAP

      public final void setOpDetachFromLDAP(String v)
    • setOpDisable

      public final void setOpDisable(String v)
    • setOpActivate

      public final void setOpActivate(String v)
    • setOpSendMail

      public final void setOpSendMail(String v)
    • setActivationMailSubject

      public final void setActivationMailSubject(String[] v)
    • getActivationMailSubjectML

      public final HashMap<String,String> getActivationMailSubjectML()
    • setActivationMailContent

      public final void setActivationMailContent(String[] v)
    • getActivationMailContentML

      public final HashMap<String,String> getActivationMailContentML()
    • setSendActivateMailToEnabled

      public final void setSendActivateMailToEnabled(boolean sendToAll)
    • getSendActivateMailToEnabled

      public final boolean getSendActivateMailToEnabled()
    • setMailSubject

      public final void setMailSubject(String[] v)
    • getMailSubjectML

      public final HashMap<String,String> getMailSubjectML()
    • setMailContent

      public final void setMailContent(String[] v)
    • getMailContentML

      public final HashMap<String,String> getMailContentML()
    • setUsage

      public final void setUsage(int v)
    • setEmailVisible

      public final void setEmailVisible(String visible)
    • setLdapSync

      public final void setLdapSync(String sync)
    • setLanguage

      public final void setLanguage(String lang)
    • setNoPhoto

      public final void setNoPhoto(boolean v)
    • getNoPhoto

      public final boolean getNoPhoto()
    • setGidsToAdd

      public final void setGidsToAdd(String[] gids)
    • setGidsToRemove

      public final void setGidsToRemove(String[] gids)
    • getAvailableGroupsToAdd

      public final TreeSet<Group> getAvailableGroupsToAdd()
    • getAvailableGroupsToRemove

      public final TreeSet<Group> getAvailableGroupsToRemove()
    • setAuthType

      public void setAuthType(String authTypeStr)
      Set the type of authentication authorized for user user.
      Parameters:
      authTypeStr - the string representation of EditMemberHandler.AuthType, default to null if invalid
      Since:
      jcms-10.0.6 JCMS-9072
    • getAvailableAuthType

      public String getAvailableAuthType()
      Retrieve the type of authentication being used for all member or requested in previous form submit.
      Returns:
      a string representation of the EditMemberHandler.AuthType used or requested, default to null if invalid or not common to all member
      Since:
      jcms-10.0.6 JCMS-9072
    • setClearanceLevel

      public void setClearanceLevel(int level)
      Set the new clearance level to use for the Members in the caddy.
      Parameters:
      level - a value from 0 to ClassificationManager.getMaximumLevel() (included)
      Since:
      10.0.8 / JCMS-10746
      See Also:
    • showClearanceLevel

      public boolean showClearanceLevel()
      Check if the clearance level field should be displayed
      Returns:
      true to display field, false otherwise
      Since:
      10.0.8 / JCMS-10746
    • getClearanceLevelSettings

      public EnumerateSettings getClearanceLevelSettings()
      Retrieve an EnumerateSettings suitable to edit clearance level in the caddy.
      Returns:
      an EnumerateSettings, never return null
      Since:
      10.0.8 / JCMS-10746