Class ModerationPipe
- java.lang.Object
-
- org.craftercms.social.services.ugc.pipeline.ModerationPipe
-
-
Constructor Summary
Constructors Constructor Description ModerationPipe()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends UGC>
voidprocess(T ugc, Map<String,Object> params)
Process the given ugc in to the pipelinevoid
setModerationDecision(ModerationDecision moderationDecision)
-
-
-
Method Detail
-
process
public <T extends UGC> void process(T ugc, Map<String,Object> params) throws SocialException
Description copied from interface:UgcPipe
Process the given ugc in to the pipeline- Specified by:
process
in interfaceUgcPipe
- Type Parameters:
T
- Any UGC object- Parameters:
ugc
- UGC of going thru the pipeline- Throws:
SocialException
- If the UGC can't be process. Stops the pipeline execution
-
setModerationDecision
public void setModerationDecision(ModerationDecision moderationDecision)
-
-