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>
Roland Häder [Mon, 26 Jun 2017 19:02:16 +0000 (21:02 +0200)]
updated dist.sh
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 26 Jun 2017 18:59:46 +0000 (20:59 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 24 Jun 2017 21:10:58 +0000 (23:10 +0200)]
updated path for local cp of libraries
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 20:32:00 +0000 (22:32 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 23 Jun 2017 18:18:55 +0000 (20:18 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 10 Jun 2017 20:47:47 +0000 (22:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 10 Jun 2017 12:45:48 +0000 (14:45 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Fri, 9 Jun 2017 22:47:04 +0000 (00:47 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 8 Jun 2017 19:08:25 +0000 (21:08 +0200)]
added exceptions which origins from jcontacts-core
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 8 Jun 2017 18:56:35 +0000 (20:56 +0200)]
renamed property to make it more clear, companyId was not really clear.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 7 Jun 2017 22:09:30 +0000 (00:09 +0200)]
sorted members a bit
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 7 Jun 2017 20:44:35 +0000 (22:44 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 3 Jun 2017 16:16:15 +0000 (18:16 +0200)]
Continued a bit:
- updated copyright
- updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 27 Apr 2017 12:37:59 +0000 (14:37 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 27 Apr 2017 12:33:39 +0000 (14:33 +0200)]
don't copy jcore(-swing) (EE/Swing) to JavaEE container
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 27 Apr 2017 11:16:54 +0000 (13:16 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 25 Apr 2017 11:38:22 +0000 (13:38 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 20 Apr 2017 01:27:33 +0000 (03:27 +0200)]
lets don't use back-ticks
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 20 Apr 2017 00:17:19 +0000 (02:17 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Thu, 20 Apr 2017 00:12:55 +0000 (02:12 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 19 Apr 2017 23:03:40 +0000 (01:03 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 19 Apr 2017 22:23:11 +0000 (00:23 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Wed, 19 Apr 2017 16:40:22 +0000 (18:40 +0200)]
nope, 'src/' must be present, then the IDE (NetBeans at least) can find it
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sun, 16 Apr 2017 09:52:08 +0000 (11:52 +0200)]
removed navdata as it will be regenerated and ignored it as it always caused merge conflicts
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 15 Apr 2017 22:05:32 +0000 (00:05 +0200)]
updated source references, how does '/src/' come in everywhere?
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 15 Apr 2017 19:29:31 +0000 (21:29 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 13 Apr 2017 19:22:39 +0000 (21:22 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 12 Apr 2017 22:33:51 +0000 (00:33 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 10 Apr 2017 22:09:39 +0000 (00:09 +0200)]
Updatede jar(s) + fixed some names + fixed some imports
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 10 Apr 2017 21:55:10 +0000 (23:55 +0200)]
updated own name and resources
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 10 Apr 2017 20:13:23 +0000 (22:13 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 10 Apr 2017 20:00:47 +0000 (22:00 +0200)]
CRLF->LF converted
Roland Haeder [Mon, 10 Apr 2017 19:59:03 +0000 (21:59 +0200)]
updated jar(s)
Roland Haeder [Mon, 10 Apr 2017 18:03:24 +0000 (20:03 +0200)]
updated jar(s)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Mon, 3 Apr 2017 12:17:38 +0000 (14:17 +0200)]
fixed my name, is with "A-Umlaut" ä, not ae