/**
* Jetspeed: PortletPreferencesProvider
*/
public void storeDefaults(org.apache.jetspeed.om.portlet.PortletDefinition pd)
{
Preferences preferences = pd.getDescriptorPreferences();
String defaultsCacheKey = getPorletPreferenceKey(pd.getApplication().getName(), pd.getPortletName());
JetspeedPreferencesMap map = new JetspeedPreferencesMap();
for (Preference preference : preferences.getPortletPreferences())
{
DatabasePreference dbPref = new DatabasePreference();
dbPref.setDtype(DISCRIMINATOR_PORTLET);
dbPref.setApplicationName(pd.getApplication().getName());
dbPref.setPortletName(pd.getPortletName());