code: public Resource updateUrlNameAndArchived(Resource resource, String urlName, Boolean archived, User modifier) {
      EntityManager entityManager = getEntityManager();
      
      resource.setUrlName(urlName);
      resource.setArchived(archived);
      resource.setLastModifier(modifier);
      resource.setLastModified(new Date());
      
      entityManager.persist(resource);
      
      return resource;
    }
docs: TODO: Rename