Package org.simplecart.dao

Source Code of org.simplecart.dao.SalesOrderDAO

package org.simplecart.dao;

import org.simplecart.contract.salesorder.SalesOrder;
import org.simplecart.contract.salesorder.InternetSalesOrder;
import net.sf.hibernate.*;

public class SalesOrderDAO extends BaseDAO {

    public SalesOrderDAO() {
        super();
        DAOClassType = InternetSalesOrder.class;
    }

    /**
     * @return SalesOrder by ID
     * @param id
     * @param lock
     */
    public SalesOrder findById(Long id, boolean lock) throws HibernateException {
        SalesOrder order = null;

        order = (SalesOrder) abstractFindById(id, lock);
        return order;
    }
}
TOP

Related Classes of org.simplecart.dao.SalesOrderDAO

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.