Class CommunityModeration
java.lang.Object
org.craftercms.social.moderation.impl.CommunityModeration
- All Implemented Interfaces:
ModerationFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get's the name of the Modetation FilterbooleanneedModeration(SocialUgc ugc) Decide if a UGC have to be moderatevoidsetComunityOffenceMaxPercentage(int comunityOffenceMaxPercentage)
-
Constructor Details
-
CommunityModeration
public CommunityModeration()
-
-
Method Details
-
needModeration
Description copied from interface:ModerationFilterDecide if a UGC have to be moderate- Specified by:
needModerationin interfaceModerationFilter- Parameters:
ugc- Ugc to check- Returns:
- True if the UGC Need to be moderate False Otherwise
-
getName
Description copied from interface:ModerationFilterGet's the name of the Modetation Filter- Specified by:
getNamein interfaceModerationFilter- Returns:
- the name of the Filter
-
setComunityOffenceMaxPercentage
public void setComunityOffenceMaxPercentage(int comunityOffenceMaxPercentage)
-