From 6408a95c1c1b000f5cb09f96e26f0a5ec9ab7419 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 22 Jan 2023 04:51:35 +0100 Subject: [PATCH] Continued: - sorted imports and other members --- .../JobsAdminBranchOfficeActionWebRequestBean.java | 2 +- .../employee/JobsAdminEmployeeWebRequestBean.java | 4 ++-- .../JobsAdminOpeningTimeWebRequestBean.java | 2 +- .../JobsAdminContactMobileWebRequestController.java | 1 - .../mobile/JobsContactMobileWebRequestController.java | 1 - .../contact/phone/list/JobsUserListWebViewBean.java | 4 ++-- .../beans/mobile/JobsAdminMobileWebRequestBean.java | 2 +- .../JobsAdminMobileProviderWebRequestBean.java | 2 +- .../beans/phone/JobsAdminPhoneWebRequestBean.java | 2 +- .../validator/jobs/skill/JobsSkillNameValidator.java | 10 +++++----- 10 files changed, 14 insertions(+), 16 deletions(-) diff --git a/src/java/org/mxchange/jjobs/beans/business/department/action/JobsAdminBranchOfficeActionWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/business/department/action/JobsAdminBranchOfficeActionWebRequestBean.java index 09480148..587a3db2 100644 --- a/src/java/org/mxchange/jjobs/beans/business/department/action/JobsAdminBranchOfficeActionWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/business/department/action/JobsAdminBranchOfficeActionWebRequestBean.java @@ -39,10 +39,10 @@ import org.mxchange.jcontactsbusiness.exceptions.branchoffice.BranchOfficeNotFou import org.mxchange.jcontactsbusiness.model.basicdata.BasicData; import org.mxchange.jcontactsbusiness.model.branchoffice.AdminBranchOfficeSessionBeanRemote; import org.mxchange.jcontactsbusiness.model.branchoffice.BranchOffice; -import org.mxchange.jcontactsbusiness.model.utils.BranchOfficeUtils; import org.mxchange.jcontactsbusiness.model.branchoffice.BusinessBranchOffice; import org.mxchange.jcontactsbusiness.model.opening_time.BusinessOpeningTime; import org.mxchange.jcontactsbusiness.model.opening_time.OpeningTime; +import org.mxchange.jcontactsbusiness.model.utils.BranchOfficeUtils; import org.mxchange.jcoreee.dates.DayOfTheWeek; import org.mxchange.jcountry.model.data.Country; import org.mxchange.jjobs.beans.BaseJobsBean; diff --git a/src/java/org/mxchange/jjobs/beans/business/employee/JobsAdminEmployeeWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/business/employee/JobsAdminEmployeeWebRequestBean.java index 306da6aa..908701d9 100644 --- a/src/java/org/mxchange/jjobs/beans/business/employee/JobsAdminEmployeeWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/business/employee/JobsAdminEmployeeWebRequestBean.java @@ -33,14 +33,14 @@ import org.mxchange.jcontactsbusiness.model.department.Department; import org.mxchange.jcontactsbusiness.model.employee.AdminEmployeeSessionBeanRemote; import org.mxchange.jcontactsbusiness.model.employee.BusinessEmployee; import org.mxchange.jcontactsbusiness.model.employee.Employable; -import org.mxchange.jcontactsbusiness.model.utils.EmployeeUtils; import org.mxchange.jcontactsbusiness.model.headquarter.Headquarter; +import org.mxchange.jcontactsbusiness.model.utils.EmployeeUtils; import org.mxchange.jjobs.beans.BaseJobsBean; +import org.mxchange.jjobs.beans.business.employee.list.JobsEmployeeListWebViewController; import org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber; import org.mxchange.jphone.model.phonenumbers.mobile.MobileNumber; import org.mxchange.jphone.model.phonenumbers.mobileprovider.MobileProvider; import org.mxchange.jusercore.model.user.User; -import org.mxchange.jjobs.beans.business.employee.list.JobsEmployeeListWebViewController; /** * A request-scoped bean for administrative purposes for administrative employee diff --git a/src/java/org/mxchange/jjobs/beans/business/opening_time/JobsAdminOpeningTimeWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/business/opening_time/JobsAdminOpeningTimeWebRequestBean.java index 55853929..2c84cbaa 100644 --- a/src/java/org/mxchange/jjobs/beans/business/opening_time/JobsAdminOpeningTimeWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/business/opening_time/JobsAdminOpeningTimeWebRequestBean.java @@ -28,8 +28,8 @@ import org.mxchange.jcontactsbusiness.events.opening_time.added.OpeningTimeAdded import org.mxchange.jcontactsbusiness.model.opening_time.AdminOpeningTimeSessionBeanRemote; import org.mxchange.jcontactsbusiness.model.opening_time.BusinessOpeningTime; import org.mxchange.jcontactsbusiness.model.opening_time.OpeningTime; -import org.mxchange.jjobs.beans.BaseJobsBean; import org.mxchange.jcoreee.dates.DayOfTheWeek; +import org.mxchange.jjobs.beans.BaseJobsBean; /** * An administrative bean for openingTimes diff --git a/src/java/org/mxchange/jjobs/beans/contact/mobile/JobsAdminContactMobileWebRequestController.java b/src/java/org/mxchange/jjobs/beans/contact/mobile/JobsAdminContactMobileWebRequestController.java index 98d09709..853786e6 100644 --- a/src/java/org/mxchange/jjobs/beans/contact/mobile/JobsAdminContactMobileWebRequestController.java +++ b/src/java/org/mxchange/jjobs/beans/contact/mobile/JobsAdminContactMobileWebRequestController.java @@ -17,7 +17,6 @@ */ package org.mxchange.jjobs.beans.contact.mobile; -import org.mxchange.jjobs.beans.contact.phone.*; import java.io.Serializable; /** diff --git a/src/java/org/mxchange/jjobs/beans/contact/mobile/JobsContactMobileWebRequestController.java b/src/java/org/mxchange/jjobs/beans/contact/mobile/JobsContactMobileWebRequestController.java index 759c9ae6..fcd4415e 100644 --- a/src/java/org/mxchange/jjobs/beans/contact/mobile/JobsContactMobileWebRequestController.java +++ b/src/java/org/mxchange/jjobs/beans/contact/mobile/JobsContactMobileWebRequestController.java @@ -16,7 +16,6 @@ */ package org.mxchange.jjobs.beans.contact.mobile; -import org.mxchange.jjobs.beans.contact.phone.*; import java.io.Serializable; /** diff --git a/src/java/org/mxchange/jjobs/beans/contact/phone/list/JobsUserListWebViewBean.java b/src/java/org/mxchange/jjobs/beans/contact/phone/list/JobsUserListWebViewBean.java index 909d2d4b..c004266f 100644 --- a/src/java/org/mxchange/jjobs/beans/contact/phone/list/JobsUserListWebViewBean.java +++ b/src/java/org/mxchange/jjobs/beans/contact/phone/list/JobsUserListWebViewBean.java @@ -35,6 +35,8 @@ import org.mxchange.jusercore.events.user.delete.ObservableAdminDeletedUserEvent import org.mxchange.jusercore.events.user.linked.ObservableAdminLinkedUserEvent; import org.mxchange.jusercore.events.user.locked.ObservableAdminLockedUserEvent; import org.mxchange.jusercore.events.user.unlocked.ObservableAdminUnlockedUserEvent; +import org.mxchange.jusercore.events.user.update.post.ObservableAdminPostUserDataUpdatedEvent; +import org.mxchange.jusercore.events.user.update.post.ObservablePostUserPersonalDataUpdatedEvent; import org.mxchange.jusercore.exceptions.UserEmailAddressNotFoundException; import org.mxchange.jusercore.exceptions.UserNotFoundException; import org.mxchange.jusercore.model.user.User; @@ -42,8 +44,6 @@ import org.mxchange.jusercore.model.user.UserSessionBeanRemote; import org.mxchange.juserlogincore.events.confirmation.ObservableUserConfirmedAccountEvent; import org.mxchange.juserlogincore.events.registration.ObservableUserRegisteredEvent; import org.mxchange.juserlogincore.events.user.password_change.ObservableUpdatedUserPasswordEvent; -import org.mxchange.jusercore.events.user.update.post.ObservableAdminPostUserDataUpdatedEvent; -import org.mxchange.jusercore.events.user.update.post.ObservablePostUserPersonalDataUpdatedEvent; /** * A user list bean (controller) diff --git a/src/java/org/mxchange/jjobs/beans/mobile/JobsAdminMobileWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/mobile/JobsAdminMobileWebRequestBean.java index 4b2a7499..5c5f71e3 100644 --- a/src/java/org/mxchange/jjobs/beans/mobile/JobsAdminMobileWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/mobile/JobsAdminMobileWebRequestBean.java @@ -29,6 +29,7 @@ import javax.faces.application.FacesMessage; import javax.inject.Inject; import javax.inject.Named; import org.mxchange.jjobs.beans.BaseJobsBean; +import org.mxchange.jjobs.beans.mobile.list.JobsMobileListWebViewController; import org.mxchange.jphone.events.mobile.created.ObservableCreatedMobileNumberEvent; import org.mxchange.jphone.events.mobile.deleted.AdminDeletedMobileNumberEvent; import org.mxchange.jphone.events.mobile.deleted.AdminMobileNumberDeletedEvent; @@ -40,7 +41,6 @@ import org.mxchange.jphone.model.phonenumbers.mobile.AdminMobileSessionBeanRemot import org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber; import org.mxchange.jphone.model.phonenumbers.mobile.MobileNumber; import org.mxchange.jphone.model.phonenumbers.mobileprovider.MobileProvider; -import org.mxchange.jjobs.beans.mobile.list.JobsMobileListWebViewController; /** * Administrative bean (controller) for mobile numbers diff --git a/src/java/org/mxchange/jjobs/beans/mobileprovider/JobsAdminMobileProviderWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/mobileprovider/JobsAdminMobileProviderWebRequestBean.java index aef82dc1..3ede39cb 100644 --- a/src/java/org/mxchange/jjobs/beans/mobileprovider/JobsAdminMobileProviderWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/mobileprovider/JobsAdminMobileProviderWebRequestBean.java @@ -27,13 +27,13 @@ import javax.inject.Inject; import javax.inject.Named; import org.mxchange.jcountry.model.data.Country; import org.mxchange.jjobs.beans.BaseJobsBean; +import org.mxchange.jjobs.beans.mobileprovider.list.JobsMobileProviderListWebViewController; import org.mxchange.jphone.events.mobileprovider.added.AdminAddedMobileProviderEvent; import org.mxchange.jphone.events.mobileprovider.added.AdminMobileProviderAddedEvent; import org.mxchange.jphone.exceptions.mobileprovider.MobileProviderAlreadyAddedException; import org.mxchange.jphone.model.phonenumbers.mobileprovider.AdminMobileProviderSessionBeanRemote; import org.mxchange.jphone.model.phonenumbers.mobileprovider.CellphoneProvider; import org.mxchange.jphone.model.phonenumbers.mobileprovider.MobileProvider; -import org.mxchange.jjobs.beans.mobileprovider.list.JobsMobileProviderListWebViewController; /** * Administrative controller (bean) for mobile provider diff --git a/src/java/org/mxchange/jjobs/beans/phone/JobsAdminPhoneWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/phone/JobsAdminPhoneWebRequestBean.java index bcbf0c0e..eb44638c 100644 --- a/src/java/org/mxchange/jjobs/beans/phone/JobsAdminPhoneWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/phone/JobsAdminPhoneWebRequestBean.java @@ -30,6 +30,7 @@ import javax.inject.Inject; import javax.inject.Named; import org.mxchange.jcountry.model.data.Country; import org.mxchange.jjobs.beans.BaseJobsBean; +import org.mxchange.jjobs.beans.phone.list.JobsPhoneListWebViewController; import org.mxchange.jphone.events.fax.created.ObservableCreatedFaxNumberEvent; import org.mxchange.jphone.events.fax.deleted.AdminDeletedFaxNumberEvent; import org.mxchange.jphone.events.fax.deleted.AdminFaxNumberDeletedEvent; @@ -51,7 +52,6 @@ import org.mxchange.jphone.model.phonenumbers.landline.DialableLandLineNumber; import org.mxchange.jphone.model.phonenumbers.landline.LandLineNumber; import org.mxchange.jphone.model.phonenumbers.mobileprovider.MobileProvider; import org.mxchange.jphone.model.phonenumbers.phone.AdminPhoneSessionBeanRemote; -import org.mxchange.jjobs.beans.phone.list.JobsPhoneListWebViewController; /** * Administrative controller (bean) for phone numbers diff --git a/src/java/org/mxchange/jjobs/validator/jobs/skill/JobsSkillNameValidator.java b/src/java/org/mxchange/jjobs/validator/jobs/skill/JobsSkillNameValidator.java index 0858be90..2227cbf5 100644 --- a/src/java/org/mxchange/jjobs/validator/jobs/skill/JobsSkillNameValidator.java +++ b/src/java/org/mxchange/jjobs/validator/jobs/skill/JobsSkillNameValidator.java @@ -40,6 +40,11 @@ public class JobsSkillNameValidator extends BaseStringValidator { */ private static JobsSkillListWebViewController SKILL_LIST_CONTROLLER; + /** + * Serial number + */ + private static final long serialVersionUID = 27_587_896_710_689_461L; + /** * Attribute checkExisting */ @@ -63,11 +68,6 @@ public class JobsSkillNameValidator extends BaseStringValidator { this.checkExisting = checkExisting; } - /** - * Serial number - */ - private static final long serialVersionUID = 27_587_896_710_689_461L; - @Override public void validate (final FacesContext context, final UIComponent component, final Object value) throws ValidatorException { // All accepted, required fields -- 2.39.5