]> git.mxchange.org Git - jcontacts-business-core.git/log
jcontacts-business-core.git
2 years agoupdated jar(s)
Roland Häder [Wed, 19 Oct 2022 12:43:55 +0000 (14:43 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoupdated jar(s)
Roland Häder [Wed, 19 Oct 2022 11:49:30 +0000 (13:49 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoChanged:
Roland Häder [Wed, 19 Oct 2022 11:48:35 +0000 (13:48 +0200)]
Changed:
- updated reference from Comparables to ComparableUtils

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoupdated jar(s)
Roland Häder [Wed, 19 Oct 2022 11:46:04 +0000 (13:46 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoupdated jar(s)
Roland Häder [Tue, 18 Oct 2022 14:02:43 +0000 (16:02 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoupdated jar(s)
Roland Häder [Wed, 12 Oct 2022 23:05:18 +0000 (01:05 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoupdated jar(s)
Roland Häder [Fri, 7 Oct 2022 18:37:39 +0000 (20:37 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoupdated references
Roland Häder [Fri, 7 Oct 2022 18:05:24 +0000 (20:05 +0200)]
updated references

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoupdated jar(s)
Roland Häder [Fri, 7 Oct 2022 18:04:13 +0000 (20:04 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Thu, 6 Oct 2022 14:01:20 +0000 (16:01 +0200)]
Continued:
- use own *Utils' methods instead of direct invocation (null-safe)
- used more Objects.equals() (yes, a bit silly here)

2 years agoContinued:
Roland Häder [Thu, 6 Oct 2022 13:26:26 +0000 (15:26 +0200)]
Continued:
- renamed all *s utility classes to *Utils
- moved them to own package (for all the same package)

2 years agoUpdated JAR(s)
Roland Häder [Sun, 25 Sep 2022 19:28:50 +0000 (21:28 +0200)]
Updated JAR(s)

2 years agoUpdated copyright year
Roland Häder [Fri, 23 Sep 2022 12:53:00 +0000 (14:53 +0200)]
Updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Thu, 15 Sep 2022 05:51:27 +0000 (07:51 +0200)]
Continued:
- updated Commons Lang3 to 3.12.0
- updated JAR(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoUpdated jar(s)
Roland Häder [Wed, 14 Sep 2022 06:41:11 +0000 (08:41 +0200)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoUpdated jar(s)
Roland Häder [Wed, 14 Sep 2022 06:12:35 +0000 (08:12 +0200)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Thu, 23 Jun 2022 11:09:37 +0000 (13:09 +0200)]
Continued:
- tpzo fixed

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoupdated jar(s)
Roland Häder [Thu, 23 Jun 2022 11:08:37 +0000 (13:08 +0200)]
updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoonly these files are text/plain
Roland Häder [Tue, 21 Jun 2022 23:15:17 +0000 (01:15 +0200)]
only these files are text/plain

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoonly these files are text/plain
Roland Häder [Tue, 21 Jun 2022 23:14:49 +0000 (01:14 +0200)]
only these files are text/plain

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoupdated .gitattributes
Roland Häder [Tue, 21 Jun 2022 23:12:36 +0000 (01:12 +0200)]
updated .gitattributes

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoupdated/added jar(s)
Roland Häder [Tue, 21 Jun 2022 23:10:00 +0000 (01:10 +0200)]
updated/added jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 10 May 2020 04:57:40 +0000 (06:57 +0200)]
Continued:
- also headquarter cannot have direct reference to employee as this would result
  in recursive call as the headquarter's employee may also be compared

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 10 May 2020 04:52:14 +0000 (06:52 +0200)]
Continued:
- also had to change it for branch offices (both references)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 10 May 2020 04:37:52 +0000 (06:37 +0200)]
Continued:
- added to re-add departmentLead in equals()/hashCode() methods but now as
  Contact and not Employee. In Employee you have a Department instance again,
  leading to endless recursive calls / stack overflow.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 10 May 2020 03:53:49 +0000 (05:53 +0200)]
Continued:
- added exception constructor with full department instance

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 10 May 2020 03:28:22 +0000 (05:28 +0200)]
Continued:
- added utilities method copyDepartmentData()
- added AdminUpdatedDepartmentEvent class and interface
- renamed DepartmentAddedEvent to AdminDeaprtmentAddedEvent

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sat, 9 May 2020 23:47:53 +0000 (01:47 +0200)]
Continued:
- renamed other to fooEntity
- renamed logoUploader to logoUploaderUser
- added missing members to equals()/hashCode()
- sorted members in equals()/hashCode() methods

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sat, 9 May 2020 22:46:41 +0000 (00:46 +0200)]
Continued:
- also don't include empoyee here, too.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 26 Apr 2020 20:24:42 +0000 (22:24 +0200)]
Continued:
- cannot take these enitity references into comparison as this would result in
  an endless loop

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 26 Apr 2020 20:02:58 +0000 (22:02 +0200)]
Continued:
- don't copy created/updated timestamps

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 26 Apr 2020 18:30:01 +0000 (20:30 +0200)]
Continued:
- updated timestamps can be null, too (ops)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 26 Apr 2020 17:15:41 +0000 (19:15 +0200)]
Continued:
- need to compare all entity properties in equals()/hashCode()
- renamed some fields from fooCreated to fooEntryCreated
- added some missing fooEntryUpdated fields

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Fri, 24 Apr 2020 14:46:28 +0000 (16:46 +0200)]
Continued:
- copyFooData() should always check if both source and target are not the same
  before continuing

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Fri, 24 Apr 2020 01:33:42 +0000 (03:33 +0200)]
Continued:
- added utilities method copyBranchOfficeData()

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Fri, 24 Apr 2020 00:42:44 +0000 (02:42 +0200)]
Continued:
- renamed branchOffice -> addedBranchOffice
- renamed BranchOfficeAddedEvent -> AdminBranchOfficeAddedEvent
- renamed ObservableBranchOfficeAddedEvent -> ObservableAdminBranchOfficeAddedEvent
- added event for when an administrator has updated a branch office

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Wed, 22 Apr 2020 20:37:08 +0000 (22:37 +0200)]
Continued:
- added companyRoadNumber as German companies (mostly those producing dairy
  products

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 19 Apr 2020 03:15:39 +0000 (05:15 +0200)]
Continued:
- added jcoreee.jar
- added missing documentation links

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 19 Apr 2020 03:14:57 +0000 (05:14 +0200)]
Continued:
- jcore-utils is a project ONLY for utility classes, not enumerations, so moved
  it better jcoreee

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Sun, 19 Apr 2020 02:54:01 +0000 (04:54 +0200)]
Continued:
- moved DayOfTheWeek to jcore-utils.jar

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 16 Apr 2020 17:47:53 +0000 (19:47 +0200)]
Continued:
- renamed field employeeCreated to employeeEntryCreated
- added field employeeEntryUpdated

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 16 Apr 2020 17:27:42 +0000 (19:27 +0200)]
Continued:
- renamed branchCreated to branchEntryCreated
- added branchEntryUpdated

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 16 Apr 2020 15:57:01 +0000 (17:57 +0200)]
Continued:
- ops, also need to renamed openingId to openingTimeId in JPQL query

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 16 Apr 2020 15:52:48 +0000 (17:52 +0200)]
Continued:
- renamed openingCreated to openingTimeEntryCreated
- added optional openingTimeEntryUpdated

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Thu, 16 Apr 2020 15:45:14 +0000 (17:45 +0200)]
Continued:
- renamed openingId to openingTimeId to have it more consistent
- "validated" parameter of 2nd constructor of same entity
- tpzo fixed

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Häder [Tue, 14 Apr 2020 02:34:49 +0000 (04:34 +0200)]
Continued:
- renamed companyCreated to companyEntryCreated
- added new field companyEntryUpdated

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Mon, 16 Mar 2020 04:27:57 +0000 (05:27 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Thu, 6 Feb 2020 21:24:02 +0000 (22:24 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Sat, 1 Feb 2020 01:30:40 +0000 (02:30 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Wed, 15 Jan 2020 16:56:50 +0000 (17:56 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated copyright year
Roland Häder [Wed, 15 Jan 2020 15:12:30 +0000 (16:12 +0100)]
Updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated copyright year
Roland Häder [Wed, 15 Jan 2020 10:49:03 +0000 (11:49 +0100)]
Updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated copyright year
Roland Häder [Wed, 15 Jan 2020 10:44:14 +0000 (11:44 +0100)]
Updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoUpdated jar(s)
Roland Häder [Tue, 14 Jan 2020 23:31:10 +0000 (00:31 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoContinued:
Roland Häder [Thu, 10 Oct 2019 20:46:53 +0000 (22:46 +0200)]
Continued:
- renamed JobPosition to HireableJobPosition (tpzo in first syllable) and added
  methods from jjobs-core as this was redundant anyway (and didn't work in the
  end)
- added JobPositionStatus (enum) from jjobs-core

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoContinued:
Roland Häder [Tue, 16 Jul 2019 01:29:46 +0000 (03:29 +0200)]
Continued:
- reformatted for better readability

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoUpdated jar(s)
Roland Häder [Wed, 26 Jun 2019 17:47:56 +0000 (19:47 +0200)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoUpdated jar(s)
Roland Häder [Tue, 12 Mar 2019 13:26:50 +0000 (14:26 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoContinued:
Roland Häder [Mon, 28 Jan 2019 17:03:02 +0000 (18:03 +0100)]
Continued:
- added missing JAR(s)
- added missing license file

5 years agoUpdated jar(s)
Roland Häder [Sat, 22 Dec 2018 01:29:19 +0000 (02:29 +0100)]
Updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoContinued:
Roland Häder [Fri, 21 Dec 2018 14:24:24 +0000 (15:24 +0100)]
Continued:
- rewrote exception to accept string instead of full BasicData object

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoContinued:
Roland Häder [Thu, 13 Dec 2018 16:03:47 +0000 (17:03 +0100)]
Continued:
- if all 3 employee's relations are NULL, throw an NPE: branch office, personal
  data and headquarter
- basic company data is always required

Signed-off-by: Roland Häder <roland@mxchange.org>
5 years agoContinued:
Roland Häder [Thu, 13 Dec 2018 12:01:08 +0000 (13:01 +0100)]
Continued:
- added companyShortName property with equals/hashCode/compareTo
- made companyName now optional
- updated commons-lang3 to 3.8.1

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sun, 29 Apr 2018 03:11:51 +0000 (05:11 +0200)]
Continued:
- need to eagerly fetch this list

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sun, 25 Mar 2018 13:38:04 +0000 (15:38 +0200)]
Continued:
- need to sort by employee's number, then contact data, then email address
  and then the rest from narrower to wide data

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Mon, 19 Mar 2018 21:59:06 +0000 (22:59 +0100)]
Continued:
- Objects.equals() is an overdose here, as a possible null-reference has
  already been checked before
- CoreNumberUtils was a bad name, SafeNumberUtils is maybe better?

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Mon, 19 Mar 2018 01:07:48 +0000 (02:07 +0100)]
Continued:
- added utitlities class BasicDataUtils
- updated commons-lang3 to 3.7

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Mon, 19 Mar 2018 00:05:08 +0000 (01:05 +0100)]
Continued:
- jcore-utils was splitted out from jcoreee to reduce project centralization
  (means you have to that whole fat bunch of classes but only use a few)
- removed no longer used jcoreee.jar

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sun, 18 Mar 2018 23:35:01 +0000 (00:35 +0100)]
Continued:
- added new depdendency Apache Commons Lang3
- used their StringUtils class for null-safe comparisons
- but their NumberUtils class' compare() methods are not null-safe, so have to
  take own CoreNumberUtils class instead.

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sun, 18 Mar 2018 22:09:43 +0000 (23:09 +0100)]
Continued:
- ops, need to compare basic data and contact employee of branch office before
  comparing the whole address
- branch office number being compared before contact employee is okay

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sun, 18 Mar 2018 21:47:10 +0000 (22:47 +0100)]
Continued:
- used new NumberUtils class for null-safe comparison

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Thu, 15 Mar 2018 23:36:19 +0000 (00:36 +0100)]
Continued:
- added new dependency to jcoreee.jar
- implemented Comparable interface in all entities
- rewrote to use Comparables.checkAll()
- check for null-pointer reference
- documented thrown NPE
- added utils class for job positions

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Mon, 12 Mar 2018 23:56:54 +0000 (00:56 +0100)]
Continued:
- implemented Comparable interface in BranchOffice as PrimeFaces require this
- updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoChanged copyright notice to the FSF, so after my death they will continue my
Roland Häder [Fri, 22 Dec 2017 23:01:06 +0000 (00:01 +0100)]
Changed copyright notice to the FSF, so after my death they will continue my
interests, nice!

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Thu, 16 Nov 2017 22:16:45 +0000 (23:16 +0100)]
Continued:
- need to only refresh other entity
- no need to be over-happy with checking references, else endless loops may
  occur ...

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Sun, 12 Nov 2017 22:03:02 +0000 (23:03 +0100)]
Continued:
- also compare company name as 2 companies may be headed in same building

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Wed, 8 Nov 2017 18:44:14 +0000 (19:44 +0100)]
Continued:
- added headquarterCompanyName as the name may varry from branch offices

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Tue, 7 Nov 2017 22:03:11 +0000 (23:03 +0100)]
Continued:
- wrong check on employee's personal data instance, fixed

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Sun, 5 Nov 2017 16:35:20 +0000 (17:35 +0100)]
Continued:
- also need to check branch office or headquarter when checking if same
  department, need to check department's branch office/headquarter only when one
  is at least not null
