Robert von Burg
f28e3d7683
[New] AbstractTransaction.lock(StrolchRootElement) adds the given element to the TX's object cache
...
This is necessary so that later calls to getResourceBy() etc. returns this object and not retrieves it again from the ElementMap. This can occur when using an element returned from a ElementMap.stream() call.
2022-01-19 19:39:41 +01:00
Robert von Burg
41e213e807
[Fix] AbstractTransaction.lock() trims the locator to size = 3
2022-01-19 19:38:03 +01:00
Robert von Burg
3e3da4b6a1
[New] Added StrolchTransaction.hasLock()
2022-01-19 19:37:30 +01:00
Robert von Burg
58fb8bb7fb
[New] Added StrolchAgent.getRealm(String)
2022-01-10 22:51:25 +01:00
Robert von Burg
3797a1090a
[Minor] Import: Log ignored elements if updating disabled
2021-12-31 19:01:35 +01:00
Robert von Burg
1fb581fce0
[New] XML import now supports more options:
...
- failOnUpdate
- add of elements
- update of elements
2021-12-31 15:47:14 +01:00
Robert von Burg
ecc75f0e5e
[New] Added StrolchTransaction.getAgent()
2021-12-15 16:37:24 +01:00
Robert von Burg
7df3d6fc80
[Minor] Handle registering of job, if model specific already registered
2021-11-22 10:36:03 +01:00
Robert von Burg
42bf0c64e8
[Major] Allow hiding the version from non-authenticated user
2021-11-12 17:08:42 +01:00
Robert von Burg
e999695c9e
[Major] StrolchUserMessageException replaces UserMessageException and is properly evaluated for service results
2021-11-03 13:55:50 +01:00
Robert von Burg
34e0701e53
[Minor] code cleanup
2021-09-29 18:35:53 +02:00
Robert von Burg
afda2fc6ab
[Minor] code cleanup
2021-09-29 18:35:47 +02:00
Robert von Burg
8a1e7aea4e
[Project] Allow generating PMD and SpotBugs reports
2021-09-29 10:04:05 +02:00
Robert von Burg
72610ca9a6
[Project] Auto update to new version 1.8.0-SNAPSHOT
2021-09-24 08:54:58 +02:00
Robert von Burg
f97c7df7b0
[Project] Updated snapshot version to 1.7.0-SNAPSHOT
2021-09-08 09:46:12 +02:00
Robert von Burg
937c96114f
[Fix] Fixed broken test
2021-09-06 16:21:53 +02:00
Robert von Burg
6ed22d595e
[Fix] tx methods to get elements are now thread sage
...
This is necessary when you want to start doing parallel streams. This is used by the reports, which do a lot of object searching and conversions
2021-09-05 13:05:58 +02:00
Robert von Burg
672da1b132
[Minor] Code cleanup
2021-09-05 12:47:23 +02:00
Robert von Burg
7ffaab1bb8
[Major] Removed the Query API, use Search API instead
2021-09-05 12:46:45 +02:00
Robert von Burg
1b18366090
[Fix] Properly handle UserMessageException has a warning in services
2021-08-30 21:58:24 +02:00
Robert von Burg
7005452a8c
[New] Added new UserMessageException to use in Services
2021-08-24 17:39:19 +02:00
Robert von Burg
982f3939ea
[Minor] clean up imports
2021-07-21 13:14:41 +02:00
Robert von Burg
7904bb45d7
[New] Added StrolchTransaction.getPolicy(PolicyContainer, Class<T>) to simplify getting policies
2021-07-19 12:06:55 +02:00
Robert von Burg
87804809f3
[New] Added tx.getPolicy(Class<T> clazz, ...) overrides
...
Old version are deprecated. This is to help the compiler know what we really want as result. This is a stop gap till we can make PolicyDef be typed, but this requires moving StrolchPolicy to model.
2021-07-19 11:28:24 +02:00
Robert von Burg
a213866787
[Minor] code cleanup in AbstractTransaction
2021-07-16 15:39:37 +02:00
Robert von Burg
110569b895
[Minor] Optimize bulk operations in transactions
2021-07-16 14:25:59 +02:00
Robert von Burg
bff8658c22
[New] Added bulk change commands for all objects
2021-07-16 14:25:23 +02:00
Robert von Burg
a65d22ccf1
[Fix] Added jobs as recurring in registerAndScheduleJob()
2021-06-14 16:07:49 +02:00
Robert von Burg
ddf2bdb6e8
[Minor] Added JavaDoc to StrolchJobsHandler
2021-06-14 16:07:27 +02:00
Robert von Burg
ef230cf040
[Fix] Fixed StrolchJobsHandler stop() and destroy()
2021-06-07 17:07:37 +02:00
Robert von Burg
668181e46b
[New] Added StrolchTransaction.lockAndGetConfiguration()
2021-05-25 08:12:11 +02:00
Robert von Burg
b7ce4b355c
[Minor] Added StrolchAgent.runAsWithResult()
2021-05-17 18:03:06 +02:00
Robert von Burg
efe7755f3c
[Project] change logback dependency definition
2021-04-23 14:58:56 +02:00
Robert von Burg
92143b9154
[New] ServiceResult.toJson() also checks if ex has I18n
2021-04-22 16:34:03 +02:00
Robert von Burg
4fa3f24701
[New] Added ExpressionsSupport.relationNull()
2021-03-24 23:49:10 +01:00
Robert von Burg
1ce493e9cb
[New] Added ExpressionsSupport.predicate() and .map*()
2021-03-23 20:26:01 +01:00
Robert von Burg
bd51435bd1
[New] Added dataSetSize to paging result from SearchResult
2021-03-15 11:45:18 +01:00
Robert von Burg
4fe7bc9106
[New] Added tx.get*Count()
2021-03-15 11:44:56 +01:00
Robert von Burg
7c82f21ee4
[Minor] code cleanup
2021-02-22 23:11:26 +01:00
Robert von Burg
872f3244ef
[Major] Removed ComponentContainer from Command constructor
2021-02-22 16:00:02 +01:00
Robert von Burg
76f2079d28
[New] Added ExpressionsSupport.paramNull(String)
2021-02-09 17:32:08 +01:00
Robert von Burg
207304932a
[Major] Better exception handling for AccessDeniedExceptions
2021-02-08 22:43:27 +01:00
Robert von Burg
42b54b3da3
[Major] Added ordering to OrderDao.queryAll() with asc/desc
2021-01-25 21:52:17 +01:00
Robert von Burg
dabdd18fc2
[Minor] Added StrolchJob.hasComponent()
2021-01-06 12:51:35 +01:00
Robert von Burg
16b1b727a5
[New] Added a DataArchiveHandler for archiving objects
2020-11-17 15:48:07 +01:00
Robert von Burg
11017e7b57
[New] Added SearchResult.toJsonArray()
2020-11-10 10:58:51 +01:00
Robert von Burg
ea5faf9abb
[Fix] Fixed getElementOperation() for unknown op
2020-11-06 18:05:32 +01:00
Robert von Burg
9f47a72168
[New] Added tx.findParameterOnHierarchy() override
2020-10-27 11:36:35 +01:00
Robert von Burg
33fe4ae603
[New] Added StrolchTransaction privilege methods
2020-10-26 15:21:51 +01:00
Robert von Burg
5c5487efdc
[New] Added TransactionThreadLocal
2020-10-23 14:34:48 +02:00