Class ResourceEvent
java.lang.Object
fr.paris.lutece.portal.business.event.ResourceEvent
ResourceEvent
-
Constructor Summary
ConstructorsConstructorDescriptiondefault constructorResourceEvent(String strIdDocument, String strTypeResource, int nIdPortlet) Constructor with fields -
Method Summary
Modifier and TypeMethodDescriptionintGets the portlet identifier of the resourceGets the resource identifierIEventParam<?>getParam()Gets the event paramGets the type of the resourcevoidsetIdPortlet(int nIdPortlet) Sets the portlet identifier of the resourcevoidsetIdResource(String strIdDocument) Sets the resource identifiervoidsetParam(IEventParam<?> param) Sets the event Param.voidsetTypeResource(String indexerName) Sets the type of the resource
-
Constructor Details
-
ResourceEvent
public ResourceEvent()default constructor -
ResourceEvent
Constructor with fields- Parameters:
strIdDocument- the resource identifierstrTypeResource- the type of the resourcenIdPortlet- the portlet identifier of the resource
-
-
Method Details
-
getIdResource
Gets the resource identifier- Returns:
- the resource identifier
-
setIdResource
Sets the resource identifier- Parameters:
strIdDocument- the resource identifier
-
getTypeResource
Gets the type of the resource- Returns:
- the type of the resource
-
setTypeResource
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
Sets the event Param.- Parameters:
param-
-
getParam
Gets the event param- Returns:
- the param
-