Skip to content

Commit 191a2a8

Browse files
committed
documentation
1 parent 9ccf01d commit 191a2a8

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

imixs-workflow-engine/src/main/java/org/imixs/workflow/engine/EventLogService.java

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ public class EventLogService {
8686
/**
8787
* Creates/updates a new event log entry.
8888
*
89-
* @param refID - uniqueid of the document to be assigned to the event
9089
* @param topic - the topic of the event.
90+
* @param refID - uniqueId of the workitem assigned to the event
9191
* @return - generated event log entry
9292
*/
9393
public EventLog createEvent(String topic, String refID) {
@@ -97,8 +97,8 @@ public EventLog createEvent(String topic, String refID) {
9797
/**
9898
* Creates/updates a new event log entry.
9999
*
100-
* @param refID - uniqueid of the document to be assigned to the event
101100
* @param topic - the topic of the event.
101+
* @param refID - uniqueId of the workitem assigned to the event
102102
* @param timeout - optional timeout calendar object
103103
* @return - generated event log entry
104104
*/
@@ -109,8 +109,8 @@ public EventLog createEvent(String topic, String refID, Calendar timeout) {
109109
/**
110110
* Creates/updates a new event log entry.
111111
*
112-
* @param refID - uniqueId of the document to be assigned to the event
113112
* @param topic - the topic of the event.
113+
* @param refID - uniqueId of the workitem assigned to the event
114114
* @param document - optional document providing a data map
115115
* @return - generated event log entry
116116
*/
@@ -121,8 +121,8 @@ public EventLog createEvent(String topic, String refID, ItemCollection document)
121121
/**
122122
* Creates/updates a new event log entry.
123123
*
124-
* @param refID - uniqueId of the document to be assigned to the event
125124
* @param topic - the topic of the event.
125+
* @param refID - uniqueId of the workitem assigned to the event
126126
* @param document - optional document providing a data map
127127
* @param timeout - optional timeout calendar object
128128
* @return - generated event log entry
@@ -134,9 +134,10 @@ public EventLog createEvent(String topic, String refID, ItemCollection document,
134134
/**
135135
* Creates/updates a new event log entry.
136136
*
137-
* @param refID - uniqueId of the document to be assigned to the event
138-
* @param topic - the topic of the event.
139-
* @param data - optional data map
137+
* @param topic - the topic of the event.
138+
* @param refID - uniqueId of the workitem assigned to the event
139+
* @param data - optional data map
140+
* @param timeout - optional timeout calendar object
140141
* @return - generated event log entry
141142
*/
142143
public EventLog createEvent(String topic, String refID, Map<String, List<Object>> data, Calendar timeout) {

src/site/markdown/engine/eventlogservice.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The service is bound to the current PersistenceContext and stores a EventLog ent
1717
EventLogService eventLogService;
1818
....
1919
// BEGIN Transaction A
20-
eventLogService.createEvent(workitem.getUniqueID(), "MY_TOPIC");
20+
eventLogService.createEvent("MY_TOPIC", workitem.getUniqueID());
2121
....
2222
// END Transaction A
2323
.......

0 commit comments

Comments
 (0)