Package org.simplecart.dao

Source Code of org.simplecart.dao.AdministratorDAO

/*
* AdministratorDAO.java
*
* Created on February 11, 2005, 5:58 PM
*/

package org.simplecart.dao;

import org.simplecart.administration.Administrator;
import net.sf.hibernate.*;

/**
*
* @author Daniel Watrous
*/
public class AdministratorDAO extends BaseDAO {
   
    //private Class DAOClassType = Administrator.class;
   
    /** Creates a new instance of AdministratorDAO */
    public AdministratorDAO() {
        super();
        DAOClassType = Administrator.class;
    }
   
    /**
     * @return administrator
     * @param id
     * @param lock
     */
    public Administrator findById(Long id, boolean lock) throws HibernateException {
        Administrator administrator = null;
       
        administrator = (Administrator) abstractFindById(id, lock);
        return administrator;
    }
}
TOP

Related Classes of org.simplecart.dao.AdministratorDAO

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.