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