Permalink
Browse files

- fixing compilation issues

  • Loading branch information...
krisv committed Dec 12, 2012
1 parent e73cfd0 commit f061ab2f80b3607e83ee4f4a2e857c85a0882b0c
Showing with 589 additions and 442 deletions.
  1. +3 −3 jbpm-flow-builder/src/main/java/org/jbpm/compiler/ProcessBuilderImpl.java
  2. +1 −3 jbpm-flow/src/main/java/org/jbpm/process/core/Process.java
  3. +6 −6 jbpm-flow/src/main/java/org/jbpm/process/instance/ProcessRuntimeImpl.java
  4. +5 −5 .../jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AbstractHTWorkItemHandler.java
  5. +6 −6 ...sk/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AsyncWSHumanTaskHandler.java
  6. +5 −5 ...task-core/src/main/java/org/jbpm/process/workitem/wsht/GenericCommandBasedWSHumanTaskHandler.java
  7. +11 −11 ...k/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/GenericHTWorkItemHandler.java
  8. +2 −2 ...ask/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/HumanTaskHandlerHelper.java
  9. +1 −1 ...ask/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/LocalHTWorkItemHandler.java
  10. +1 −1 ...ask/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/PeopleAssignmentHelper.java
  11. +5 −5 ...ask/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/SyncWSHumanTaskHandler.java
  12. +1 −5 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/AsyncTaskService.java
  13. +1 −3 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/Deadline.java
  14. +11 −1 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/Task.java
  15. +13 −8 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/TaskData.java
  16. +2 −1 ...-task/jbpm-human-task-core/src/main/java/org/jbpm/task/admin/TaskCleanUpProcessEventListener.java
  17. +1 −0 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/admin/TasksAdmin.java
  18. +1 −3 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/admin/TasksAdminImpl.java
  19. +0 −4 ...-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/event/InternalTaskEventListener.java
  20. +0 −1 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/event/TaskEventSupport.java
  21. +1 −5 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/event/TaskEventsAdminImpl.java
  22. +0 −1 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/BaseClientHandler.java
  23. +4 −4 ...ask/jbpm-human-task-core/src/main/java/org/jbpm/task/service/DefaultEscalatedDeadlineHandler.java
  24. +2 −2 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/SendIcal.java
  25. +1 −5 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/SyncTaskServiceWrapper.java
  26. +1 −1 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/TaskClient.java
  27. +2 −2 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/TaskClientHandler.java
  28. +7 −2 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/TaskServerHandler.java
  29. +27 −3 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/TaskService.java
  30. +2 −1 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/TaskServiceSession.java
  31. +2 −2 ...an-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/local/LocalHumanTaskService.java
  32. +1 −3 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/service/local/LocalTaskService.java
  33. +0 −1 .../jbpm-human-task-core/src/main/java/org/jbpm/task/service/persistence/TaskPersistenceManager.java
  34. +0 −2 ...human-task-core/src/main/java/org/jbpm/task/service/persistence/TaskSpringTransactionManager.java
  35. +12 −7 jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/utils/ContentMarshallerHelper.java
  36. +2 −2 ...-task/jbpm-human-task-core/src/test/java/org/jbpm/process/workitem/wsht/MultipleHandlersTest.java
  37. +6 −6 ...jbpm-human-task-core/src/test/java/org/jbpm/process/workitem/wsht/WSHumanTaskHandlerBaseTest.java
  38. +2 −3 ...ore/src/test/java/org/jbpm/process/workitem/wsht/WSHumanTaskHandlerBaseUserGroupCallbackTest.java
  39. +2 −2 ...task-core/src/test/java/org/jbpm/process/workitem/wsht/async/WSHumanTaskHandlerBaseAsyncTest.java
  40. +2 −3 ...n-task-core/src/test/java/org/jbpm/process/workitem/wsht/sync/WSHumanTaskHandlerBaseSyncTest.java
  41. +0 −1 ...rc/test/java/org/jbpm/process/workitem/wsht/test/WSHumanTaskHandlerTestUserGroupCallbackTest.java
  42. +13 −4 jbpm-human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/BaseTest.java
  43. +0 −6 jbpm-human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/BaseTestNoUserGroupSetup.java
  44. +0 −1 jbpm-human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/EntityManagerFactoryAndTracker.java
  45. +0 −2 jbpm-human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/MockUserInfo.java
  46. +4 −1 jbpm-human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/ModelPersistenceTest.java
  47. +3 −3 jbpm-human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/TestStatefulKnowledgeSession.java
  48. +24 −9 jbpm-human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/admin/TasksAdminTest.java
  49. +0 −4 jbpm-human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/event/EventPersistenceTest.java
  50. +2 −1 jbpm-human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/event/TaskEventTest.java
  51. +1 −1 ...n-task/jbpm-human-task-core/src/test/java/org/jbpm/task/service/base/async/IcalBaseAsyncTest.java
  52. +3 −4 ...jbpm-human-task-core/src/test/java/org/jbpm/task/service/base/async/TaskServiceBaseAsyncTest.java
  53. +7 −3 ...ore/src/test/java/org/jbpm/task/service/base/async/TaskServiceBaseUserGroupCallbackAsyncTest.java
  54. +19 −4 ...rc/test/java/org/jbpm/task/service/base/async/TaskServiceCommentsAndAttachmentsBaseAsyncTest.java
  55. +8 −1 ...jbpm/task/service/base/async/TaskServiceCommentsAndAttachmentsBaseUserGroupCallbackAsyncTest.java
  56. +1 −1 ...n-task-core/src/test/java/org/jbpm/task/service/base/async/TaskServiceDeadlinesBaseAsyncTest.java
  57. +10 −4 ...est/java/org/jbpm/task/service/base/async/TaskServiceDeadlinesBaseUserGroupCallbackAsyncTest.java
  58. +11 −4 ...-task-core/src/test/java/org/jbpm/task/service/base/async/TaskServiceEscalationBaseAsyncTest.java
  59. +7 −3 ...st/java/org/jbpm/task/service/base/async/TaskServiceEscalationBaseUserGroupCallbackAsyncTest.java
  60. +7 −1 ...k-core/src/test/java/org/jbpm/task/service/base/async/TaskServiceEventMessagingBaseAsyncTest.java
  61. +7 −2 ...ava/org/jbpm/task/service/base/async/TaskServiceEventMessagingBaseUserGroupCallbackAsyncTest.java
  62. +23 −5 ...n-task-core/src/test/java/org/jbpm/task/service/base/async/TaskServiceLifeCycleBaseAsyncTest.java
  63. +8 −1 ...est/java/org/jbpm/task/service/base/async/TaskServiceLifeCycleBaseUserGroupCallbackAsyncTest.java
  64. +6 −2 ...ava/org/jbpm/task/service/base/async/TaskServiceTaskAttributesBaseUserGroupCallbackAsyncTest.java
  65. +17 −4 ...man-task/jbpm-human-task-core/src/test/java/org/jbpm/task/service/base/sync/IcalBaseSyncTest.java
  66. +2 −2 ...jbpm-human-task-core/src/test/java/org/jbpm/task/service/base/sync/TaskLifeCycleBaseSyncTest.java
  67. +13 −3 .../src/test/java/org/jbpm/task/service/base/sync/TaskServiceCommentsAndAttachmentsBaseSyncTest.java
  68. +19 −5 ...man-task-core/src/test/java/org/jbpm/task/service/base/sync/TaskServiceDeadlinesBaseSyncTest.java
  69. +2 −4 ...an-task-core/src/test/java/org/jbpm/task/service/base/sync/TaskServiceEscalationBaseSyncTest.java
  70. +19 −3 ...ask-core/src/test/java/org/jbpm/task/service/base/sync/TaskServiceEventMessagingBaseSyncTest.java
  71. +0 −1 ...man-task-core/src/test/java/org/jbpm/task/service/base/sync/TaskServiceLifeCycleBaseSyncTest.java
  72. +2 −2 ...n-task/jbpm-human-task-core/src/test/java/org/jbpm/task/service/local/sync/IcalLocalSyncTest.java
  73. +3 −2 ...uman-task/jbpm-human-task-core/src/test/java/org/jbpm/task/service/persistence/DataModelTest.java
  74. +1 −1 jbpm-human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/service/persistence/QueryTest.java
  75. +2 −3 ...uman-task-core/src/test/java/org/jbpm/task/service/persistence/TaskServiceEscalationBaseTest.java
  76. +5 −6 ...test/java/org/jbpm/task/service/persistence/variable/VariablePersistenceStrategiesSyncHTTest.java
  77. +2 −1 .../test/java/org/jbpm/task/service/test/TaskServiceCommentsAndAttachmentsUserGroupCallbackTest.java
  78. +2 −1 ...task-core/src/test/java/org/jbpm/task/service/test/TaskServiceDeadlinesUserGroupCallbackTest.java
  79. +2 −1 ...task/jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/TaskServiceEscalationTest.java
  80. +2 −1 ...ask-core/src/test/java/org/jbpm/task/service/test/TaskServiceEscalationUserGroupCallbackTest.java
  81. +2 −1 ...task-core/src/test/java/org/jbpm/task/service/test/TaskServiceLifeCycleUserGroupCallbackTest.java
  82. +2 −1 ...core/src/test/java/org/jbpm/task/service/test/TaskServiceTaskAttributesUserGroupCallbackTest.java
  83. +2 −1 ...pm-human-task-core/src/test/java/org/jbpm/task/service/test/TaskServiceUserGroupCallbackTest.java
  84. +3 −2 .../jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/async/ClaimTaskTwiceAsyncTest.java
  85. +4 −3 ...human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/async/IcalAsyncTest.java
  86. +2 −1 ...k/jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/async/TaskLifeCycleAsyncTest.java
  87. +2 −1 ...ask/jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/async/TaskServiceAsyncTest.java
  88. +2 −1 ...re/src/test/java/org/jbpm/task/service/test/async/TaskServiceCommentsAndAttachmentsAsyncTest.java
  89. +2 −1 ...human-task-core/src/test/java/org/jbpm/task/service/test/async/TaskServiceDeadlinesAsyncTest.java
  90. +2 −1 ...uman-task-core/src/test/java/org/jbpm/task/service/test/async/TaskServiceEscalationAsyncTest.java
  91. +2 −1 ...-task-core/src/test/java/org/jbpm/task/service/test/async/TaskServiceEventMessagingAsyncTest.java
  92. +2 −1 ...human-task-core/src/test/java/org/jbpm/task/service/test/async/TaskServiceLifeCycleAsyncTest.java
  93. +2 −1 ...-task-core/src/test/java/org/jbpm/task/service/test/async/TaskServiceTaskAttributesAsyncTest.java
  94. +1 −1 ...bpm-human-task-core/src/test/java/org/jbpm/task/service/test/impl/AsyncTestHTWorkItemHandler.java
  95. +2 −1 ...n-task/jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/impl/BaseTestTaskServer.java
  96. +1 −1 ...ask/jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/impl/TestHTWorkItemHandler.java
  97. +1 −1 ...human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/impl/TestServerUtil.java
  98. +2 −1 ...an-task/jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/impl/TestSessionWriter.java
  99. +3 −1 ...k/jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/impl/TestTaskClientConnector.java
  100. +1 −1 ...ask/jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/impl/TestTaskClientHandler.java
  101. +1 −1 ...human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/impl/TestTaskServer.java
  102. +1 −1 ...ask/jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/impl/TestTaskServerHandler.java
  103. +2 −3 ...n-task-core/src/test/java/org/jbpm/task/service/test/sync/EventPersistenceServerSideTestTest.java
  104. +4 −3 jbpm-human-task/jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/sync/IcalSyncTest.java
  105. +2 −1 ...ask/jbpm-human-task-core/src/test/java/org/jbpm/task/service/test/sync/TaskLifeCycleSyncTest.java
  106. +2 −1 ...core/src/test/java/org/jbpm/task/service/test/sync/TaskServiceCommentsAndAttachmentsSyncTest.java
  107. +2 −1 ...m-human-task-core/src/test/java/org/jbpm/task/service/test/sync/TaskServiceDeadlinesSyncTest.java
  108. +2 −1 ...-human-task-core/src/test/java/org/jbpm/task/service/test/sync/TaskServiceEscalationSyncTest.java
  109. +2 −1 ...m-human-task-core/src/test/java/org/jbpm/task/service/test/sync/TaskServiceLifeCycleSyncTest.java
  110. +2 −1 ...an-task-core/src/test/java/org/jbpm/task/service/test/sync/TaskServiceTaskAttributesSyncTest.java
  111. +2 −2 ...uman-task-hornetq/src/main/java/org/jbpm/process/workitem/wsht/AsyncHornetQHTWorkItemHandler.java
  112. +2 −2 ...bpm-human-task-hornetq/src/main/java/org/jbpm/process/workitem/wsht/HornetQHTWorkItemHandler.java
  113. +1 −2 ...k/jbpm-human-task-hornetq/src/main/java/org/jbpm/task/service/hornetq/AsyncHornetQTaskClient.java
  114. +6 −6 ...sk-hornetq/src/main/java/org/jbpm/task/service/hornetq/CommandBasedHornetQWSHumanTaskHandler.java
  115. +1 −1 ...jbpm-human-task-hornetq/src/main/java/org/jbpm/task/service/hornetq/HornetQTaskClientHandler.java
  116. +1 −1 ...n-task/jbpm-human-task-hornetq/src/main/java/org/jbpm/task/service/hornetq/HornetQTaskServer.java
  117. +1 −1 ...jbpm-human-task-hornetq/src/main/java/org/jbpm/task/service/hornetq/HornetQTaskServerHandler.java
  118. +2 −2 ...ask-hornetq/src/test/java/org/jbpm/process/workitem/wsht/hornetq/HornetQMultipleHandlersTest.java
  119. +1 −1 ...ask-hornetq/src/test/java/org/jbpm/task/service/hornetq/async/ClaimTaskTwiceHornetQAsyncTest.java
  120. +2 −2 ...pm-human-task-hornetq/src/test/java/org/jbpm/task/service/hornetq/async/IcalHornetQAsyncTest.java
  121. +1 −2 ...va/org/jbpm/task/service/hornetq/async/TaskServiceDeadlinesHornetQUserGroupCallbackAsyncTest.java
  122. +2 −4 ...est/java/org/jbpm/task/service/hornetq/persistence/EventPersistenceServerSideHornetQSyncTest.java
  123. +2 −4 ...jbpm-human-task-hornetq/src/test/java/org/jbpm/task/service/hornetq/sync/IcalHornetQSyncTest.java
  124. +1 −0 ...hornetq/src/test/java/org/jbpm/task/service/hornetq/sync/TaskServiceLifeCycleHornetQSyncTest.java
  125. +2 −2 ...sk-jms/src/main/java/org/jbpm/process/workitem/wsht/CommandBasedWSThroughJMSHumanTaskHandler.java
  126. +1 −1 ...bpm-human-task-jms/src/main/java/org/jbpm/process/workitem/wsht/WSThroughJMSHumanTaskHandler.java
  127. +1 −1 ...uman-task/jbpm-human-task-jms/src/main/java/org/jbpm/task/service/jms/JMSTaskClientConnector.java
  128. +1 −1 ...-human-task/jbpm-human-task-jms/src/main/java/org/jbpm/task/service/jms/JMSTaskClientHandler.java
  129. +1 −1 jbpm-human-task/jbpm-human-task-jms/src/main/java/org/jbpm/task/service/jms/JMSTaskServer.java
  130. +1 −1 ...-human-task/jbpm-human-task-jms/src/main/java/org/jbpm/task/service/jms/JMSTaskServerHandler.java
  131. +1 −1 jbpm-human-task/jbpm-human-task-jms/src/test/java/org/jbpm/task/service/jms/JMSTaskServerTest.java
  132. +3 −5 ...uman-task/jbpm-human-task-jms/src/test/java/org/jbpm/task/service/jms/async/IcalJMSAsyncTest.java
  133. +1 −1 ...ask/jbpm-human-task-jms/src/test/java/org/jbpm/task/service/jms/async/JMSTaskServerAsyncTest.java
  134. +1 −1 .../jbpm-human-task-jms/src/test/java/org/jbpm/task/service/jms/async/TaskLifeCycleJMSAsyncTest.java
  135. +1 −2 ...jms/src/test/java/org/jbpm/task/service/jms/async/TaskLifeCycleJMSUserGroupCallbackAsyncTest.java
  136. +1 −1 .../src/test/java/org/jbpm/task/service/jms/async/TaskServiceCommentsAndAttachmentsJMSAsyncTest.java
  137. +1 −2 ...g/jbpm/task/service/jms/async/TaskServiceCommentsAndAttachmentsJMSUserGroupCallbackAsyncTest.java
  138. +1 −1 ...uman-task-jms/src/test/java/org/jbpm/task/service/jms/async/TaskServiceDeadlinesJMSAsyncTest.java
  139. +1 −1 .../test/java/org/jbpm/task/service/jms/async/TaskServiceDeadlinesJMSUserGroupCallbackAsyncTest.java
  140. +1 −1 ...man-task-jms/src/test/java/org/jbpm/task/service/jms/async/TaskServiceEscalationJMSAsyncTest.java
  141. +1 −1 ...test/java/org/jbpm/task/service/jms/async/TaskServiceEscalationJMSUserGroupCallbackAsyncTest.java
  142. +1 −1 ...task-jms/src/test/java/org/jbpm/task/service/jms/async/TaskServiceEventMessagingJMSAsyncTest.java
  143. +1 −1 .../java/org/jbpm/task/service/jms/async/TaskServiceEventMessagingJMSUserGroupCallbackAsyncTest.java
  144. +1 −1 ...sk/jbpm-human-task-jms/src/test/java/org/jbpm/task/service/jms/async/TaskServiceJMSAsyncTest.java
  145. +1 −1 ...k-jms/src/test/java/org/jbpm/task/service/jms/async/TaskServiceJMSUserGroupCallbackAsyncTest.java
  146. +1 −1 ...uman-task-jms/src/test/java/org/jbpm/task/service/jms/async/TaskServiceLifeCycleJMSAsyncTest.java
  147. +1 −1 .../test/java/org/jbpm/task/service/jms/async/TaskServiceLifeCycleJMSUserGroupCallbackAsyncTest.java
  148. +3 −5 ...-human-task/jbpm-human-task-jms/src/test/java/org/jbpm/task/service/jms/sync/IcalJMSSyncTest.java
  149. +2 −2 ...-task/jbpm-human-task-jms/src/test/java/org/jbpm/task/service/jms/sync/JMSTaskServerSyncTest.java
  150. +1 −1 ...s/src/test/java/org/jbpm/task/service/jms/sync/TaskServiceCommentsAndAttachmentsJMSAsyncTest.java
  151. +1 −1 ...-human-task-jms/src/test/java/org/jbpm/task/service/jms/sync/TaskServiceDeadlinesJMSSyncTest.java
  152. +1 −1 ...human-task-jms/src/test/java/org/jbpm/task/service/jms/sync/TaskServiceEscalationJMSSyncTest.java
  153. +1 −1 ...task/jbpm-human-task-jms/src/test/java/org/jbpm/task/service/jms/sync/TaskServiceJMSSyncTest.java
  154. +1 −1 ...-human-task-jms/src/test/java/org/jbpm/task/service/jms/sync/TaskServiceLifeCycleJMSSyncTest.java
  155. +3 −3 ...jbpm-human-task-mina/src/main/java/org/jbpm/process/workitem/wsht/AsyncMinaHTWorkItemHandler.java
  156. +6 −6 ...-human-task-mina/src/main/java/org/jbpm/process/workitem/wsht/CommandBasedWSHumanTaskHandler.java
  157. +2 −2 ...task/jbpm-human-task-mina/src/main/java/org/jbpm/process/workitem/wsht/MinaHTWorkItemHandler.java
  158. +6 −6 ...an-task/jbpm-human-task-mina/src/main/java/org/jbpm/process/workitem/wsht/WSHumanTaskHandler.java
  159. +1 −1 ...human-task/jbpm-human-task-mina/src/main/java/org/jbpm/task/service/mina/AsyncMinaTaskClient.java
  160. +1 −1 jbpm-human-task/jbpm-human-task-mina/src/main/java/org/jbpm/task/service/mina/BaseMinaHandler.java
  161. +0 −1 ...n-task/jbpm-human-task-mina/src/main/java/org/jbpm/task/service/mina/MinaTaskClientConnector.java
  162. +1 −1 ...man-task/jbpm-human-task-mina/src/main/java/org/jbpm/task/service/mina/MinaTaskClientHandler.java
  163. +1 −1 jbpm-human-task/jbpm-human-task-mina/src/main/java/org/jbpm/task/service/mina/MinaTaskServer.java
  164. +1 −1 ...man-task/jbpm-human-task-mina/src/main/java/org/jbpm/task/service/mina/MinaTaskServerHandler.java
  165. +2 −2 ...m-human-task-mina/src/test/java/org/jbpm/process/workitem/wsht/mina/MinaMultipleHandlersTest.java
  166. +1 −5 jbpm-human-task/jbpm-human-task-mina/src/test/java/org/jbpm/task/RunTaskService.java
  167. +21 −2 jbpm-human-task/jbpm-human-task-mina/src/test/java/org/jbpm/task/service/DemoTaskService.java
  168. +0 −1 jbpm-human-task/jbpm-human-task-mina/src/test/java/org/jbpm/task/service/MinaTaskServerTest.java
  169. +2 −6 ...n-task/jbpm-human-task-mina/src/test/java/org/jbpm/task/service/mina/async/IcalMinaAsyncTest.java
  170. +0 −4 ...pm-human-task-mina/src/test/java/org/jbpm/task/service/mina/async/TaskLifeCycleMinaAsyncTest.java
  171. +0 −4 ...rc/test/java/org/jbpm/task/service/mina/async/TaskServiceCommentsAndAttachmentsMinaAsyncTest.java
  172. +0 −1 ...jbpm/task/service/mina/async/TaskServiceCommentsAndAttachmentsMinaUserGroupCallbackAsyncTest.java
  173. +0 −4 ...n-task-mina/src/test/java/org/jbpm/task/service/mina/async/TaskServiceDeadlinesMinaAsyncTest.java
  174. +0 −1 ...est/java/org/jbpm/task/service/mina/async/TaskServiceDeadlinesMinaUserGroupCallbackAsyncTest.java
  175. +0 −4 ...-task-mina/src/test/java/org/jbpm/task/service/mina/async/TaskServiceEscalationMinaAsyncTest.java
  176. +0 −1 ...st/java/org/jbpm/task/service/mina/async/TaskServiceEscalationMinaUserGroupCallbackAsyncTest.java
  177. +0 −4 ...jbpm-human-task-mina/src/test/java/org/jbpm/task/service/mina/async/TaskServiceMinaAsyncTest.java
  178. +0 −4 ...k-mina/src/test/java/org/jbpm/task/service/mina/async/TaskServiceTaskAttributesMinaAsyncTest.java
  179. +2 −6 ...man-task/jbpm-human-task-mina/src/test/java/org/jbpm/task/service/mina/sync/IcalMinaSyncTest.java
  180. +0 −4 ...man-task-mina/src/test/java/org/jbpm/task/service/mina/sync/TaskServiceDeadlinesMinaSyncTest.java
  181. +0 −4 ...an-task-mina/src/test/java/org/jbpm/task/service/mina/sync/TaskServiceEscalationMinaSyncTest.java
  182. +0 −4 ...k/jbpm-human-task-mina/src/test/java/org/jbpm/task/service/mina/sync/TaskServiceMinaSyncTest.java
  183. +2 −1 ...-mina/src/test/java/org/jbpm/task/service/persistence/EventPersistenceServerSideMinaSyncTest.java
  184. +5 −7 ...est/java/org/jbpm/task/service/persistence/variable/VariablePersistenceStrategiesASyncHTTest.java
  185. +2 −2 jbpm-workitems/src/test/java/org/jbpm/process/workitem/email/EmailWorkItemHandlerTest.java
