Class CommunityModeration
- java.lang.Object
-
- org.craftercms.social.moderation.impl.CommunityModeration
-
- All Implemented Interfaces:
ModerationFilter
public class CommunityModeration extends Object implements ModerationFilter
-
-
Constructor Summary
Constructors Constructor Description CommunityModeration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Get's the name of the Modetation Filterboolean
needModeration(SocialUgc ugc)
Decide if a UGC have to be moderatevoid
setComunityOffenceMaxPercentage(int comunityOffenceMaxPercentage)
-
-
-
Method Detail
-
needModeration
public boolean needModeration(SocialUgc ugc)
Description copied from interface:ModerationFilter
Decide if a UGC have to be moderate- Specified by:
needModeration
in interfaceModerationFilter
- 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 interfaceModerationFilter
- Returns:
- the name of the Filter
-
setComunityOffenceMaxPercentage
public void setComunityOffenceMaxPercentage(int comunityOffenceMaxPercentage)
-
-