/** * Returns the title.<p> * * @return the title * * @deprecated use {@link #getField(String)} instead with the name of the field, * for example use {@link CmsSearchField#FIELD_TITLE} to get the title (if available) */ public String getTitle() { return getField(CmsSearchField.FIELD_TITLE); }
/** * Returns the key words.<p> * * @return the key words * * @Deprecated use {@link #getField(String)} instead with the name of the field, * for example use {@link org.opencms.search.fields.CmsLuceneField#FIELD_KEYWORDS} to get the keywords (if available) */ public String getKeywords() { return getField(CmsSearchField.FIELD_KEYWORDS); }
/** * Returns the title.<p> * * @return the title * * @Deprecated use {@link #getField(String)} instead with the name of the field, * for example use {@link org.opencms.search.fields.CmsLuceneField#FIELD_TITLE} to get the title (if available) */ public String getTitle() { return getField(CmsSearchField.FIELD_TITLE); }
/** * Returns the key words.<p> * * @return the key words * * @deprecated use {@link #getField(String)} instead with the name of the field, * for example use {@link CmsSearchField#FIELD_KEYWORDS} to get the keywords (if available) */ public String getKeywords() { return getField(CmsSearchField.FIELD_KEYWORDS); }
/** * Returns the description.<p> * * @return the description * * @Deprecated use {@link #getField(String)} instead with the name of the field, * for example use {@link org.opencms.search.fields.CmsLuceneField#FIELD_DESCRIPTION} to get the description (if available) */ public String getDescription() { return getField(CmsSearchField.FIELD_DESCRIPTION); }
/** * Returns the description.<p> * * @return the description * * @deprecated use {@link #getField(String)} instead with the name of the field, * for example use {@link CmsSearchField#FIELD_DESCRIPTION} to get the description (if available) */ public String getDescription() { return getField(CmsSearchField.FIELD_DESCRIPTION); }
result.append(link(path)); result.append("\">"); String title = entry.getField(CmsSearchField.FIELD_TITLE); if (CmsStringUtil.isEmpty(title)) { if (entry.getField(CmsSearchField.FIELD_KEYWORDS) != null) { result.append(entry.getField(CmsSearchField.FIELD_KEYWORDS)); if (entry.getField(CmsSearchField.FIELD_DESCRIPTION) != null) { result.append(entry.getField(CmsSearchField.FIELD_DESCRIPTION));
m_jsp.getRequestContext().getLocale()).toString())); result.append("\">\n"); result.append(entry.getField(CmsSearchField.FIELD_TITLE)); result.append("</a>"); result.append(" (").append(entry.getScore()).append(" %)\n");
CmsLocaleManager.PARAMETER_LOCALE).append("=").append(m_jsp.getRequestContext().getLocale()).toString())); result.append("\">\n"); result.append(entry.getField(CmsSearchField.FIELD_TITLE)); result.append("</a>"); result.append(" (").append(entry.getScore()).append(" %)\n");
"', '_blank', 'width='+screen.availWidth+', height='+ screen.availHeight+', scrollbars=yes, menubar=yes, toolbar=yes')\""); result.append("\">\n"); name = entry.getField(CmsSearchField.FIELD_TITLE); if (name == null) { name = entry.getPath();