This interface provides access to a set of Preference objects.
Preference
This interface defines the model as known from the MVC pattern. Its purpose is to provide read access to the data stored in the model.
247248249250251252253254255256257
{ throw new IllegalStateException("You must call PortletEntityImpl.setPorteltEntityDao() before " + "invoking PortletEntityImpl.store()."); } PreferenceSet preferenceSet = (PreferenceSet)perPrincipalPrefs.get(principal); pac.storePreferenceSet(preferenceSet, this); dirty = false; if (preferenceSet != null) { backupValues(preferenceSet);
208209210211212213214215216217218
251252253254255256257258259260261262
count++; } assertTrue("PortletInfo Count != 1, count = " + count, count == 1); // Portlet Preferences PreferenceSet prefs = portlet.getPreferenceSet(); it = prefs.iterator(); count = 0; while (it.hasNext()) { PreferenceComposite pref = (PreferenceComposite) it.next(); assertNotNull("Preference.Name is null", pref.getName());
210211212213214215216217218219220
{ throw new IllegalStateException("You must call PortletEntityImpl.setPorteltEntityDao() before " + "invoking PortletEntityImpl.store()."); } PreferenceSet preferenceSet = (PreferenceSet)preferenceSetRef.get(); pac.storePreferenceSet(preferenceSet, this); dirty = false; if (preferenceSet != null) { backupValues(preferenceSet);