added logs to trace notified events
This commit is contained in:
parent
669a5a913d
commit
01db0ae870
|
@ -123,6 +123,7 @@ public class ProfiledDocuments {
|
|||
item.setContext(user.getContext());
|
||||
item.setEvent(event);
|
||||
item.setProject(theNewProject);
|
||||
log.info("By notifying event ({}, ID {})", event, item.getId());
|
||||
eventManager.notify(event, item);
|
||||
|
||||
return theNewProject;
|
||||
|
@ -155,6 +156,7 @@ public class ProfiledDocuments {
|
|||
item.setContext(user.getContext());
|
||||
item.setEvent(event);
|
||||
item.setProject(theUpdatedProject);
|
||||
log.info("By notifying event ({}, ID {})", event, item.getId());
|
||||
eventManager.notify(event, item);
|
||||
|
||||
return theUpdatedProject;
|
||||
|
@ -215,6 +217,7 @@ public class ProfiledDocuments {
|
|||
deletedProject.setId(id);
|
||||
deletedProject.setProfileID(manager.getUseCaseDescriptor().getId());
|
||||
item.setProject(deletedProject);
|
||||
log.info("By notifying event ({}, ID {})", event, item.getId());
|
||||
eventManager.notify(event, item);
|
||||
|
||||
return deleted;
|
||||
|
@ -302,6 +305,7 @@ public class ProfiledDocuments {
|
|||
item.setContext(user.getContext());
|
||||
item.setEvent(event);
|
||||
item.setProject(theProject);
|
||||
log.info("By notifying event ({}, ID {})", event, item.getId());
|
||||
eventManager.notify(event, item);
|
||||
|
||||
return theProject;
|
||||
|
|
Loading…
Reference in New Issue