Class PublishingEvent
java.lang.Object
fr.paris.lutece.plugins.document.service.publishing.PublishingEvent
PublishingEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionPublishingEvent(int nDocumentId, int nPortletId, int nType) Creates a new instance of PublishingEvent -
Method Summary
Modifier and TypeMethodDescriptionintReturns the EventTypeintReturns the Document IdintReturns the Portlet Id
-
Field Details
-
DOCUMENT_PUBLISHED
public static final int DOCUMENT_PUBLISHED- See Also:
-
DOCUMENT_UNPUBLISHED
public static final int DOCUMENT_UNPUBLISHED- See Also:
-
DOCUMENT_IS_COMMENT
public static final int DOCUMENT_IS_COMMENT- See Also:
-
-
Constructor Details
-
PublishingEvent
public PublishingEvent(int nDocumentId, int nPortletId, int nType) Creates a new instance of PublishingEvent- Parameters:
nDocumentId- The id of the documentnPortletId- The id of the portletnType- The type of the event
-
-
Method Details
-
getEventType
public int getEventType()Returns the EventType- Returns:
- The EventType
-
getnDocumentId
public int getnDocumentId()Returns the Document Id- Returns:
- The Document Id
-
getPortletId
public int getPortletId()Returns the Portlet Id- Returns:
- The Portlet Id
-