Class AbstractMemberCaddyHandler<T extends AbstractMemberCaddyContext>

    • Field Detail

      • HIDE_EMPTY_CADDY_MSG_SESSION_ATTR

        protected static final java.lang.String HIDE_EMPTY_CADDY_MSG_SESSION_ATTR
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractMemberCaddyHandler

        public AbstractMemberCaddyHandler()
    • Method Detail

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

        protected void setDefaultCaddyMessage​(java.util.Collection<?> workingMemberCollection)
      • setOpSyncLDAP

        public final void setOpSyncLDAP​(java.lang.String v)
      • setOpDetachFromLDAP

        public final void setOpDetachFromLDAP​(java.lang.String v)
      • setOpDisable

        public final void setOpDisable​(java.lang.String v)
      • setOpActivate

        public final void setOpActivate​(java.lang.String v)
      • setOpSendMail

        public final void setOpSendMail​(java.lang.String v)
      • setActivationMailSubject

        public final void setActivationMailSubject​(java.lang.String[] v)
      • getActivationMailSubjectML

        public final java.util.HashMap<java.lang.String,​java.lang.String> getActivationMailSubjectML()
      • setActivationMailContent

        public final void setActivationMailContent​(java.lang.String[] v)
      • getActivationMailContentML

        public final java.util.HashMap<java.lang.String,​java.lang.String> getActivationMailContentML()
      • setSendActivateMailToEnabled

        public final void setSendActivateMailToEnabled​(boolean sendToAll)
      • getSendActivateMailToEnabled

        public final boolean getSendActivateMailToEnabled()
      • setMailSubject

        public final void setMailSubject​(java.lang.String[] v)
      • getMailSubjectML

        public final java.util.HashMap<java.lang.String,​java.lang.String> getMailSubjectML()
      • setMailContent

        public final void setMailContent​(java.lang.String[] v)
      • getMailContentML

        public final java.util.HashMap<java.lang.String,​java.lang.String> getMailContentML()
      • setUsage

        public final void setUsage​(int v)
      • setEmailVisible

        public final void setEmailVisible​(boolean v)
      • setLdapSync

        public final void setLdapSync​(boolean v)
      • setLanguage

        public final void setLanguage​(java.lang.String lang)
      • setNoPhoto

        public final void setNoPhoto​(boolean v)
      • getNoPhoto

        public final boolean getNoPhoto()
      • setGidsToAdd

        public final void setGidsToAdd​(java.lang.String[] gids)
      • setGidsToRemove

        public final void setGidsToRemove​(java.lang.String[] gids)
      • getAvailableGroupsToAdd

        public final java.util.TreeSet<Group> getAvailableGroupsToAdd()
      • getAvailableGroupsToRemove

        public final java.util.TreeSet<Group> getAvailableGroupsToRemove()
      • setAuthType

        public void setAuthType​(java.lang.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 java.lang.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
      • 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