Class ResourceEvent

java.lang.Object
fr.paris.lutece.portal.business.event.ResourceEvent

public class ResourceEvent extends Object
ResourceEvent
  • Constructor Details

    • ResourceEvent

      public ResourceEvent()
      default constructor
    • ResourceEvent

      public ResourceEvent(String strIdDocument, String strTypeResource, int nIdPortlet)
      Constructor with fields
      Parameters:
      strIdDocument - the resource identifier
      strTypeResource - the type of the resource
      nIdPortlet - the portlet identifier of the resource
  • Method Details

    • getIdResource

      public String getIdResource()
      Gets the resource identifier
      Returns:
      the resource identifier
    • setIdResource

      public void setIdResource(String strIdDocument)
      Sets the resource identifier
      Parameters:
      strIdDocument - the resource identifier
    • getTypeResource

      public String getTypeResource()
      Gets the type of the resource
      Returns:
      the type of the resource
    • setTypeResource

      public void setTypeResource(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