Commit Graph

1872 Commits

Author SHA1 Message Date
Robert von Burg f1216f8825 [Major] Now throwing exception if TX is not committed but has commands 2017-05-16 14:28:32 +02:00
Robert von Burg 428b589d47 [Minor] Compacting memory on HashMap and HashSet usage 2017-05-16 11:50:37 +02:00
Robert von Burg 885e5ebf04 [Fix] NPE in StrolchElementToSaxVisitor for Actions 2017-05-15 20:56:35 +02:00
Robert von Burg 2ed8c8dc5f [New] Implemented RemoveActivityArchival policy 2017-05-14 16:32:59 +02:00
Robert von Burg 01815ffc8e [New] Added PolicyContainer.hasPolicyDef(String) and .getPolicyDef(Str) 2017-05-14 16:12:28 +02:00
Robert von Burg 24b7f1d2bc [New] Update the order state of activity by Type and Id reference 2017-05-14 15:33:23 +02:00
Robert von Burg 76fb797102 [New] Added ConfirmationPolicy and ActivityArchivalPolicy 2017-05-14 11:42:37 +02:00
Robert von Burg 24749ae05b [New] Added ListParameter.contains(E) 2017-05-12 17:10:25 +02:00
Robert von Burg c0636deff2 [Fix] Fixed a concurrent modification in DefaultPrivilegeHandler 2017-05-12 16:09:58 +02:00
Robert von Burg 7ce6375288 [Major] Updates to Parameter interface 2017-05-10 12:23:35 +02:00
Robert von Burg 43eb6c7298 [New] Added StringParameter.isEmpty() 2017-05-10 10:40:10 +02:00
Robert von Burg 3dcd4aafaf [New] Added ActivityCreationPolicy 2017-05-09 17:34:52 +02:00
Robert von Burg ade6b5374d [Fix] EventBasedExecutionHandler now executes next action in same TX 2017-05-09 12:43:32 +02:00
Robert von Burg 881cce9c91 [New] Added State.isClosed() and State.isExecuted() 2017-05-09 12:32:15 +02:00
Robert von Burg 19420f9d80 [New] Added *.locatorFor(String, String) for root elements 2017-05-09 12:31:49 +02:00
Robert von Burg b68b74aade [Fix] Fixed InMemoryTransaction marked committed on flush 2017-05-09 12:30:53 +02:00
Robert von Burg b302c3f19e [Fix] Fixed wrong exception message when asserting *-Ref parameters 2017-05-08 19:07:51 +02:00
Robert von Burg eedc587bed [Minor] Added identity visitors to queries, eliminating NoStrategy usage 2017-05-05 09:59:17 +02:00
Robert von Burg 358f4eff63 [Minor] Small change in ParameterizedElement 2017-05-04 20:45:44 +02:00
Robert von Burg 5d907dc6db [Minor] Added exception handling in EventBasedExecutionHandler 2017-05-04 15:48:39 +02:00
Robert von Burg 4965af17b4 [Minor] Activity casts to returned object 2017-05-04 15:48:26 +02:00
Robert von Burg 49f8e2bec5 [Fix] fixing broken tests 2017-05-03 16:47:49 +02:00
Robert von Burg fdc08d873d [Fix] Fixing StartActivityExecutionServiceTest test 2017-05-03 16:36:41 +02:00
Robert von Burg f3d686c3bb [Project] disable dependency-check 2017-05-03 16:25:21 +02:00
Robert von Burg b13558eb65 [Fix] Fixing StartActivityExecutionServiceTest test 2017-05-03 16:24:04 +02:00
Robert von Burg b700bdf270 [New] Allow to hide objectType from report filter criteria 2017-05-03 16:06:56 +02:00
Robert von Burg 5f1f4af7b0 [Major] GenericReport now supports filter policies
The first two are:
- GreaterThan for FloatParameters
- Equals for strings
2017-05-03 15:32:20 +02:00
Robert von Burg 96ed97132b [New] StrolchTransaction.findElement() override for allowing null 2017-05-03 15:31:26 +02:00
Robert von Burg ca50609131 [New] Added new method .getParameterBagsByType() 2017-05-03 13:52:34 +02:00
Robert von Burg 22538dc7fa [Major] New implementation of ObserverHandler for async updates 2017-05-02 16:07:55 +02:00
Robert von Burg b2bbfad26e [Fix] Fixed NPE in DateRange.toString() 2017-05-02 11:16:59 +02:00
Robert von Burg ae0fba00ca [New] Added Selection.not() to return inversion of selection 2017-05-01 17:39:04 +02:00
Robert von Burg f331babd3d [Minor] Small fixes 2017-04-25 19:47:15 +02:00
Robert von Burg ac9d24802c [Fix] Compile error fixes =( 2017-04-25 19:32:38 +02:00
Robert von Burg 090d0d394f [Major] Don't expose API toJson() in ToFlatJsonVisitor 2017-04-25 11:38:58 +02:00
Robert von Burg 5eda6e57e7 [Minor] Added UserRep.hasRole() 2017-04-24 16:59:39 +02:00
Robert von Burg d1a392f025 [Major] Changed the behaviour of the EventBasedExecutionHandler
Now execution is always performed asynchronously for each Action and an
Activity should be added to the ExecutionHandler by calling
.addForExecution(), so that it is executed later even if an action
couldn't be executed to it being reserved (for instance).
2017-04-22 19:25:27 +02:00
Robert von Burg b06274a103 [New] Updated *ToFlatJsonVisitors to be more build-pattern-like 2017-04-19 22:01:41 +02:00
Robert von Burg a0371d7272 [Minor] Resource.getTimedState() generics fix 2017-04-19 22:01:08 +02:00
Robert von Burg ffe7c2ae0f [New] Added GenericReport.hasDateRangeSelector() 2017-04-13 14:41:07 +02:00
Robert von Burg 05c2f8f09c [New] *To*JsonVisitor now support adding version to JSON result 2017-04-13 12:10:30 +02:00
Robert von Burg ffca077419 [New] Changed Parameter.getValue() for implicit cast to type
Now you can simplify:
StringParameter valueS = resource.getParameter("bagId", "paramId");
String value = valueS.getValue();

to:
String value = resource.getParameter("bagId", "paramId").getValue();

Casting is done implicitly, thus this can lead to runtime exceptions
when the parameter is not of the relevant type, but otherwise it reduces
the code by one line.

Setting the value in this manor is not supported due to the
ListParameters requiring a type of List<T>.
2017-04-12 17:34:23 +02:00
Robert von Burg 476bd0f728 [Fix] Fixed migration scripts and added missing states in DB 2017-04-11 11:05:07 +02:00
Robert von Burg c835ef2735 [Minor] Cleaned up use of new FileInputStream 2017-04-11 11:04:46 +02:00
Robert von Burg 6afba02c59 [Major] Implemented querying Activities by state and resolves #3 2017-04-06 10:02:04 +02:00
Robert von Burg fbb2bc85db [Minor] Small logging changes 2017-04-06 08:42:05 +02:00
Robert von Burg 2a3ee2bcf0 [Minor] Updated to latest versions of external dependencies 2017-04-03 10:01:19 +02:00
Robert von Burg b325e77197 [Minor] Updated to latest versions of external dependencies 2017-04-03 09:56:42 +02:00
Robert von Burg 88f294841d [Minor] Minor change to ParameterSelection for list selections 2017-03-30 19:38:55 +02:00
Robert von Burg 7ad09e2fe5 [Fix] Hopefully last fix for Intepretation/UOM of TimedStates 2017-03-29 17:00:21 +02:00