Class PortletConfig

  • All Implemented Interfaces:
    Map

    public class PortletConfig
    extends Object
    implements Map
    Provides read access to tool parameters, which are (name, value) pairs. Write access is not allowed. This provides an unmodifiable Map that looks first in the tool configuration, then in the tool registration, then in the servlet configuration. The values in the tool configuration may have been configured by the end-user, the values in the tool registration are defaulted in the tool registration file, and the values in the servlet configuration come from web.xml and cannot be modified by the user.
    • Method Detail

      • getInitParameter

        public String getInitParameter​(String name)
      • getInitParameters

        public Map getInitParameters()
      • getTitle

        public String getTitle()
      • get3InitParameter

        public String[] get3InitParameter​(String name)
        Special non-jetspeed imitation: get three possible init parameter values: [0] from servlet config [1] from tool registration [2] from tool config nulls if not present
      • clear

        public void clear()
        Unsupported operation
        Specified by:
        clear in interface Map
      • containsKey

        public boolean containsKey​(Object key)
        Specified by:
        containsKey in interface Map
      • containsValue

        public boolean containsValue​(Object value)
        Specified by:
        containsValue in interface Map
      • entrySet

        public Set entrySet()
        Specified by:
        entrySet in interface Map
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface Map
      • keySet

        public Set keySet()
        Specified by:
        keySet in interface Map
      • putAll

        public void putAll​(Map t)
        Unsupported operation
        Specified by:
        putAll in interface Map
      • remove

        public Object remove​(Object key)
        Unsupported operation
        Specified by:
        remove in interface Map
      • size

        public int size()
        Specified by:
        size in interface Map