Robert von Burg
8140192441
[New] Moved *Visitor transformations in query into query method
...
This is better than keeping the Visitor in the instance of the query,
where it might be to early to instantiate it.
2014-08-06 18:42:54 +02:00
Robert von Burg
cd15808bde
[New] Moved *Visitor transformations in query into query method
...
This is better than keeping the Visitor in the instance of the query,
where it might be to early to instantiate it.
2014-08-06 18:42:50 +02:00
Robert von Burg
41f0e72cc5
[New] Moved *Visitor transformations in query into query method
...
This is better than keeping the Visitor in the instance of the query,
where it might be to early to instantiate it.
2014-08-06 18:42:44 +02:00
Robert von Burg
546524b113
[New] Moved *Visitor transformations in query into query method
...
This is better than keeping the Visitor in the instance of the query,
where it might be to early to instantiate it.
2014-08-06 18:42:38 +02:00
Robert von Burg
e1dbb00ab7
[Major] renamed methods
2014-08-06 16:35:41 +02:00
Robert von Burg
c49bd5f87f
[Major] renamed methods
2014-08-06 16:35:33 +02:00
Robert von Burg
1f986797d4
[New] OrderQuery and ResourceQuery now require a visitor
...
This visitor is used to transform the query result. In cases where
transformation is not required, use the NoStrategyOrderVisitor or
NoStrategyResourceVisitor.
For convenience new static helper methods were:
ResourceQuery.resourceQuery(Navigation)
ResourceQuery.resourceQuery(String)
ResourceQuery.resourceQuery(String, ResourceVisitor)
OrderQuery.orderQuery(Navigation)
OrderQuery.orderQuery(String)
OrderQuery.orderQuery(String, ResourceVisitor)
2014-08-06 16:33:10 +02:00
Robert von Burg
d9efdc3a31
[New] Added transformation to domain specific object when querying
...
Now StrolchTransaction.doQuery() returns the result of the
transformation done by the StrolchElementVisitor which is configured on
the ResourceQuery or OrderQuery
2014-08-06 16:29:37 +02:00
Robert von Burg
1ceedfc818
[Major] refactored StrolchElementVisitor to return value
...
Now instead of having visitors implement their own getters, the return
type is defined as a template on the concrete implementation.
To return nothing simply use the type Void and return null.
2014-08-06 12:46:31 +02:00
Robert von Burg
daa68dde24
[New] Added new RuntimeConfiguration.getConfigFile() and .getDataFile()
2014-08-06 01:05:25 +02:00
Robert von Burg
a71c77b02c
[Minor] Added name of application to startup log
2014-08-04 18:06:16 +02:00
Robert von Burg
99f34ec1b2
[Minor] Added a log info about system after startup
2014-08-04 17:47:16 +02:00
Robert von Burg
72d5bdce9e
[Bugfix] fixed wrong implementation of Dao.hasElement()
2014-08-04 15:36:25 +02:00
Robert von Burg
027ee8020f
[Bugfix] fixed not closed TX when undoCommands() fails
2014-08-04 15:36:02 +02:00
Robert von Burg
c564c2b847
[New] Implemented NameSelector.contains() and caseInsensitive()
2014-08-04 15:10:30 +02:00
Robert von Burg
64afcb02a6
[New] Implemented NameSelection.contains() and caseInsensitive()
2014-08-04 15:10:19 +02:00
Robert von Burg
66276b5ced
[New] added StrolchQuery.getSelection() and cleaned up some constants
2014-08-04 14:51:09 +02:00
Robert von Burg
7b8defc56f
[New] added StrolchQuery.getSelection() and cleaned up some constants
2014-08-04 14:50:56 +02:00
Robert von Burg
c21f96a5ae
[New] added StrolchQuery.getSelection() and cleaned up some constants
2014-08-04 14:50:36 +02:00
Robert von Burg
abf2a06b9e
[New] Implemented StrolchDao.hasElement()
2014-08-04 11:47:56 +02:00
Robert von Burg
5623f27f2d
[New] Implemented StrolchDao.hasElement()
2014-08-04 11:47:51 +02:00
Robert von Burg
bf4c23e241
[New] Implemented StrolchDao.hasElement()
2014-08-04 11:47:44 +02:00
Robert von Burg
1b956fbd45
[Major] cleaned up stupid use of forms for POST and added proper sec
...
fixed broken tests
2014-08-04 00:41:35 +02:00
Robert von Burg
b6828be09b
[Major] cleaned up stupid use of forms for POST and added proper sec
2014-08-04 00:24:57 +02:00
Robert von Burg
62265da046
[Minor] fixed typo
2014-07-31 22:59:27 +02:00
Robert von Burg
68a69f6319
[Bugfix] never ever return your own set!
...
Fixed issue where querying the keyset returned the actual set, thus
modifying the set caused modifications in the ElementMap
2014-07-31 22:22:46 +02:00
Robert von Burg
ef15d4af1f
[New] extended XmlExportModelService to handle overwriting existing
2014-07-31 20:05:54 +02:00
Robert von Burg
b1622eab47
[Major] refactored Service tests for easier re-use
...
It is now also very easy to inject a before, after and validator to
validate the services execution
2014-07-31 17:57:08 +02:00
Robert von Burg
57607ae23c
[Bugfix] fixed concurrent modification of list when removing elements
2014-07-31 16:35:29 +02:00
Robert von Burg
29ca8ba3c5
[New] Added ClearModelServiceTest
2014-07-31 16:34:58 +02:00
Robert von Burg
c16685dfc6
[New] added tests for ElementMap.removeAll()
2014-07-31 16:12:56 +02:00
Robert von Burg
14d9c66a78
[Major] added ClearModelCommand and Service
2014-07-31 16:12:31 +02:00
Robert von Burg
348b2121e9
[Major] added new methods ElementMap.removeAll()
2014-07-31 16:12:07 +02:00
Robert von Burg
7b6ad39060
[Major] added new methods ElementMap.removeAll()
2014-07-31 16:12:00 +02:00
Robert von Burg
ddf7c95bb5
[Major] added new methods ElementMap.removeAll()
2014-07-31 16:11:46 +02:00
Robert von Burg
d36267f640
[Minor] extracted ModelStatistics
2014-07-31 16:11:20 +02:00
Robert von Burg
281ce4e826
[New] Added a DataRange parameter selection
2014-07-31 09:42:41 +02:00
Robert von Burg
16db0e357e
[New] Added a DataRange parameter selection
2014-07-31 09:40:49 +02:00
Robert von Burg
a80c24a82b
[Minor] enums has abstract methods...
2014-07-15 18:51:34 +02:00
Robert von Burg
c246c76236
[New] Added a StrolchQuery.hasSelection() and Selection.hasSelection()
...
This allows for checking if a query really has a selection.
2014-07-15 18:50:45 +02:00
Robert von Burg
87ee16e33b
[New] Added AbstractConfiguration.getDataDir()
...
This is a convenience method to get a certain directory in the data path
of a strolch runtime.
2014-06-28 01:06:21 +02:00
Robert von Burg
76274b81c8
[New] Added a ElementMap.getTemplate()-method
...
This really simplifies the working with templates in Strolch. Just know
the type of template, retrieve it, clone it and then set your values.
2014-06-28 01:05:13 +02:00
Robert von Burg
22ff59c384
[New] Added a new @Provider CharsetResponseFilter to enforce utf-8
...
This is needed because the JSON returned is UTF-8, but the browsers
don't always pick this up.
2014-06-13 19:50:39 +02:00
Robert von Burg
d1206d2293
[Minor] fixed brittle test due to unordered sets
2014-06-13 18:15:48 +02:00
Robert von Burg
40de765eca
[Minor] documenting how to run tests by adding user for postgresql
2014-06-13 18:12:35 +02:00
Robert von Burg
7c0e64808d
[Minor] documenting how to run tests by adding user for postgresql
2014-06-13 17:54:01 +02:00
Robert von Burg
f12d731145
[Minor] documenting how to run tests by adding user for postgresql
2014-06-13 17:53:42 +02:00
Robert von Burg
a087f4a624
[Minor] fixed compiler warning
2014-06-13 17:33:53 +02:00
Robert von Burg
028d198f79
[Minor] fixed test which breaks on Java8
2014-06-13 17:23:56 +02:00
Robert von Burg
791e8b7416
[Major] No more static persistence of a Privilege Certificate
...
Now the certificate is passed into the Service before execution.
This is better than having a static reference which can always lead to
weird behaviour, especially when multiple ClassLoaders come into play.
2014-04-15 19:20:13 +02:00