19 package org.turro.contacts.service;
21 import java.util.Date;
22 import org.turro.auth.Authentication;
23 import org.turro.contacts.ContactService;
24 import org.turro.contacts.db.ContactsPU;
25 import org.turro.i18n.I_;
26 import org.turro.jpa.Dao;
27 import org.turro.jpa.entity.DaoEntity;
28 import org.turro.plugin.contacts.IContact;
50 return I_.
get(
"Service");
56 }
catch(Exception ex) {
63 return contact !=
null && contact.
isValid() && contact.
getId().equals(
entity.getIResponsible().getId());
68 if(
entity.getCreation() ==
null) {
69 entity.setCreation(
new Date());
static IContact getIContact()
static String get(String msg)