*/
@Override
public Serializable execute(final TaskHandlerActionContext<PrincipalActionContext> inActionContext)
{
// use a CommentDTO as input so this action can use the same authorizer as postActivityCommentAction
CommentDTO inputComment = (CommentDTO) inActionContext.getActionContext().getParams();
String inputText = inputComment.getBody();
for (String piece : textSplitter.split(inputText))
{
CommentDTO thisComment = new CommentDTO();
thisComment.setBody(piece);
thisComment.setActivityId(inputComment.getActivityId());
executor.execute(postCommentAction, inActionContext, thisComment);
}
return null;
}