/** * @see javax.portlet.filter.FilterConfig#getInitParameter(java.lang.String) */ public String getInitParameter(String name) { InitParam initParam = this.filter.getInitParam(name); return (initParam != null ? initParam.getParamValue() : null); }
public void addField(Locale locale, String name, String value) { LocalizedField field = createLocalizedField(); field.setName(name); field.setValue(value); field.setLocale(locale); addField(field); }
/** * @return Returns the coverages. */ public Collection getCoverages() { return metadata.getFields(COVERAGE); }
public void storePortletPreference(org.apache.jetspeed.om.portlet.PortletDefinition portletdefinition, String windowId, String userName, Map<String, PortletPreference> map) { String appName = portletdefinition.getApplication().getName(); String portletName = portletdefinition.getPortletName(); storePortletPreference(appName, portletName, windowId, userName, map); }
public FailedToStorePortletDefinitionException( PortletDefinition portlet, String reason ) { this("Unable to store portlet definition "+portlet.getPortletName()+". Resaon: "+reason); }
public PortletApplicationProxyImpl(PortletApplication app) { this.app = app; this.name = app.getName(); }
/** * @param identifiers The identifiers to set. */ public void setIdentifiers(Collection identifiers) { metadata.setFields(IDENTIFIER, identifiers); }
public void addType(Locale locale, String type) { metadata.addField(locale, TYPE, type); } }
/** * @return Returns the identifiers. */ public Collection getIdentifiers() { return metadata.getFields(IDENTIFIER); }
/** * @param languages The languages to set. */ public void setLanguages(Collection languages) { metadata.setFields(LANGUAGE, languages); }
/** * @return Returns the sources. */ public Collection getSources() { return metadata.getFields(SOURCE); }
/** * @param subjects The subjects to set. */ public void setSubjects(Collection subjects) { metadata.setFields(SUBJECT, subjects); }
/** * @return Returns the creators. */ public Collection getCreators() { return metadata.getFields(CREATOR); }
/** * @param titles The titles to set */ public void setTitles(Collection titles) { metadata.setFields(TITLE, titles); }
/** * @return Returns the formats. */ public Collection getFormats() { return metadata.getFields(FORMAT); }
/** * @param contributors The contributors to set. */ public void setContributors(Collection contributors) { metadata.setFields(CONTRIBUTOR, contributors); }
/** * @return Returns the rights. */ public Collection getRights() { return metadata.getFields(RIGHT); }
/** * @param creators The creators to set. */ public void setCreators(Collection creators) { metadata.setFields(CREATOR, creators); }
/** * @return Returns the subjects. */ public Collection getSubjects() { return metadata.getFields(SUBJECT); }