Class PortletEvent
java.lang.Object
fr.paris.lutece.portal.service.portlet.PortletEvent
Portlet event
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault empty constructorPortletEvent(int nType, int nPortletId, int nPageId) PortletEvent -
Method Summary
Modifier and TypeMethodDescriptionintGets the page idGets the portlet idintgetType()Event typevoidsetPageId(int nPageId) Sets the page idvoidsetPortletId(int nPortletId) Sets the portlet idvoidsetType(int nType) Sets the event type
-
Field Details
-
INVALIDATE
public static final int INVALIDATE- See Also:
-
-
Constructor Details
-
PortletEvent
public PortletEvent()Default empty constructor -
PortletEvent
public PortletEvent(int nType, int nPortletId, int nPageId) PortletEvent- Parameters:
nType- the typenPortletId- the portlet idnPageId- the page id
-
-
Method Details
-
getType
public int getType()Event type- Returns:
- event type
-
setType
public void setType(int nType) Sets the event type- Parameters:
nType- event type
-
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
-