]> git.mxchange.org Git - jjobs-war.git/blobdiff - src/java/org/mxchange/jjobs/beans/data/JobsDataWebApplicationBean.java
Updated copyright year
[jjobs-war.git] / src / java / org / mxchange / jjobs / beans / data / JobsDataWebApplicationBean.java
index 4324ba7d95e0cc9bd96a2937447ef26729d8d82d..e7a59b27fed1b001e3c77fa953caa8b414abf6db 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017 Roland Haeder<roland@mxchange.org>
+ * 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
         * <p>
-        * @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
+        * <p>
+        * @return An array of all personal titles
+        */
+       public PersonalTitle[] getPersonalTitles () {
+               return PersonalTitle.values();
+       }
+
+       /**
+        * Returns an array of all profile modes <p
+        * <p>
+        * @return An array of all profile modes
+        */
+       public ProfileMode[] getProfileModes () {
+               return ProfileMode.values();
+       }
+
+       /**
+        * Returns an array of all user account statuses
+        * <p>
+        * @return An array of all user account statuses
+        */
+       public UserAccountStatus[] getUserAccountStatuses () {
+               return UserAccountStatus.values();
+       }
 }