]> git.mxchange.org Git - addressbook-war.git/blobdiff - src/java/org/mxchange/addressbook/beans/data/AddressbookDataWebApplicationBean.java
Don't cherry-pick:
[addressbook-war.git] / src / java / org / mxchange / addressbook / beans / data / AddressbookDataWebApplicationBean.java
index 6559e76bbbfc38e2e8cf46ffc17af2a60a57f20f..6c34ea3d357fedf6e368a2220db27190b24fd21d 100644 (file)
@@ -19,7 +19,10 @@ package org.mxchange.addressbook.beans.data;
 import javax.enterprise.context.ApplicationScoped;
 import javax.inject.Named;
 import org.mxchange.addressbook.beans.BaseAddressbookBean;
-import org.mxchange.jproduct.model.payment.PaymentType;
+import org.mxchange.jcontacts.model.contact.title.PersonalTitle;
+import org.mxchange.jcoreee.dates.DayOfTheWeek;
+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,39 @@ public class AddressbookDataWebApplicationBean extends BaseAddressbookBean {
        }
 
        /**
-        * 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>
+        * @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();
        }
 
 }