/*
 * 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 com.ibatis.common.util.PaginatedList;
import com.ibatis.jpetstore.domain.Order;

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

    /* ORDER */

    public void insertOrder(Order order);

    public Order getOrder(int orderId);

    public PaginatedList getOrdersByUsername(String username);

    public int getNextId(String key);

}