X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Fjava%2Forg%2Fmxchange%2Fjjobs%2Fbeans%2Fdata%2FJobsDataWebApplicationBean.java;h=e7a59b27fed1b001e3c77fa953caa8b414abf6db;hb=ea5dd0850cbd87a842e8f50e8e48a5dc5590bd87;hp=4324ba7d95e0cc9bd96a2937447ef26729d8d82d;hpb=289f7559aa53350194deaf178efc04c923d883df;p=jjobs-war.git diff --git a/src/java/org/mxchange/jjobs/beans/data/JobsDataWebApplicationBean.java b/src/java/org/mxchange/jjobs/beans/data/JobsDataWebApplicationBean.java index 4324ba7d..e7a59b27 100644 --- a/src/java/org/mxchange/jjobs/beans/data/JobsDataWebApplicationBean.java +++ b/src/java/org/mxchange/jjobs/beans/data/JobsDataWebApplicationBean.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Roland Haeder + * Copyright (C) 2017 - 2020 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -18,8 +18,11 @@ package org.mxchange.jjobs.beans.data; import javax.enterprise.context.ApplicationScoped; import javax.inject.Named; +import org.mxchange.jcontacts.model.contact.title.PersonalTitle; +import org.mxchange.jcontactsbusiness.model.opening_time.dayofweek.DayOfTheWeek; import org.mxchange.jjobs.beans.BaseJobsBean; -import org.mxchange.jproduct.model.payment.PaymentType; +import org.mxchange.jusercore.model.user.profilemodes.ProfileMode; +import org.mxchange.jusercore.model.user.status.UserAccountStatus; /** * An application-scoped data bean for any kind of static data @@ -44,12 +47,38 @@ public class JobsDataWebApplicationBean extends BaseJobsBean { } /** - * Returns a list of all payment types + * Returns an array of all days of the week *

- * @return A list of all payment types + * @return An array of all days of the week */ - public PaymentType[] getPaymentTypes () { - return PaymentType.values(); + public DayOfTheWeek[] getDayOfTheWeek () { + return DayOfTheWeek.values(); } + /** + * Returns an array of all personal titles + *

+ * @return An array of all personal titles + */ + public PersonalTitle[] getPersonalTitles () { + return PersonalTitle.values(); + } + + /** + * Returns an array of all profile modes

+ * @return An array of all profile modes + */ + public ProfileMode[] getProfileModes () { + return ProfileMode.values(); + } + + /** + * Returns an array of all user account statuses + *

+ * @return An array of all user account statuses + */ + public UserAccountStatus[] getUserAccountStatuses () { + return UserAccountStatus.values(); + } }