- also compare last house number and extension
- sorted members

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Sun, 5 Nov 2017 15:06:29 +0000 (16:06 +0100)]
Continued:
- added house number extension for branch office and headquarter address

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Sun, 5 Nov 2017 11:31:43 +0000 (12:31 +0100)]
Continued:
- added branch office's last house number
- added headquarter's last house number

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Fri, 3 Nov 2017 21:41:05 +0000 (22:41 +0100)]
Continued:
- added exception for already added employees
- fixed serial numbers, must be globally unique
- sorted imports
- added utilities class for employees

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Thu, 2 Nov 2017 19:45:12 +0000 (20:45 +0100)]
Continued:
- renamed all occurrences of headquarters to headquarter as it was confusing on
  many places, if singular or plural was used. Only Headquarters for utilities
  class remain (surely).

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Wed, 1 Nov 2017 21:50:38 +0000 (22:50 +0100)]
Continued:
- removed Search<Entity>ById as this is considered as performance-reducing. The
  reason is, that the EJB will then be more "asked" for single entries only.
- added first named query AllHeadquarters

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Wed, 1 Nov 2017 21:12:33 +0000 (22:12 +0100)]
Continued:
- added default constructor (required for EJB container)
- added constructor with all required fields
- added email address for headquarters
- added utils class for headquarters
- renamed branch_id to headquarters_id (copy-paste mistake)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Wed, 1 Nov 2017 21:05:05 +0000 (22:05 +0100)]
Continued:
- added event being thrown when a new headquarters has been added

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Wed, 1 Nov 2017 20:58:38 +0000 (21:58 +0100)]
Continued:
- had to rename Headquarters again, to Headquarter to make room for a tools
  class, it is common to name them <Entity>s and Headquarterss is not correct

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Wed, 1 Nov 2017 20:56:26 +0000 (21:56 +0100)]
Continued:
- renamed headquartersPhoneNumber to headquartersLandLineNumber as common on
  many other places, too

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Wed, 1 Nov 2017 20:21:18 +0000 (21:21 +0100)]
Continued:
- removed suffix Data, just Headquarters is okay here, not for basic data
  entity, of course
