cancel
Showing results for 
Search instead for 
Did you mean: 

How do you get the type of an event?

AronR_
Champ in-the-making
Champ in-the-making

What is the call to get the type of an event?

These types are shown in the "Common Events" section of "Events and Listeners", http://doc.nuxeo.com/display/NXDOC/Events+and+Listeners

1 ACCEPTED ANSWER

AronR_
Champ in-the-making
Champ in-the-making

I found this posting from member 'moise' which answered my question:

http://forum.nuxeo.com/?t=msg&goto=18110&&srch=DocumentEventTypes#msg_18110

A snippet from that post:

if (!(event.getName().equals(documenteventtypes.DOCUMENT_CREATED))) {

The constants for document event types can be found in (for Nuxeo 5.6, for example):

http://community.nuxeo.com/api/nuxeo/5.6/javadoc/org/nuxeo/ecm/core/api/event/DocumentEventTypes.htm...

View answer in original post

1 REPLY 1

AronR_
Champ in-the-making
Champ in-the-making

I found this posting from member 'moise' which answered my question:

http://forum.nuxeo.com/?t=msg&goto=18110&&srch=DocumentEventTypes#msg_18110

A snippet from that post:

if (!(event.getName().equals(documenteventtypes.DOCUMENT_CREATED))) {

The constants for document event types can be found in (for Nuxeo 5.6, for example):

http://community.nuxeo.com/api/nuxeo/5.6/javadoc/org/nuxeo/ecm/core/api/event/DocumentEventTypes.htm...