code: public String buildLockHeaderBox() throws CmsException {
  
          StringBuffer html = new StringBuffer(512);
          // include resource info
          html.append(dialogBlockStart(null));
          html.append(key(org.opencms.workplace.commons.Messages.GUI_LABEL_TITLE_0));
          html.append(": ");
          html.append(getJsp().property("Title", getParamResource(), ""));
          html.append("<br>\n");
          html.append(key(org.opencms.workplace.commons.Messages.GUI_LABEL_STATE_0));
          html.append(": ");
          html.append(getState());
          html.append("<br>\n");
          html.append(key(org.opencms.workplace.commons.Messages.GUI_LABEL_PERMALINK_0));
          html.append(": ");
          html.append(OpenCms.getLinkManager().getPermalink(getCms(), getParamResource()));
          html.append(dialogBlockEnd());
          return html.toString();
      }
docs: Returns the html code to build the header box.<p>
  
  @return html code
  
  @throws CmsException if something goes wrong