package org.mxchange.jfinancials.beans.contact.phone;
import java.text.MessageFormat;
-import java.util.Calendar;
+import java.util.Date;
import javax.ejb.EJB;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.event.Event;
/**
* When fax number has been created
*/
- private Calendar phoneEntryCreated;
+ private Date phoneEntryCreated;
/**
* When fax number has been updated
*/
- private Calendar phoneEntryUpdated;
+ private Date phoneEntryUpdated;
/**
* Phone id (primary key)
* @param faxNumberEntryCreated Phone entry created
*/
@SuppressWarnings ("ReturnOfDateField")
- private Calendar getPhoneEntryCreated () {
+ private Date getPhoneEntryCreated () {
return this.phoneEntryCreated;
}
* @param phoneEntryCreated Phone entry created
*/
@SuppressWarnings ("AssignmentToDateFieldFromParameter")
- private void setPhoneEntryCreated (final Calendar phoneEntryCreated) {
+ private void setPhoneEntryCreated (final Date phoneEntryCreated) {
this.phoneEntryCreated = phoneEntryCreated;
}
* @return Phone entry updated
*/
@SuppressWarnings ("ReturnOfDateField")
- private Calendar getPhoneEntryUpdated () {
+ private Date getPhoneEntryUpdated () {
return this.phoneEntryUpdated;
}
* @param phoneEntryUpdated Phone entry updated
*/
@SuppressWarnings ("AssignmentToDateFieldFromParameter")
- private void setPhoneEntryUpdated (final Calendar phoneEntryUpdated) {
+ private void setPhoneEntryUpdated (final Date phoneEntryUpdated) {
this.phoneEntryUpdated = phoneEntryUpdated;
}
package org.mxchange.jfinancials.beans.phone;
import java.text.MessageFormat;
-import java.util.Calendar;
+import java.util.Date;
import java.util.List;
import java.util.Objects;
import javax.ejb.EJB;
/**
* When the phone entry has been created (persisted)
*/
- private Calendar phoneEntryCreated;
+ private Date phoneEntryCreated;
/**
* When the phone entry has been updated
*/
- private Calendar phoneEntryUpdated;
+ private Date phoneEntryUpdated;
/**
* Phone id (aka primary key)
* @return Phone entry created timestamp
*/
@SuppressWarnings ("ReturnOfDateField")
- public Calendar getPhoneEntryCreated () {
+ public Date getPhoneEntryCreated () {
return this.phoneEntryCreated;
}
* @param phoneEntryCreated Phone entry created timestamp
*/
@SuppressWarnings ("AssignmentToDateFieldFromParameter")
- public void setPhoneEntryCreated (final Calendar phoneEntryCreated) {
+ public void setPhoneEntryCreated (final Date phoneEntryCreated) {
this.phoneEntryCreated = phoneEntryCreated;
}
* @return Phone entry updated timestamp
*/
@SuppressWarnings ("ReturnOfDateField")
- public Calendar getPhoneEntryUpdated () {
+ public Date getPhoneEntryUpdated () {
return this.phoneEntryUpdated;
}
* @param phoneEntryUpdated Phone entry updated timestamp
*/
@SuppressWarnings ("AssignmentToDateFieldFromParameter")
- public void setPhoneEntryUpdated (final Calendar phoneEntryUpdated) {
+ public void setPhoneEntryUpdated (final Date phoneEntryUpdated) {
this.phoneEntryUpdated = phoneEntryUpdated;
}
import fish.payara.cdi.jsr107.impl.NamedCache;
import java.text.MessageFormat;
import java.util.Collections;
-import java.util.GregorianCalendar;
+import java.util.Date;
import java.util.LinkedList;
import java.util.List;
import javax.annotation.PostConstruct;
}
// Create new activity object
- final LogableUserActivity userActivity = new UserActivityLog(activityType, user, new GregorianCalendar(), this.determinePrincipalName());
+ final LogableUserActivity userActivity = new UserActivityLog(activityType, user, new Date(), this.determinePrincipalName());
// Call bean to add it
this.userActivityBean.addUserActivityLog(userActivity);
}
// Create new activity object
- final LogableUserActivity userActivity = new UserActivityLog(message, activityType, user, new GregorianCalendar(), this.determinePrincipalName());
+ final LogableUserActivity userActivity = new UserActivityLog(message, activityType, user, new Date(), this.determinePrincipalName());
// Call bean to add it
this.userActivityBean.addUserActivityLog(userActivity);
LABEL_COMPANY_EMPLOYEES=Mitarbeiter
FILTER_BY_MULTIPLE_COMPANY_EMPLOYEES_TITLE=Liste durch Auswahl von ein oder mehr Mitarbeiter durchsuchen.
ADMIN_ENTER_BRANCH_OFFICE_NUMBER=Filialnummer eingeben:
+#@TODO Please fix German umlauts!
+ADMIN_SELECT_BRANCH_OFFICE=Filiale auswaehlen:
+#@TODO Please fix German umlauts!
+PLEASE_SELECT=Bitte auswaehlen
+#@TODO Please fix German umlauts!
+ADMIN_SELECT_PAYMENT_TYPE=Bezahlungsart auswaehlen:
+PAYMENT_TYPE_CASH=Bargeld
+PAYMENT_TYPE_CREDIT_CARD=Kreditkarte
+PAYMENT_TYPE_DEBIT_CARD=Kundenkarte
+PAYMENT_TYPE_PREPAYMENT=Vorkasse
+PAYMENT_TYPE_INVOICE=Auf Rechnung
LABEL_COMPANY_EMPLOYEES=Employees
FILTER_BY_MULTIPLE_COMPANY_EMPLOYEES_TITLE=Filter list by selecting one or more employees.
ADMIN_ENTER_BRANCH_OFFICE_NUMBER=Enter branch office number:
+ADMIN_SELECT_BRANCH_OFFICE=Select branch office:
+PLEASE_SELECT=Please select
+ADMIN_SELECT_PAYMENT_TYPE=Select payment type:
+PAYMENT_TYPE_CASH=Cash
+PAYMENT_TYPE_CREDIT_CARD=Credit card
+PAYMENT_TYPE_DEBIT_CARD=Debit card
+PAYMENT_TYPE_PREPAYMENT=Prepayment
+PAYMENT_TYPE_INVOICE=Per invoice