Class FlagModeration

java.lang.Object
org.craftercms.social.moderation.impl.FlagModeration
All Implemented Interfaces:
ModerationFilter

public class FlagModeration extends Object implements ModerationFilter
  • Constructor Details

    • FlagModeration

      public FlagModeration()
  • Method Details

    • needModeration

      public boolean needModeration(SocialUgc ugc)
      Description copied from interface: ModerationFilter
      Decide if a UGC have to be moderate
      Specified by:
      needModeration in interface ModerationFilter
      Parameters:
      ugc - Ugc to check
      Returns:
      True if the UGC Need to be moderate False Otherwise
    • getName

      public String getName()
      Description copied from interface: ModerationFilter
      Get's the name of the Modetation Filter
      Specified by:
      getName in interface ModerationFilter
      Returns:
      the name of the Filter