All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.evasion.module.common.IAccountManager Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy