public Serializable execute(final TaskHandlerActionContext<PrincipalActionContext> inActionContext)
throws ExecutionException
{
SetActivityLikeRequest request = (SetActivityLikeRequest) inActionContext.getActionContext().getParams();
final Long userId = inActionContext.getActionContext().getPrincipal().getId();
LikedActivity likeActivityData = new LikedActivity(userId, request.getActivityId());
if (request.getLikeActionType() == LikeActionType.ADD_LIKE)
{
insertLikedActivity.execute(likeActivityData);