docs: public CmsResource createResource(String resourcename, int type, byte[] content, List<CmsProperty> properties)
      throws CmsException, CmsIllegalArgumentException {
  
          CmsResource res = null;
  
          // iterate through all wrappers and call "createResource" till one does not return null
          List<I_CmsResourceWrapper> wrappers = getWrappers();
          Iterator<I_CmsResourceWrapper> iter = wrappers.iterator();
          while (iter.hasNext()) {
              I_CmsResourceWrapper wrapper = iter.next();
              res = wrapper.createResource(m_cms, resourcename, type, content, properties);
              if (res != null) {
                  break;
              }
          }
  
          // delegate the call to the CmsObject
          if (res == null) {
              res = m_cms.createResource(resourcename, type, content, properties);
          }
  
          return res;
      }