protected void executeRequest() throws WebdavException {
try {
// FIXME: Generate multi status output to give detailed information about every fired event
if ( GenericEvent.EVENT_FIRED.isEnabled() ) {
for ( Iterator i = eventsToFire.iterator(); i.hasNext(); ) {
GenericEvent event = (GenericEvent)i.next();
EventDispatcher.getInstance().fireEvent(GenericEvent.EVENT_FIRED, event);
}
}
if ( GenericEvent.VETOABLE_EVENT_FIRED.isEnabled() ) {
for ( Iterator i = vetoableEventsToFire.iterator(); i.hasNext(); ) {
GenericEvent event = (GenericEvent)i.next();
try {
EventDispatcher.getInstance().fireVetoableEvent(GenericEvent.VETOABLE_EVENT_FIRED, event);
} catch ( VetoException exception ) {
// add to multiresponse
}