@Override public Property getProperty(Node node, String name, Locale locale) throws RepositoryException { return getI18nContentSupport().getProperty(node, name, locale); }
@Override public Property getProperty(Node node, String name) throws RepositoryException { return getI18nContentSupport().getProperty(node, name); }
/** * {@inheritDoc} */ public String getTitle(Node media) { try { return Components.getComponent(I18nContentSupport.class).getProperty(media, "title").getString(); } catch (ValueFormatException e) { return StringUtils.EMPTY; } catch (RepositoryException e) { return StringUtils.EMPTY; } }
/** * {@inheritDoc} */ public String getTags(Node media) { try { return Components.getComponent(I18nContentSupport.class).getProperty(media, "tags").getString(); } catch (ValueFormatException e) { return StringUtils.EMPTY; } catch (RepositoryException e) { return StringUtils.EMPTY; } }
/** * {@inheritDoc} */ public String getDescription(Node media) { try { return Components.getComponent(I18nContentSupport.class).getProperty(media, "description").getString(); } catch (ValueFormatException e) { return StringUtils.EMPTY; } catch (RepositoryException e) { return StringUtils.EMPTY; } }
/** * {@inheritDoc} */ public String getAbstract(Node media) { try { return Components.getComponent(I18nContentSupport.class).getProperty(media, "abstract").getString(); } catch (ValueFormatException e) { return StringUtils.EMPTY; } catch (RepositoryException e) { return StringUtils.EMPTY; } }
@Override public String getTitle() { try { return I18nContentSupportFactory.getI18nSupport().getProperty(this.getJCRNode(), "title").getString(); } catch (RepositoryException e) { log.error("An error occurred while trying to access title property from {}", this, e); return ""; } }
@Override public Property getProperty(String relPath) throws RepositoryException { return wrapProperty(i18nSupport.getProperty(getWrappedNode(), relPath)); }
Property propertyNavTitle = i18nContentSupport.getProperty(child, NODEDATA_NAVIGATIONTITLE); String title = null; if (propertyNavTitle != null) {