public HcpLiteVoCollection listHCPs(HcpFilter filter) throws DomainInterfaceException {
   HcpAdmin hcpAdmin = (HcpAdmin) getDomainImpl(HcpAdminImpl.class);
   if (filter != null && filter.getQueryNameIsNotNull())
     return hcpAdmin.listHcpLiteByName(filter.getQueryName().getSurname());
   else return null;
 }
 public HcpLiteVoCollection listHCPs(String strHcpName) {
   HcpAdmin hcpAdmin = (HcpAdmin) getDomainImpl(HcpAdminImpl.class);
   return hcpAdmin.listHcpLiteByName(strHcpName);
 }