Class MemberCaddyHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class MemberCaddyHandler extends AbstractMemberCaddyHandler<MemberCaddyContext>
  • Field Details

  • Constructor Details

    • MemberCaddyHandler

      public MemberCaddyHandler()
  • 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 AbstractMemberCaddyHandler<MemberCaddyContext>
      Returns:
      false if no redirection is needed, true otherwise
      Throws:
      IOException - IO Exception
    • getDataClass

      public Class<? extends Data> getDataClass()
      Description copied from class: AbstractCaddyHandler
      Retrieve the type of data being handled by this handler
      Specified by:
      getDataClass in class AbstractCaddyHandler<MemberCaddyContext>
      Returns:
      a Data class
    • getJsp

      protected String getJsp()
      Description copied from class: AbstractCaddyHandler
      Retrieve the path of the JSP.
      Specified by:
      getJsp in class AbstractCaddyHandler<MemberCaddyContext>
      Returns:
      a path relative to the webapp root.
    • getNewCaddyContext

      protected MemberCaddyContext getNewCaddyContext(Caddy caddy, Member member)
      Description copied from class: AbstractCaddyHandler
      Retrieve a new instance of CaddyContext.
      Specified by:
      getNewCaddyContext in class AbstractCaddyHandler<MemberCaddyContext>
      Parameters:
      caddy - the current Caddy
      member - the logged Member
      Returns:
      a AbstractCaddyContext instance
    • getNewCaddyProcess

      protected AbstractCaddyProcess<MemberCaddyContext> getNewCaddyProcess()
      Description copied from class: AbstractCaddyHandler
      Retrieve a new instance of CaddyProcess to start action when required.
      Specified by:
      getNewCaddyProcess in class AbstractCaddyHandler<MemberCaddyContext>
      Returns:
      a AbstractCaddyProcess instance
    • getLogger

      public org.apache.log4j.Logger getLogger()
    • getIterable

      public Iterable<Member> getIterable()
    • getActivationMailTabIndex

      public int getActivationMailTabIndex()
    • getSendMailTabIndex

      public int getSendMailTabIndex()
    • setPassword1

      public void setPassword1(String v)
    • setPassword2

      public void setPassword2(String v)
    • isComputedEmailVisibleAvailable

      public boolean isComputedEmailVisibleAvailable()
    • getComputedEmailVisible

      public boolean getComputedEmailVisible()
    • isComputedLdapSyncAvailable

      public boolean isComputedLdapSyncAvailable()
    • getComputedLdapSync

      public boolean getComputedLdapSync()
    • getComputedLanguage

      public String getComputedLanguage()
    • setNoRights

      public void setNoRights(boolean v)
    • getNoRights

      public boolean getNoRights()
    • setNoDelegates

      public final void setNoDelegates(boolean noDelegates)
    • getNoDelegates

      public final boolean getNoDelegates()
    • getCommonGroups

      public Set<Group> getCommonGroups()
      Retrieve the commons groups that were computed for all Members in the caddy
      Returns:
      a TreeSet sorted by workspace, never return null
    • setNoReadCategory

      public void setNoReadCategory(boolean v)
    • getNoReadCategory

      public boolean getNoReadCategory()
    • setNoCommonReadCategory

      public void setNoCommonReadCategory(boolean v)
    • getNoCommonReadCategory

      public boolean getNoCommonReadCategory()
    • setReadcids

      public void setReadcids(String[] cids)
      Set the value of read cids.
      Parameters:
      cids - Value to assign to cids.
    • getReadCategorySet

      public Set<Category> getReadCategorySet()