com.evasion.module.common.IAccountManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of API Show documentation
Show all versions of API Show documentation
API de l'application modulaire evasion-en-ligne
The newest version!
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.evasion.module.common;
import com.evasion.exception.EvasionException;
import com.evasion.exception.PersistenceViolationException;
import com.evasion.module.common.entity.AccountDTO;
import java.util.List;
/**
*
* @author sebastien.glon
*/
public interface IAccountManager {
AccountDTO createAccount(AccountDTO account) throws EvasionException;
void deleteAccount(AccountDTO u);
AccountDTO updateAccount(AccountDTO u);
/**
* Renvoi la liste des tous les comptes utilisateurs.
* @return liste des comptes utilisateurs.
*/
List listAllAccount();
AccountDTO findAccountByUsername(String username);
}