/** * Returns the localized keywords of this layout revision 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 keywords of this layout revision */ @Override public String getKeywords(String languageId, boolean useDefault) { return _layoutRevision.getKeywords(languageId, useDefault); }
/** * Returns the keywords of this layout revision. * * @return the keywords of this layout revision */ @Override public String getKeywords() { return _layoutRevision.getKeywords(); }
/** * Returns the localized keywords of this layout revision 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 keywords of this layout revision. 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 getKeywords(java.util.Locale locale, boolean useDefault) { return _layoutRevision.getKeywords(locale, useDefault); }
/** * Returns the localized keywords of this layout revision 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 keywords of this layout revision */ @Override public String getKeywords(String languageId) { return _layoutRevision.getKeywords(languageId); }
/** * Returns the localized keywords of this layout revision 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 keywords of this layout revision */ @Override public String getKeywords(java.util.Locale locale) { return _layoutRevision.getKeywords(locale); }
soapModel.setTitle(model.getTitle()); soapModel.setDescription(model.getDescription()); soapModel.setKeywords(model.getKeywords()); soapModel.setRobots(model.getRobots()); soapModel.setTypeSettings(model.getTypeSettings());
@Override public Layout mergeLayoutRevisionIntoLayout(Layout layout) { LayoutStagingHandler layoutStagingHandler = getLayoutStagingHandler( layout); if (layoutStagingHandler == null) { return (Layout)layout.clone(); } layout = layoutStagingHandler.getLayout(); layout = (Layout)layout.clone(); LayoutRevision layoutRevision = layoutStagingHandler.getLayoutRevision(); layout.setName(layoutRevision.getName()); layout.setTitle(layoutRevision.getTitle()); layout.setDescription(layoutRevision.getDescription()); layout.setKeywords(layoutRevision.getKeywords()); layout.setRobots(layoutRevision.getRobots()); layout.setTypeSettings(layoutRevision.getTypeSettings()); layout.setIconImageId(layoutRevision.getIconImageId()); layout.setThemeId(layoutRevision.getThemeId()); layout.setColorSchemeId(layoutRevision.getColorSchemeId()); layout.setCss(layoutRevision.getCss()); return layout; }