Class PortletEvent


  • public class PortletEvent
    extends java.lang.Object
    Portlet event
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int INVALIDATE  
    • Constructor Summary

      Constructors 
      Constructor Description
      PortletEvent()
      Default empty constructor
      PortletEvent​(int nType, int nPortletId, int nPageId)
      PortletEvent
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getPageId()
      Gets the page id
      java.lang.Integer getPortletId()
      Gets the portlet id
      int getType()
      Event type
      void setPageId​(int nPageId)
      Sets the page id
      void setPortletId​(int nPortletId)
      Sets the portlet id
      void setType​(int nType)
      Sets the event type
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PortletEvent

        public PortletEvent()
        Default empty constructor
      • PortletEvent

        public PortletEvent​(int nType,
                            int nPortletId,
                            int nPageId)
        PortletEvent
        Parameters:
        nType - the type
        nPortletId - the portlet id
        nPageId - the page id
    • Method Detail

      • getType

        public int getType()
        Event type
        Returns:
        event type
      • setType

        public void setType​(int nType)
        Sets the event type
        Parameters:
        nType - event type
      • getPortletId

        public java.lang.Integer getPortletId()
        Gets the portlet id
        Returns:
        the portlet id
      • setPortletId

        public void setPortletId​(int nPortletId)
        Sets the portlet id
        Parameters:
        nPortletId - the portlet id
      • getPageId

        public int getPageId()
        Gets the page id
        Returns:
        the page id
      • setPageId

        public void setPageId​(int nPageId)
        Sets the page id
        Parameters:
        nPageId - the page id