/*
 * Created on 2004-10-22
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.ibatis.jpetstore.service;

import java.util.List;

import com.ibatis.jpetstore.domain.Account;

/**
 * @author peter.cheng TODO To change the template for this generated type
 *         comment go to Window - Preferences - Java - Code Style - Code
 *         Templates
 */
public interface AccountService {

    public Account getAccount(String username);

    public Account getAccount(String username, String password);

    public void insertAccount(Account account);

    public void updateAccount(Account account);

    public List getUsernameList();

}