Interface ModerationDecision

All Known Implementing Classes:
ModerationDecisionImpl

public interface ModerationDecision
  • Method Details

    • needModeration

      boolean needModeration(SocialUgc ugc)
      Makes the decision if a UGC has to be moderated based on ModerationFilter.needModeration(SocialUgc) result returns True if at least one of ModerationFilter returns true
      Parameters:
      ugc - UGC to test
      Returns:
      True if at least one ModerationFilter.needModeration(SocialUgc) returns true;
    • isTrash

      boolean isTrash(SocialUgc ugc)
      Set UGC as Trash
      Parameters:
      ugc - the UGC to be trashed
      Returns:
      true if it can be set in the trash.
    • setMaxFlagsBeforeTrash

      void setMaxFlagsBeforeTrash(int maxFlags)
      Sets the number of user flags threshold before the UGC is sent to the trash.
      Parameters:
      maxFlags - Maximum number of flags (unique flags).