Package org.craftercms.social.moderation
Interface ModerationFilter
- All Known Implementing Classes:
BlackListModeration,CommunityModeration,FlagModeration
public interface ModerationFilter
Filter Interface for Moderation Decision manager
- Author:
- cortiz
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Get's the name of the Modetation FilterbooleanneedModeration(SocialUgc ugc) Decide if a UGC have to be moderate
-
Method Details
-
needModeration
Decide if a UGC have to be moderate- Parameters:
ugc- Ugc to check- Returns:
- True if the UGC Need to be moderate False Otherwise
-
getName
String getName()Get's the name of the Modetation Filter- Returns:
- the name of the Filter
-