+ @Override
+ @SuppressWarnings ("unchecked")
+ public List<Contact> getAllContacts () {
+ // Log trace message
+ this.getLoggerBeanLocal().logTrace("getAllContacts - CALLED!"); //NOI18N
+
+ // Create query instance
+ Query query = this.getEntityManager().createNamedQuery("AllContacts", List.class); //NOI18N
+
+ // Get list
+ List<Contact> contacts = query.getResultList();
+
+ // Log trace message
+ this.getLoggerBeanLocal().logTrace(MessageFormat.format("getAllContacts: contacts.size()={0} - EXIT!", contacts.size())); //NOI18N
+
+ // Return it
+ return contacts;
+ }
+
+ @Override
+ @SuppressWarnings ("unchecked")
+ public List<String> getEmailAddressList () {
+ // Log trace message
+ this.getLoggerBeanLocal().logTrace("getEmailAddressList - CALLED!"); //NOI18N
+
+ // Create query instance
+ Query query = this.getEntityManager().createNamedQuery("AllContactEmailAddresses", List.class); //NOI18N
+
+ // Get list
+ List<String> emailAddresses = query.getResultList();
+
+ // Log trace message
+ this.getLoggerBeanLocal().logTrace(MessageFormat.format("getEmailAddressList: emailAddresses.size()={0} - EXIT!", emailAddresses.size())); //NOI18N
+
+ // Return it
+ return emailAddresses;
+ }
+
+ @Override
+ public void updateContactPersonalData (final Contact contact) {
+ throw new UnsupportedOperationException("Not supported yet."); //NOI18N
+ }
+