public class ClientServiceImpl extends FaxToMailServiceSupport implements ClientService
serviceContext| Constructor and Description |
|---|
ClientServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fetchCompaniesFromFolders(Collection<MailFolder> folders,
Set<String> companies) |
List<Client> |
getAllClientsForUser(FaxToMailUser user) |
Client |
getClientForCode(String code,
String company)
Recherche un client par code et société.
|
List<Client> |
getClientForEmailAddress(String emailAddress,
Email email,
String company,
List<String> brands)
Recherche le client qui correspond à l'adresse email de l'expediteur du mail.
|
List<Client> |
getClientsForFolder(MailFolder folder) |
void |
updateNewClients()
Récupère les information de la table NewClient pour mettre à jour la table Client.
|
getApplicationConfig, getClientService, getConfigurationService, getDecoratorService, getEmailService, getMailFolderService, getNow, getPersistenceContext, getReferentielService, newService, setServiceContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetServiceContextpublic List<Client> getClientForEmailAddress(String emailAddress, Email email, String company, List<String> brands)
email !getClientForEmailAddress in interface ClientServiceemailAddress - sender addressemail - emailcompany - company of the clientnull)public Client getClientForCode(String code, String company)
getClientForCode in interface ClientServicecode - client codecompany - public List<Client> getClientsForFolder(MailFolder folder)
getClientsForFolder in interface ClientServicepublic void updateNewClients()
updateNewClients in interface ClientServicepublic List<Client> getAllClientsForUser(FaxToMailUser user)
getAllClientsForUser in interface ClientServiceprotected void fetchCompaniesFromFolders(Collection<MailFolder> folders, Set<String> companies)
Copyright © 2014–2015 CodeLutin. All rights reserved.