throw new RuntimeException("Invalid activity type:" + activity.getType());
}
Spot target = spotRepository.findOne(activity.getTargetSpot());
// save forward as comment
Forward fwd = Forward.from(bean, signInUser);
fwd.setAct(activity);
fwd = forwardRepository.save(fwd);
// incr forwarded count of original activity
activityRepository.inc(activity.getId(), "forwardedCount", 1);