code: protected void touchFiles() throws CmsException {
  
          Date touchDate = m_dateField.getDate();
          boolean validDate = touchDate != null;
          long touchTime = touchDate != null ? touchDate.getTime() : 0;
          boolean recursive = m_modifySubresourcesField.getValue().booleanValue();
          boolean rewriteContent = m_rewriteContentField.getValue().booleanValue();
          List<CmsUUID> changedIds = Lists.newArrayList();
          for (CmsResource resource : m_context.getResources()) {
              CmsLockActionRecord actionRecord = null;
              try {
                  actionRecord = CmsLockUtil.ensureLock(m_context.getCms(), resource);
                  touchSingleResource(
                      m_context.getCms().getSitePath(resource),
                      touchTime,
                      recursive,
                      validDate,
                      rewriteContent);
                  changedIds.add(resource.getStructureId());
              } finally {
                  if ((actionRecord != null) && (actionRecord.getChange() == LockChange.locked)) {
                      try {
                          m_context.getCms().unlockResource(resource);
                      } catch (CmsLockException e) {
                          LOG.warn(e.getLocalizedMessage(), e);
                      }
                  }
  
              }
  
          }
          m_context.finish(changedIds);
  
      }
docs: Touches the selected files.<p>
  
  @throws CmsException if something goes wrong