public interface ModerationDecision
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTrash(SocialUgc ugc) |
boolean |
needModeration(SocialUgc ugc)
Makes the decision if a
UGC have to been moderate
based on ModerationFilter#needModeration(UGC) result
returns True at least one of ModerationFilter returns true |
void |
setMaxFlagsBeforeTrash(int maxFlags) |
boolean needModeration(SocialUgc ugc)
UGC have to been moderate
based on ModerationFilter#needModeration(UGC) result
returns True at least one of ModerationFilter returns trueugc - UGC to testModerationFilter#needModeration(UGC) returns true;boolean isTrash(SocialUgc ugc)
void setMaxFlagsBeforeTrash(int maxFlags)
Copyright © 2014 CrafterCMS. All Rights Reserved.