- renamed exception, only company headquarters will exist
- added checked exception which is being thrown when headquarters with same
  address already exists

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Wed, 1 Nov 2017 18:43:08 +0000 (19:43 +0100)]
Continued:
- headquarter's "owning" user is now optional
- headquarters may have contact persons, too
- added opening times for headquarters

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued a bit:
Roland Häder [Sat, 28 Oct 2017 18:35:13 +0000 (20:35 +0200)]
Continued a bit:
- sorted members

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Tue, 17 Oct 2017 23:34:34 +0000 (01:34 +0200)]
Continued:
- renamed many other entity (classes) to Business

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Mon, 16 Oct 2017 18:28:23 +0000 (20:28 +0200)]
Continued:
- no other employees than company/business employees will be there ...
- renamed Employee interface to a much nicer Employable name
- renamed CompanyDepartment -> BusinessDepartment as there will be other kinds
  of departments (e.g. fire/police)
- renamed more company -> business, but not all

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Sat, 14 Oct 2017 12:59:58 +0000 (14:59 +0200)]
Continued:
- need to change CascadeType to ALL as this should be persisted and all others
- also changed back from ALL to REFRESH as the foreign entities do already exist

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Thu, 12 Oct 2017 19:58:59 +0000 (21:58 +0200)]
Continued:
- departmentName was not localizable, let's rename it to departmentI18nKey then

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Sat, 7 Oct 2017 23:18:32 +0000 (01:18 +0200)]
Continued:
- added event for employees being added

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued (renaming-season has started):
Roland Häder [Sat, 7 Oct 2017 22:17:52 +0000 (00:17 +0200)]
Continued (renaming-season has started):
- renamed OpeningTimes -> OpeningTime as it is a single entity anyway
- also renamed package opening_times -> opening_time
- add event for when an opening time has been added

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Sat, 7 Oct 2017 22:09:47 +0000 (00:09 +0200)]
Continued:
- don't allow primary key being accidently set by constructors, that will
  trigger more bugs
- got then rid of one constructor

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued a bit:
Roland Häder [Sat, 7 Oct 2017 20:48:12 +0000 (22:48 +0200)]
Continued a bit:
- added timestamp when opening time has been created (the timestamp should be
  classically set in in EJB)

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Häder [Sat, 7 Oct 2017 19:55:01 +0000 (21:55 +0200)]
Continued:
- added event when department has been added
- added exception for not-found opening times
- added utils class for departments
- fixed some tzpos here and there
- used REFRESH instead of ALL as else maybe the other entityos being duplicated
- added first 2 named queries for opening times
- renamed CompanyDepartment -> Department

Signed-off-by: Roland Häder <roland@mxchange.org>