public String getEditDisplayDDMTemplateTitle() throws PortalException {
    DDLRecordSet recordSet = getRecordSet();

    if (recordSet == null) {
      return StringPool.BLANK;
    }

    DDMDisplay ddmDisplay = getDDMDisplay();

    return ddmDisplay.getEditTemplateTitle(
        recordSet.getDDMStructure(), fetchDisplayDDMTemplate(), getLocale());
  }
  public String getEditFormDDMTemplateTitle() throws PortalException {
    DDLRecordSet recordSet = getRecordSet();

    if (recordSet == null) {
      return LanguageUtil.get(getLocale(), "add-list");
    }

    DDMDisplay ddmDisplay = getDDMDisplay();

    return ddmDisplay.getEditTemplateTitle(
        recordSet.getDDMStructure(), fetchFormDDMTemplate(), getLocale());
  }
  protected long getStructureTypeClassNameId() {
    DDMDisplay ddmDisplay = getDDMDisplay();

    return PortalUtil.getClassNameId(ddmDisplay.getStructureType());
  }
  public String getAddDDMTemplateTitle() throws PortalException {
    DDMDisplay ddmDisplay = getDDMDisplay();

    return ddmDisplay.getEditTemplateTitle(_recordSet.getDDMStructure(), null, getLocale());
  }