Interface PropertyContext


  • public interface PropertyContext
    Exposes to the portlet the interface to deal with the personalization state.
    Version:
    $Revision: 6757 $
    Author:
    Julien Viet
    • Field Detail

      • PREFERENCES_ATTRIBUTE

        static final String PREFERENCES_ATTRIBUTE
        The attribute name under which the preferences can be accessed.
        See Also:
        Constant Field Values
    • Method Detail

      • getKeys

        Set<String> getKeys()
        Return an immutable set of keys.
        Returns:
        the set of keys
      • isReadOnly

        boolean isReadOnly()
                    throws IllegalStateException
        Return true if the preferences are globally read only. The value returned by this method is valid only during the action request. Any call to this method during the render request will produce a non accurate value.
        Returns:
        true if the preferences are read only
        Throws:
        IllegalStateException - if this is called during render phase