Class EditMemberProfilingHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class EditMemberProfilingHandler extends JcmsFormHandler
Handler dedicated to modification of member profiling categories.
Since:
jcms-10.0.8 / JCMS-10686
  • Constructor Details

    • EditMemberProfilingHandler

      public EditMemberProfilingHandler()
  • Method Details

    • init

      public 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
    • initCategorySet

      protected void initCategorySet()
      Since:
      jplatform-11
    • 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
    • isOpUpdate

      public boolean isOpUpdate()
    • setOpUpdate

      public void setOpUpdate(boolean opUpdate)
    • getMember

      public Member getMember()
    • setMemberId

      public void setMemberId(String v)
    • setProfilingCids

      public void setProfilingCids(String... v)
      Parameters:
      v - categories to set
      Since:
      jcms-10.0.8
    • getProfilingAxes

      public Set<Category> getProfilingAxes()
      Returns:
      available categories of profiling
      Since:
      jcms-10.0.8
    • getGroupsCatSet

      @Deprecated public Set<Category> getGroupsCatSet()
      Returns:
      getMemberProfilingCategorySetFromGroups()
      Since:
      jcms-10.0.8
    • getMemberProfilingCategorySetFromGroups

      public Set<Category> getMemberProfilingCategorySetFromGroups()
      Returns:
      ProfilingManager.getMemberProfilingCategoriesFromGroups(Member)
      Since:
      jplatform-11
    • getCategorySet

      public Set<Category> getCategorySet()
      Returns:
      all categories of member chosen categories and categories from groups
      Since:
      jplatform-11
    • getCategoriesSettings

      public ControlSettings<?> getCategoriesSettings()
      Returns:
      the categories chooser
      Since:
      jplatform-11