/** * Returns the localized name of this layout in the language. Uses the default language if no localization exists for the requested language. * * @param languageId the ID of the language * @return the localized name of this layout */ @Override public String getName(String languageId) { return _layout.getName(languageId); }
/** * Returns the localized name of this layout in the language. Uses the default language if no localization exists for the requested language. * * @param locale the locale of the language * @return the localized name of this layout */ @Override public String getName(java.util.Locale locale) { return _layout.getName(locale); }
/** * Returns the localized name of this layout in the language, optionally using the default language if no localization exists for the requested language. * * @param languageId the ID of the language * @param useDefault whether to use the default language if no localization exists for the requested language * @return the localized name of this layout */ @Override public String getName(String languageId, boolean useDefault) { return _layout.getName(languageId, useDefault); }
/** * Returns the name of this layout. * * @return the name of this layout */ @Override public String getName() { return _layout.getName(); }
/** * Returns the localized name of this layout in the language, optionally using the default language if no localization exists for the requested language. * * @param locale the local of the language * @param useDefault whether to use the default language if no localization exists for the requested language * @return the localized name of this layout. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned. */ @Override public String getName(java.util.Locale locale, boolean useDefault) { return _layout.getName(locale, useDefault); }
/** * Returns the unescaped name of the navigation item's layout in the current * request's locale. * * @return the unescaped name of the navigation item's layout in the current * request's locale */ public String getUnescapedName() { return _layout.getName(_themeDisplay.getLanguageId()); }
String layoutName = layout.getName(themeDisplay.getLocale());
soapModel.setLayoutId(model.getLayoutId()); soapModel.setParentLayoutId(model.getParentLayoutId()); soapModel.setName(model.getName()); soapModel.setTitle(model.getTitle()); soapModel.setDescription(model.getDescription());
LayoutRevisionConstants.DEFAULT_PARENT_LAYOUT_REVISION_ID, false, layout.getPlid(), LayoutConstants.DEFAULT_PLID, layout.isPrivateLayout(), layout.getName(), layout.getTitle(), layout.getDescription(), layout.getKeywords(), layout.getRobots(), layout.getTypeSettings(),
jsonObject.put("label", layout.getName(defaultLocale));