
org.eweb4j.solidbase.department.dao.DepartmentDAO Maven / Gradle / Ivy
The newest version!
package org.eweb4j.solidbase.department.dao;
import java.util.List;
import org.eweb4j.solidbase.code.model.Code;
import org.eweb4j.solidbase.department.model.Department;
import org.eweb4j.solidbase.department.model.DepartmentException;
public interface DepartmentDAO {
public long insert(Department department) throws DepartmentException;
public List divPage(int pageNum, int numPerPage)
throws DepartmentException;
public long countAll() throws DepartmentException;
public void delete(long departId) throws DepartmentException;
public void cascadeSelect(Department... department)
throws DepartmentException;
public Department selectOneByDepartId(long departId)
throws DepartmentException;
public List joinCodeSelectByCodeTypeId(long codeTypeId)
throws DepartmentException;
public void update(Department department) throws DepartmentException;
public List selectDepartmentByParentId(long parentId,
final long departTypeId) throws DepartmentException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy