Commit Graph

846 Commits

Author SHA1 Message Date
Robert von Burg dd7c4ed581 [Minor] fixed typo 2014-08-08 12:12:35 +02:00
Robert von Burg 941665753c [New] Added a configuration option for the app locale in runtime config 2014-08-07 16:26:25 +02:00
Robert von Burg 1139fb1b8f [Minor] Removed unneded code 2014-08-07 16:11:20 +02:00
Robert von Burg 497e3f901e [Minor] fixed broken test 2014-08-07 15:02:48 +02:00
Robert von Burg 5140acdd42 [Major] moved to Jersey 2.11
fixed muliple issues:
- use language passed by client
- test language
- testing for enums
2014-08-07 14:55:04 +02:00
Robert von Burg 9470b43e0d [Minor] cleaaned up StrolchEnum, using map to store values 2014-08-07 14:53:55 +02:00
Robert von Burg 5e062f0630 [New] Implemented AnySelection 2014-08-07 01:00:25 +02:00
Robert von Burg 6c9adf5daf [New] Implemented AnySelection 2014-08-07 01:00:17 +02:00
Robert von Burg 61e86deb15 [Bugfix] fixed strolch enum rest api not working 2014-08-07 00:20:12 +02:00
Robert von Burg 9fbf49bc45 [Minor] cleaned up StrolchEnum 2014-08-07 00:19:50 +02:00
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