code: public void addRelationToResource(String resourceName, String targetPath, String type) throws CmsException {
  
          createRelation(resourceName, targetPath, type, false);
      }
docs: Adds a new relation to the given resource.<p>
  
  @param resourceName the name of the source resource
  @param targetPath the path of the target resource
  @param type the type of the relation
  
  @throws CmsException if something goes wrong