.executeUpdate();
// like if requested
if (inRequest.getLikedStatus())
{
LikedSharedResource sharedResource = new LikedSharedResource(inRequest.getSharedResource().getId(),
inRequest.getPersonId());
getEntityManager().persist(sharedResource);
}
return true;
}