docs: private void touch(CmsObject cms, CmsResource resource) {
  
          if (resource.getState().isUnchanged()) {
              try {
                  CmsLock lock = cms.getLock(resource);
                  if (lock.isUnlocked() || !lock.isOwnedBy(cms.getRequestContext().getCurrentUser())) {
                      cms.lockResourceTemporary(resource);
                      long now = System.currentTimeMillis();
                      resource.setDateLastModified(now);
                      cms.writeResource(resource);
                      if (lock.isUnlocked()) {
                          cms.unlockResource(resource);
                      }
                  }
              } catch (CmsException e) {
                  LOG.warn("Could not touch resource after alias modification: " + resource.getRootPath(), e);
              }
          }
      }