3ec12fcfa8
Fixed key columns for contracts
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 14:48:22 +02:00
d1f410abfd
Added contract mapping file to central Hibernate config
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 14:47:50 +02:00
f4db52650a
Made login unique
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 14:44:59 +02:00
1a3b1d9df4
Made contractnumber to ID
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 14:30:14 +02:00
a600293caf
Removed TODOs from ImmoService
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 12:05:36 +02:00
20539c8124
Fixed contract mapping
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 11:40:04 +02:00
52b40d89d5
Added ability to edit entities
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 11:38:52 +02:00
fbe975eb04
Made sure the sets are filled with data from the database
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 11:38:52 +02:00
5919c0c204
Simplified if statement
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 11:38:21 +02:00
36a9e84fbe
Collapsed catch block
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 11:38:21 +02:00
2d62cb6453
We don't need any more test data
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 11:38:21 +02:00
366852097f
Added database persistence to all add and delete methods
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-03 11:38:21 +02:00
88c4b0b772
Added Contract Mapping File
...
Added Contract Mapping File
2017-05-03 00:53:42 +02:00
b9d84e797b
Improved coding
...
- changed while to foreach loop where possible
- made methods private where possible
- removed unnecessary boxing
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-01 17:25:59 +02:00
2deebe0bff
Uses secure password prompt if possible
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-01 16:32:49 +02:00
8a513bf892
Added schema to mapping files
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-01 15:52:53 +02:00
6b796d80c1
Simplified if statements and restricted var access where applicable
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-05-01 15:25:08 +02:00
ce68e751fc
At most the schema can be validated
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-28 16:49:58 +02:00
e712f46e3b
Wen don't want to recreate the schema every time
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-28 16:43:10 +02:00
a731bd9967
Changed id behaviour to increment
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-28 16:40:17 +02:00
70af878fa2
Added libraries to repository
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-28 16:17:39 +02:00
0e3e6e5d1f
Fixed parameter docstrings
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-28 15:52:35 +02:00
a2411097a5
Fixed usage of untyped list
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-28 15:51:35 +02:00
990a7811eb
Further changes to fit our DB schema
...
Further changes to fit our DB schema
Added session.close() to add delete and edit EstateAgent
2017-04-27 17:40:55 +02:00
9b2fa48271
Updated Mapping XML Files + Update EstateAgents
...
Updated Mapping XML Files + Update EstateAgents
2017-04-27 16:57:09 +02:00
d76deb51d2
Changed Makler and Person mapping to our English DB scheme
...
Changed Makler and Person mapping to our English DB scheme and new
Estates are now saved persistent
2017-04-27 16:24:27 +02:00
59fb5af1c4
Added Apartment to Immobile.hnb.xml mapping XML-File
...
Added Apartment to Immobile.hnb.xml mapping XML-File
2017-04-27 16:12:07 +02:00
3bc63e5442
Added Exercise 3 Example Project
...
Added Exercise 3 Example Project
2017-04-27 12:58:49 +02:00
0648382c86
Fixed persisting of contracts
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-26 15:19:59 +02:00
f19acc875f
Made delete estate method atomic
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-26 15:19:48 +02:00
e53663189b
Added editorconfig file
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-26 10:18:31 +02:00
cded76920c
Reintroduced support for updating contracts
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-25 17:35:56 +02:00
010fc9e21d
Removed invalid call
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-25 16:55:56 +02:00
3434fcae70
Added fallback for IDE case
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-25 16:53:37 +02:00
0a2846d7f2
Fixed persisting of estates
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-25 16:35:18 +02:00
1bb3199b3b
Reduced visibility to the required level
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-25 16:29:31 +02:00
b180ee52e6
Removed obsolete code
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-25 16:13:33 +02:00
9366ab384e
Reformatted the codebase
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-25 16:09:55 +02:00
6e7c1ed8bd
Reintroduced newContract parts from prev commit
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 17:56:39 +02:00
aac2115421
Merge branch 'master' of github.com:frmwrk123/dis
2017-04-24 17:42:34 +02:00
03803d8453
Prevented dead-end
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 17:25:09 +02:00
24c884756f
Hides already sold or rented apartments
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 17:17:53 +02:00
d54de4856c
Added ability to get sold houses and rented apartments
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 17:15:34 +02:00
e7382026e9
Completed contract functionality
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 16:54:33 +02:00
a1487f4d4f
Added ability to persist contracts
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 16:43:10 +02:00
81fab4a99a
Added ability to list persons, houses and apartments
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 16:17:37 +02:00
b695bc3657
Added types PERSON, HOUSE and APARTMENT
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 15:47:05 +02:00
60283aa7a3
Made setting the start date easier
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 15:40:05 +02:00
6abe846e8a
Added ability to persist persons
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 15:25:51 +02:00
1e1d9dc179
Changed duration type to Duration
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 15:17:38 +02:00