Class AliasPortlet

  • All Implemented Interfaces:
    XmlContent

    public class AliasPortlet
    extends Portlet
    This class represents business objects AliasPortlet
    • Constructor Detail

      • AliasPortlet

        public AliasPortlet()
        Sets the identifier of the portlet type to the value specified in the AliasPortletHome class
    • Method Detail

      • setAliasId

        public void setAliasId​(int nAliasId)
        Sets the alias identifier of the portlet with the specified int value
        Parameters:
        nAliasId - the Alias identifier
      • getAliasId

        public int getAliasId()
        Returns the alias identifier of the portlet
        Returns:
        the Alias identifier
      • getHtmlContent

        public java.lang.String getHtmlContent​(javax.servlet.http.HttpServletRequest request)
        Returns the html content code of the Alias portlet
        Overrides:
        getHtmlContent in class Portlet
        Parameters:
        request - The HTTP servlet request
        Returns:
        the Html content code of the Alias portlet content
      • getXml

        public java.lang.String getXml​(javax.servlet.http.HttpServletRequest request)
                                throws SiteMessageException
        Returns the Xml code of the Alias portlet without XML heading
        Parameters:
        request - The HTTP servlet request
        Returns:
        the Xml code of the Alias portlet content
        Throws:
        SiteMessageException - occurs when a site message need to be displayed
      • getXmlDocument

        public java.lang.String getXmlDocument​(javax.servlet.http.HttpServletRequest request)
                                        throws SiteMessageException
        Returns the Xml code of the Alias portlet with XML heading
        Parameters:
        request - The HTTP Servlet request
        Returns:
        the Xml code of the Alias portlet
        Throws:
        SiteMessageException - occurs when a site message need to be displayed
      • getXslParams

        public java.util.Map<java.lang.String,​java.lang.String> getXslParams()
        Gets the XSl parameters of the alias portlet and returns them in form of a dictionnary
        Overrides:
        getXslParams in class Portlet
        Returns:
        the Xsl params
      • update

        public void update()
        Updates the current instance of the AliasPortlet object
      • remove

        public void remove()
        Removes the current instance of the AliasPortlet object
        Specified by:
        remove in class Portlet