Class ResourceEvent
- java.lang.Object
-
- fr.paris.lutece.portal.business.event.ResourceEvent
-
public class ResourceEvent extends java.lang.ObjectResourceEvent
-
-
Constructor Summary
Constructors Constructor Description ResourceEvent()default constructorResourceEvent(java.lang.String strIdDocument, java.lang.String strTypeResource, int nIdPortlet)Constructor with fields
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIdPortlet()Gets the portlet identifier of the resourcejava.lang.StringgetIdResource()Gets the resource identifierIEventParam<?>getParam()Gets the event paramjava.lang.StringgetTypeResource()Gets the type of the resourcevoidsetIdPortlet(int nIdPortlet)Sets the portlet identifier of the resourcevoidsetIdResource(java.lang.String strIdDocument)Sets the resource identifiervoidsetParam(IEventParam<?> param)Sets the event Param.voidsetTypeResource(java.lang.String indexerName)Sets the type of the resource
-
-
-
Constructor Detail
-
ResourceEvent
public ResourceEvent()
default constructor
-
ResourceEvent
public ResourceEvent(java.lang.String strIdDocument, java.lang.String strTypeResource, int nIdPortlet)Constructor with fields- Parameters:
strIdDocument- the resource identifierstrTypeResource- the type of the resourcenIdPortlet- the portlet identifier of the resource
-
-
Method Detail
-
getIdResource
public java.lang.String getIdResource()
Gets the resource identifier- Returns:
- the resource identifier
-
setIdResource
public void setIdResource(java.lang.String strIdDocument)
Sets the resource identifier- Parameters:
strIdDocument- the resource identifier
-
getTypeResource
public java.lang.String getTypeResource()
Gets the type of the resource- Returns:
- the type of the resource
-
setTypeResource
public void setTypeResource(java.lang.String indexerName)
Sets the type of the resource- Parameters:
indexerName- the type of the resource
-
getIdPortlet
public int getIdPortlet()
Gets the portlet identifier of the resource- Returns:
- the portlet identifier of the resource
-
setIdPortlet
public void setIdPortlet(int nIdPortlet)
Sets the portlet identifier of the resource- Parameters:
nIdPortlet- the portlet identifier of the resource
-
setParam
public void setParam(IEventParam<?> param)
Sets the event Param.- Parameters:
param-
-
getParam
public IEventParam<?> getParam()
Gets the event param- Returns:
- the param
-
-