| java.lang.Object com.caucho.portal.generic.context.LinkingPortletPreferences
LinkingPortletPreferences | public class LinkingPortletPreferences implements PortletPreferences(Code) | | An implementation of PortletPreferences that stores values temporarily,
retrieves values from a store or defaults, validates before
before storing, and stores the values into the store.
|
Field Summary | |
final protected static Logger | log |
Method Summary | |
public void | discard() Discard all changes. | public void | finish() | public PortletPreferences | getDefaults() | public Map | getMap() | public Enumeration | getNames() Returns the unique set of names in this
object, the backing store, and the default preferences. | public Map<String, String[]> | getStore() | public ArrayList<PreferencesValidator> | getValidators() | public String | getValue(String key, String def) | public String[] | getValues(String key, String[] def) | public boolean | isReadOnly(String key) | public void | reset(String key) | public void | setValue(String key, String value) | public void | setValues(String key, String[] values) | public void | start(PortletPreferences defaults, ArrayList<PreferencesValidator> validators, Map<String, String[]> storeMap) | public void | store() This implementation first invokes the validators (if any), and then
propogates the properties set in this object to the the store. |
LinkingPortletPreferences | public LinkingPortletPreferences()(Code) | | |
discard | public void discard()(Code) | | Discard all changes.
|
finish | public void finish()(Code) | | |
getDefaults | public PortletPreferences getDefaults()(Code) | | |
getNames | public Enumeration getNames()(Code) | | Returns the unique set of names in this
object, the backing store, and the default preferences.
|
reset | public void reset(String key) throws ReadOnlyException(Code) | | |
setValues | public void setValues(String key, String[] values) throws ReadOnlyException(Code) | | |
store | public void store() throws IOException, ValidatorException(Code) | | This implementation first invokes the validators (if any), and then
propogates the properties set in this object to the the store.
If the store has not been set then only the invoking of the validators is
performed, the values are left unchanged.
|
|
|