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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Roland Häder [Mon, 28 Jan 2019 17:03:02 +0000 (18:03 +0100)]
Continued:
- added missing JAR(s)
- added missing license file
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Roland Häder [Sun, 24 Sep 2017 20:58:15 +0000 (22:58 +0200)]
Continued:
- added checked exceptions for already/not found company departments
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 24 Sep 2017 19:13:57 +0000 (21:13 +0200)]
Continued:
- user "owner" is no longer required for employee as it may not be available at
all times
- one opening-times line is maybe not enough as they may varry from day to day
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 24 Sep 2017 12:33:39 +0000 (14:33 +0200)]
Continued:
- branch offices may have an "owning employee" which is a personal who may own
one or more branch offices with e.g. franchise supermarkets
- they may also have separate opening times depending on local laws
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 22 Sep 2017 21:50:34 +0000 (23:50 +0200)]
Continued:
- need to change java.util.Calendar (bye bye) to java.util.Date in favour of
PrimeFace's p:calendar [!]
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 20 Sep 2017 19:41:03 +0000 (21:41 +0200)]
Continued a bit:
- added branch office number which some receipts showed
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 20 Sep 2017 18:37:12 +0000 (20:37 +0200)]
Continued:
- need to have serial number unique accross project's JARs
- added named query SearchBranchOfficeById which searches for branch office
entity by it's primary key
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 10 Sep 2017 19:19:05 +0000 (21:19 +0200)]
Continued:
- renamed exceptions BusinessDataBlaException was to generic, it should be
BasicCompanyDataBlaException
- renamed BranchOfficeUtils -> BranchOffices as this is more common
- fixed imports
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 9 Sep 2017 12:25:38 +0000 (14:25 +0200)]
Continued:
- moved all model (entity) related classes/interfaces to own 'model' package
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 9 Sep 2017 10:40:28 +0000 (12:40 +0200)]
removed double unique key
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 8 Sep 2017 23:22:59 +0000 (01:22 +0200)]
Continued:
- added utilities class for branch offices
- added event class/interface for branch offices being added
- added exception when a branch office has already been added
- renamed branchPhoneNumber -> branchLandLineNumber as everywhere is land-line
used
- sorted members
- added contructor CompanyBranchOffice() with all required fields and validated
parameters before setting them
- also need to add default constructor as the JPA requires it
- renamed companyDataId -> basicDataId
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 3 Sep 2017 22:54:42 +0000 (00:54 +0200)]
Continued:
- renamed branchCompanyContact -> branchCompany
- added new entity field/property "branchContactEmployee", an employee may act
as a contact person in this branch office
- added first named query for branch office entity: "AllBranchOffices"
- renamed package "branch" -> "branchoffice"
- added event for when an administrator has added basic company data
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 19 Aug 2017 18:57:47 +0000 (20:57 +0200)]
Pre cherry-pick: jcontacts-business-core/lib has changed again ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 19 Aug 2017 18:33:19 +0000 (20:33 +0200)]
Continued:
- moved business (basic) data related exceptions to own package
- added exception when a company employee was not found
- some auto-formatting
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 19 Aug 2017 17:26:14 +0000 (19:26 +0200)]
renamed headQuartersData to companyHeadQuartersData as all others have 'company'
as prefix
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 18 Aug 2017 21:02:21 +0000 (23:02 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 17 Aug 2017 20:51:28 +0000 (22:51 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 16 Aug 2017 19:02:28 +0000 (21:02 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 15 Aug 2017 20:54:28 +0000 (22:54 +0200)]
updated dist.sh
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 15 Aug 2017 20:50:59 +0000 (22:50 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 10 Aug 2017 20:46:12 +0000 (22:46 +0200)]
Moved *BasicData POJO/I into deeper package
Roland Häder [Sun, 6 Aug 2017 21:22:29 +0000 (23:22 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 6 Aug 2017 21:17:02 +0000 (23:17 +0200)]
fixed CRLF -> LF (Linux)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 5 Aug 2017 13:21:25 +0000 (15:21 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 30 Jul 2017 20:12:47 +0000 (22:12 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 30 Jul 2017 19:47:44 +0000 (21:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 27 Jul 2017 20:04:23 +0000 (22:04 +0200)]
Continued:
- renamed field where an employee is a contact person within the company
- added named query to search for entities based on primary key (id)
Roland Häder [Wed, 26 Jul 2017 17:36:00 +0000 (19:36 +0200)]
updated .gitattributes
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 16:53:05 +0000 (18:53 +0200)]
Continued a bit:
- also headquarters are maybe optional (unknown to the user)
- added initial named query which loads all basic business data
- legal status may be empty for self-employed persons (single-person companies)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 16:35:28 +0000 (18:35 +0200)]
Continued a bit:
- renamed businessContactId to businessDataId
- renamed exceptions
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 11:49:34 +0000 (13:49 +0200)]
Having basic data and "business contact" which is really no contact in general
terms was a bad style anyway. Now these two entities are merged into
"BusinessBasicData" and kept in main package of this project.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 11:38:27 +0000 (13:38 +0200)]
owner is already given in "super-entity" BusinessContact, which may need
renaming because it is not a contact, but an abstract business entity where all
data of that (entire) business is attached to, like employees, branch offices
and so on.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 23 Jul 2017 10:08:46 +0000 (12:08 +0200)]
user (owner) is now optional and renamed
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 22 Jul 2017 22:39:42 +0000 (00:39 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 22 Jul 2017 21:43:36 +0000 (23:43 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 14 Jul 2017 18:44:54 +0000 (20:44 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 19 Jul 2017 09:14:44 +0000 (11:14 +0200)]
updated dist.sh
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 22:39:15 +0000 (00:39 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 22:14:24 +0000 (00:14 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 19:29:53 +0000 (21:29 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 19:24:36 +0000 (21:24 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 12 Jul 2017 18:59:29 +0000 (20:59 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 6 Jul 2017 20:55:22 +0000 (22:55 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 21:50:24 +0000 (23:50 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 19:47:44 +0000 (21:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>