code: Map<String, CmsClientProperty> getClientProperties(CmsObject cms, CmsResource res, boolean search)
      throws CmsException {
  
          List<CmsProperty> props = cms.readPropertyObjects(res, search);
          Map<String, CmsClientProperty> result = createClientProperties(props, false);
          return result;
      }
docs: Gets the properties of a resource as a map of client properties.<p>
  
  @param cms the CMS context to use
  @param res the resource whose properties to read
  @param search true if the inherited properties should be read
  
  @return the client properties as a map
  
  @throws CmsException if something goes wrong