code: public String getPermalink(CmsObject cms, String resourceName) {
  
          return getPermalink(cms, resourceName, null);
      }
docs: Returns the perma link for the given resource.<p>
  
  Like
  <code>http://site.enterprise.com:8080/permalink/4b65369f-1266-11db-8360-bf0f6fbae1f8.html</code>.<p>
  
  @param cms the cms context
  @param resourceName the resource to generate the perma link for
  
  @return the perma link