Interface PortletRegistryElement

    • Method Detail

      • setName

        void setName​(String name)
        Set the value of the "name" attribute of the registry element.
        Parameters:
        name - the value of the "name" attribute of the registry element.
      • getName

        String getName()
        Returns the value of "name" attribute of the registry element
        Returns:
        a String, the value of "name" attribute of the registry element.
      • setPortletName

        void setPortletName​(String portletName)
        Set the value of the "portletName" attribute of the registry element.
        Parameters:
        portletName - the value of the "portletName" attribute of the registry element.
      • getPortletName

        String getPortletName()
        Returns the value of "portletName" attribute of the registry element
        Returns:
        a String, the value of "portletName" attribute of the registry element.
      • setUserName

        void setUserName​(String userName)
        Set the value of the "userName" attribute of the registry element.
        Parameters:
        userName - the value of the "userName" attribute of the registry element.
      • getUserName

        String getUserName()
        Returns the value of "userName" attribute of the registry element
        Returns:
        a String, the value of "userName" attribute of the registry element.
      • setRemote

        void setRemote​(String isRemote)
        Set the value of the "isRemote" attribute of the registry element.
        Parameters:
        isRemote - the value of the "isRemote" attribute of the registry element.
      • getRemote

        String getRemote()
        Returns the value of "isRemote" attribute of the registry element
        Returns:
        a String, the value of "isRemote" attribute of the registry element.
      • setCollectionProperty

        void setCollectionProperty​(String key,
                                   List<String> values)
                            throws PortletRegistryException
        Set the values for the Collection tag specified by the key. This Collection tag is contained within the registry element. Each value in the list is represented as a value of the "value" attribute in the String tag. This String tag is contained within the Collection tag.
        Parameters:
        key - the value for the "name" attribute of the Collection tag.
        values - represented by "value" attribute of the String tags.
        Throws:
        PortletRegistryException
      • setCollectionProperty

        void setCollectionProperty​(String key,
                                   Map<String,​Object> values)
                            throws PortletRegistryException
        Set the values for the Collection tag specified by the key. This Collection tag is contained within the registry element. Each key in the Map is represented as a value of the "name" attribute in the String tag and value for the key is represented as a value for the "value" attribute in the String tag. This String tag is contained within the Collection tag
        Parameters:
        key - the value for the "name" attribute of the Collection tag.
        values - represented by "name" and "value" attribute of the String tags.
        Throws:
        PortletRegistryException
      • getCollectionProperty

        Map<String,​Object> getCollectionProperty​(String key)
                                                throws PortletRegistryException
        Returns the values contained in the Collection tag specified by the key. The Collection tag contains String tags. This String tag has either "name" attribute or both "name" and "value" attribute. If the String tag has only "name" attribute, the Map returned contains the value of the "name" attribute as both key and value. If the String tag has both "name" and "value" attribute, the Map returned contains the value of the "name" attribute as key and value of the "value" attribute as value.
        Returns:
        a Map, the value of attributes "name" and "value" of String tag.
        Throws:
        PortletRegistryException
      • setLang

        void setLang​(String lang)
        Set the value of the "lang" attribute of the String tag.
        Parameters:
        lang - the value represented by the "lang" attribute for the String tag
      • getLang

        String getLang()
        Returns the value of the "lang" attribute for the String tag specified by the key.
        Returns:
        a String, the value represented by the "lang" attribute for the String tag