@@ -112,9 +112,9 @@ public void configurePackageBuilder(PackageBuilder packageBuilder) {
}
public void buildProcess(final Process process, Resource resource) {
- if ( resource != null && ((InternalResource)resource).hasURL() ) {
- ((org.jbpm.process.core.Process) process).setResource( resource );
- }
+// if ( resource != null && ((InternalResource)resource).hasURL() ) {
+// ((org.jbpm.process.core.Process) process).setResource( resource );
+// }
boolean hasErrors = false;
ProcessValidator validator = processValidators.get(((Process)process).getType());
if (validator == null) {
@@ -19,9 +19,7 @@
import java.util.List;
import java.util.Map;
-import org.kie.io.ResourcedObject;
-
-public interface Process extends org.kie.definition.process.Process, ContextContainer, ResourcedObject {
+public interface Process extends org.kie.definition.process.Process, ContextContainer {
/**
* Sets the id of this process.
@@ -1,5 +1,10 @@
package org.jbpm.process.instance;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
import org.drools.RuleBase;
import org.drools.SessionConfiguration;
import org.drools.common.AbstractWorkingMemory;
@@ -29,16 +34,11 @@
import org.kie.event.rule.DefaultAgendaEventListener;
import org.kie.event.rule.MatchCreatedEvent;
import org.kie.event.rule.RuleFlowGroupDeactivatedEvent;
+import org.kie.internal.utils.CompositeClassLoader;
import org.kie.runtime.StatefulKnowledgeSession;
import org.kie.runtime.process.EventListener;
import org.kie.runtime.process.ProcessInstance;
import org.kie.runtime.process.WorkItemManager;
-import org.kie.util.CompositeClassLoader;
-
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
public class ProcessRuntimeImpl implements InternalProcessRuntime {
@@ -20,11 +20,6 @@
import java.util.List;
import java.util.Map;
-import org.kie.runtime.KnowledgeRuntime;
-import org.kie.runtime.StatefulKnowledgeSession;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
import org.jbpm.eventmessaging.EventResponseHandler;
import org.jbpm.task.I18NText;
import org.jbpm.task.OrganizationalEntity;
@@ -37,6 +32,11 @@
import org.jbpm.task.service.ContentData;
import org.jbpm.task.utils.ContentMarshallerHelper;
import org.jbpm.task.utils.OnErrorAction;
+import org.kie.runtime.KnowledgeRuntime;
+import org.kie.runtime.StatefulKnowledgeSession;
+import org.kie.runtime.process.WorkItem;
+import org.kie.runtime.process.WorkItemHandler;
+import org.kie.runtime.process.WorkItemManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -21,12 +21,6 @@
import java.util.List;
import java.util.Map;
-import org.kie.runtime.Environment;
-import org.kie.runtime.KnowledgeRuntime;
-import org.kie.runtime.StatefulKnowledgeSession;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
import org.jbpm.eventmessaging.EventResponseHandler;
import org.jbpm.eventmessaging.Payload;
import org.jbpm.task.AsyncTaskService;
@@ -51,6 +45,12 @@
import org.jbpm.task.service.responsehandlers.AbstractBaseResponseHandler;
import org.jbpm.task.utils.ContentMarshallerHelper;
import org.jbpm.task.utils.OnErrorAction;
+import org.kie.runtime.Environment;
+import org.kie.runtime.KnowledgeRuntime;
+import org.kie.runtime.StatefulKnowledgeSession;
+import org.kie.runtime.process.WorkItem;
+import org.kie.runtime.process.WorkItemHandler;
+import org.kie.runtime.process.WorkItemManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -26,11 +26,6 @@
import java.util.List;
import java.util.Map;
-import org.kie.runtime.KnowledgeRuntime;
-import org.kie.runtime.StatefulKnowledgeSession;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
import org.jbpm.eventmessaging.EventResponseHandler;
import org.jbpm.eventmessaging.Payload;
import org.jbpm.task.AccessType;
@@ -55,6 +50,11 @@
import org.jbpm.task.service.TaskClientHandler.GetTaskResponseHandler;
import org.jbpm.task.service.responsehandlers.AbstractBaseResponseHandler;
import org.jbpm.task.utils.OnErrorAction;
+import org.kie.runtime.KnowledgeRuntime;
+import org.kie.runtime.StatefulKnowledgeSession;
+import org.kie.runtime.process.WorkItem;
+import org.kie.runtime.process.WorkItemHandler;
+import org.kie.runtime.process.WorkItemManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -19,28 +19,28 @@
import java.util.HashMap;
import java.util.Map;
-import org.jbpm.task.TaskService;
-import org.jbpm.task.utils.OnErrorAction;
-import org.kie.runtime.KnowledgeRuntime;
-import org.kie.runtime.StatefulKnowledgeSession;
-import org.jbpm.task.Task;
-import org.jbpm.task.event.TaskEventKey;
-import org.jbpm.task.service.ContentData;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemManager;
import org.jbpm.eventmessaging.EventResponseHandler;
import org.jbpm.eventmessaging.Payload;
import org.jbpm.task.Content;
import org.jbpm.task.Status;
+import org.jbpm.task.Task;
+import org.jbpm.task.TaskService;
+import org.jbpm.task.event.TaskEventKey;
import org.jbpm.task.event.entity.TaskCompletedEvent;
import org.jbpm.task.event.entity.TaskEvent;
import org.jbpm.task.event.entity.TaskFailedEvent;
import org.jbpm.task.event.entity.TaskSkippedEvent;
+import org.jbpm.task.service.ContentData;
import org.jbpm.task.service.PermissionDeniedException;
import org.jbpm.task.service.responsehandlers.AbstractBaseResponseHandler;
import org.jbpm.task.utils.ContentMarshallerHelper;
+import org.jbpm.task.utils.OnErrorAction;
+import org.kie.runtime.KnowledgeRuntime;
+import org.kie.runtime.StatefulKnowledgeSession;
+import org.kie.runtime.process.WorkItem;
+import org.kie.runtime.process.WorkItemManager;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
public class GenericHTWorkItemHandler extends AbstractHTWorkItemHandler {
@@ -6,8 +6,6 @@
import java.util.List;
import java.util.Map;
-import org.kie.runtime.Environment;
-import org.kie.runtime.process.WorkItem;
import org.drools.time.TimeUtils;
import org.jbpm.process.core.timer.BusinessCalendar;
import org.jbpm.task.Deadline;
@@ -22,6 +20,8 @@
import org.jbpm.task.OrganizationalEntity;
import org.jbpm.task.Reassignment;
import org.jbpm.task.User;
+import org.kie.runtime.Environment;
+import org.kie.runtime.process.WorkItem;
public class HumanTaskHandlerHelper {
@@ -15,9 +15,9 @@
*/
package org.jbpm.process.workitem.wsht;
-import org.kie.runtime.KnowledgeRuntime;
import org.jbpm.task.TaskService;
import org.jbpm.task.utils.OnErrorAction;
+import org.kie.runtime.KnowledgeRuntime;
public class LocalHTWorkItemHandler extends GenericHTWorkItemHandler{
@@ -18,13 +18,13 @@
import java.util.ArrayList;
import java.util.List;
-import org.kie.runtime.process.WorkItem;
import org.jbpm.task.Group;
import org.jbpm.task.OrganizationalEntity;
import org.jbpm.task.PeopleAssignments;
import org.jbpm.task.Task;
import org.jbpm.task.TaskData;
import org.jbpm.task.User;
+import org.kie.runtime.process.WorkItem;
/**
* A class responsible for assigning the various ownerships (actors, groups, business
@@ -21,11 +21,6 @@
import java.util.List;
import java.util.Map;
-import org.kie.runtime.KnowledgeRuntime;
-import org.kie.runtime.StatefulKnowledgeSession;
-import org.kie.runtime.process.WorkItem;
-import org.kie.runtime.process.WorkItemHandler;
-import org.kie.runtime.process.WorkItemManager;
import org.jbpm.eventmessaging.EventResponseHandler;
import org.jbpm.eventmessaging.Payload;
import org.jbpm.task.Content;
@@ -48,6 +43,11 @@
import org.jbpm.task.service.responsehandlers.AbstractBaseResponseHandler;
import org.jbpm.task.utils.ContentMarshallerHelper;
import org.jbpm.task.utils.OnErrorAction;
+import org.kie.runtime.KnowledgeRuntime;
+import org.kie.runtime.StatefulKnowledgeSession;
+import org.kie.runtime.process.WorkItem;
+import org.kie.runtime.process.WorkItemHandler;
+import org.kie.runtime.process.WorkItemManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -16,13 +16,9 @@
package org.jbpm.task;
import java.util.List;
+
import org.jbpm.eventmessaging.EventKey;
import org.jbpm.eventmessaging.EventResponseHandler;
-import org.jbpm.task.Attachment;
-import org.jbpm.task.Comment;
-import org.jbpm.task.Content;
-import org.jbpm.task.OrganizationalEntity;
-import org.jbpm.task.Task;
import org.jbpm.task.service.ContentData;
import org.jbpm.task.service.FaultData;
import org.jbpm.task.service.TaskClientHandler.AddAttachmentResponseHandler;
@@ -23,7 +23,6 @@
import java.util.Date;
import java.util.List;
-import javax.persistence.*;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Column;
@@ -33,8 +32,7 @@
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
-import javax.persistence.Temporal;
-import javax.persistence.TemporalType;
+import javax.persistence.SequenceGenerator;
import org.jbpm.task.utils.CollectionUtils;
@@ -24,7 +24,17 @@
import java.util.Collections;
import java.util.List;
-import javax.persistence.*;
+import javax.persistence.Basic;
+import javax.persistence.CascadeType;
+import javax.persistence.Column;
+import javax.persistence.Embedded;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.OneToMany;
+import javax.persistence.Version;
import org.jbpm.task.utils.CollectionUtils;
@@ -16,14 +16,6 @@
package org.jbpm.task;
-import org.jbpm.task.service.ContentData;
-import org.jbpm.task.service.FaultData;
-import org.jbpm.task.service.IllegalTaskStateException;
-import org.jbpm.task.utils.CollectionUtils;
-
-import javax.persistence.*;
-
-import java.io.EOFException;
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
@@ -33,6 +25,19 @@
import java.util.Date;
import java.util.List;
+import javax.persistence.CascadeType;
+import javax.persistence.Embeddable;
+import javax.persistence.EnumType;
+import javax.persistence.Enumerated;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.OneToMany;
+
+import org.jbpm.task.service.ContentData;
+import org.jbpm.task.service.FaultData;
+import org.jbpm.task.service.IllegalTaskStateException;
+import org.jbpm.task.utils.CollectionUtils;
+
@Embeddable
public class TaskData
implements
@@ -16,9 +16,10 @@
package org.jbpm.task.admin;
import java.util.List;
+
import org.drools.event.DefaultProcessEventListener;
-import org.kie.event.process.ProcessCompletedEvent;
import org.jbpm.task.query.TaskSummary;
+import org.kie.event.process.ProcessCompletedEvent;
/**
*
@@ -17,6 +17,7 @@
import java.util.Date;
import java.util.List;
+
import org.jbpm.task.query.TaskSummary;
@@ -15,16 +15,14 @@
*/
package org.jbpm.task.admin;
-import static org.jbpm.task.service.persistence.TaskPersistenceManager.*;
+import static org.jbpm.task.service.persistence.TaskPersistenceManager.addParametersToMap;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
-import javax.persistence.EntityManagerFactory;
import org.jbpm.task.Content;
-
import org.jbpm.task.Status;
import org.jbpm.task.Task;
import org.jbpm.task.query.TaskSummary;
@@ -18,10 +18,6 @@
import org.jbpm.task.Status;
-import org.jbpm.task.event.entity.TaskClaimedEvent;
-import org.jbpm.task.event.entity.TaskCompletedEvent;
-import org.jbpm.task.event.entity.TaskFailedEvent;
-import org.jbpm.task.event.entity.TaskSkippedEvent;
import org.jbpm.task.event.entity.TaskUserEvent;
import org.jbpm.task.service.TaskServiceSession;
@@ -19,7 +19,6 @@
import java.util.Iterator;
import org.drools.event.AbstractEventSupport;
-import org.jbpm.task.event.entity.TaskEvent;
import org.jbpm.task.event.entity.TaskEventFactory;
import org.jbpm.task.event.entity.TaskUserEvent;
@@ -15,18 +15,14 @@
*/
package org.jbpm.task.event;
-import static org.jbpm.task.service.persistence.TaskPersistenceManager.*;
+import static org.jbpm.task.service.persistence.TaskPersistenceManager.addParametersToMap;
-import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import javax.persistence.Query;
-
import org.jbpm.task.event.entity.TaskEvent;
import org.jbpm.task.event.entity.TaskEventType;
-import org.jbpm.task.service.IncorrectParametersException;
import org.jbpm.task.service.persistence.TaskPersistenceManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Oops, something went wrong.

0 comments on commit f061ab2

Please sign in to comment.