catch up with branch development
Signed-off-by: Ralf Mollik <ramollik@compex-commerce.com>
diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..99f26c0
--- /dev/null
+++ b/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000..f897a7f
--- /dev/null
+++ b/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/IBPMEngine.java b/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/IBPMEngine.java
index d696aa5..010030b 100644
--- a/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/IBPMEngine.java
+++ b/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/IBPMEngine.java
@@ -30,6 +30,7 @@
void removeProcessEventListener(Object listener);
void addTaskEventListener(Object listener);
void removeTaskEventListener(Object listener);
+ Object getProcessInstance(Object taskInformationObject);
/**
* @param taskInformationObject object containing information about the task; it can be<ul>
* <li>process instance of type {@link org.drools.runtime.process.ProcessInstance}</li>
@@ -39,7 +40,7 @@
* </ul>
* @return map with String for key and Object for values
*/
- Map<String,Object> getProcessVariables(Object taskInformationObject);
+ Map<String,Object> getProcessVariables(Object processInstanceObject);
/**
* @param taskInformationObject object containing information about the task; it can be<ul>
* <li>process instance of type {@link org.drools.runtime.process.ProcessInstance}</li>
@@ -50,7 +51,7 @@
* @param variable name of the requested variable
* @return value of the variable or null
*/
- Object getProcessVariable(Object taskInformationObject, String variable);
+ Object getProcessVariable(Object processInstanceObject, String variable);
/**
* @param taskInformationObject object containing information about the task; it can be<ul>
* <li>process instance of type {@link org.drools.runtime.process.ProcessInstance}</li>
@@ -61,7 +62,7 @@
* @param variable name of the variable to be set
* @param value new values of the variable
*/
- Object setProcessVariable(Object taskInformationObject, String variable, Object value);
+ void setProcessVariable(Object processInstanceObject, String variable, Object value);
void disposeKsession(Object ksession);
Object reCreateKnowledgeSession(Object taskInformationObject);
void beginTransaction();
diff --git a/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/IBPMTaskClient.java b/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/IBPMTaskClient.java
index a1dab84..d759311 100644
--- a/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/IBPMTaskClient.java
+++ b/org.eclipse.osbp.bpm.api/src/org/eclipse/osbp/bpm/api/IBPMTaskClient.java
@@ -29,13 +29,10 @@
void subscribeTaskEventNotification(BPMTaskEventType type, IBPMTaskEventNotification notification);
void unsubscribeTaskEventNotification(IBPMTaskEventNotification notification);
void unsubscribeTaskEventNotification(BPMTaskEventType type, IBPMTaskEventNotification notification);
- IDto getWorkloadDto(BPMTaskSummary taskSummary);
- String getWorkloadDtoFqn(BPMTaskSummary taskSummary);
- void setWorkloadDto(BPMTaskSummary taskSummary, IDto workloadDto);
+ IDto getWorkloadDto(Object taskInformationObject);
+ String getWorkloadDtoFqn(Object taskInformationObject);
+ void setWorkloadDto(Object taskInformationObject, IDto workloadDto);
String getProcessId(BPMTaskSummary taskSummary);
- Map<String,Object> getProcessVariables(BPMTaskSummary taskSummary);
- Object getProcessVariable(BPMTaskSummary taskSummary, String variable);
- Object setProcessVariable(BPMTaskSummary taskSummary, String variable, Object value);
void registerPerspectiveListener(BPMTaskClientPerspectiveListener listener);
void unregisterPerspectiveListener(BPMTaskClientPerspectiveListener listener);
}