updated ItemObserved
This commit is contained in:
parent
32d3f2fbb3
commit
bab16ad14d
|
@ -119,7 +119,7 @@ public class ProfiledDocuments {
|
|||
ItemObserved<Project> item = new ItemObserved<Project>();
|
||||
EventManager.Event event = Event.PROJECT_CREATED;
|
||||
AccountingInfo user = UserUtils.getCurrent().asInfo();
|
||||
item.setCaller(user.getUser());
|
||||
item.setUserCaller(user.getUser());
|
||||
item.setContext(user.getContext());
|
||||
item.setEvent(event);
|
||||
item.setProject(theNewProject);
|
||||
|
@ -152,7 +152,7 @@ public class ProfiledDocuments {
|
|||
ItemObserved<Project> item = new ItemObserved<Project>();
|
||||
EventManager.Event event = Event.PROJECT_UPDATED;
|
||||
AccountingInfo user = UserUtils.getCurrent().asInfo();
|
||||
item.setCaller(user.getUser());
|
||||
item.setUserCaller(user.getUser());
|
||||
item.setContext(user.getContext());
|
||||
item.setEvent(event);
|
||||
item.setProject(theUpdatedProject);
|
||||
|
@ -209,7 +209,7 @@ public class ProfiledDocuments {
|
|||
ItemObserved<Project> item = new ItemObserved<Project>();
|
||||
EventManager.Event event = Event.PROJECT_DELETED;
|
||||
AccountingInfo user = UserUtils.getCurrent().asInfo();
|
||||
item.setCaller(user.getUser());
|
||||
item.setUserCaller(user.getUser());
|
||||
item.setContext(user.getContext());
|
||||
item.setEvent(event);
|
||||
// Referencing delete project
|
||||
|
@ -301,7 +301,7 @@ public class ProfiledDocuments {
|
|||
ItemObserved<Project> item = new ItemObserved<Project>();
|
||||
EventManager.Event event = Event.LIFECYCLE_STEP_PERFORMED;
|
||||
AccountingInfo user = UserUtils.getCurrent().asInfo();
|
||||
item.setCaller(user.getUser());
|
||||
item.setUserCaller(user.getUser());
|
||||
item.setContext(user.getContext());
|
||||
item.setEvent(event);
|
||||
item.setProject(theProject);
|
||||
|
|
Loading…
Reference in New Issue