Event Handler in community API

Hi,
It’s possible create events handling using the community API (org.bonitasoft.engine…)?
The documentation example use: