
org.eweb4j.solidbase.code.dao.CodeDAO Maven / Gradle / Ivy
The newest version!
package org.eweb4j.solidbase.code.dao;
import java.util.List;
import org.eweb4j.solidbase.code.model.Code;
import org.eweb4j.solidbase.code.model.CodeException;
public interface CodeDAO {
public List selectPage(int pageNum, int numPerPage)
throws CodeException;
public long countAll() throws CodeException;
public List selectPageByCodeTypeId(long codeTypeId, int pageNum,
int numPerPage) throws CodeException;
public long countByCodeTypeId(long codeTypeId) throws CodeException;
public Code selectOneByCodeId(long codeId) throws CodeException;
public void deleteByCodeId(long codeId) throws CodeException;
public long insert(Code code) throws CodeException;
public Code selectOneByCodeValue(String codeValue) throws CodeException;
public Code selectOneByRemark(String remark) throws CodeException;
public void update(Code code) throws CodeException;
public void cascadeSelect(Code[] codes, String... fields)
throws CodeException;
public List selectPageByCodeTypeIdAndParentId(long codeTypeId,
long parentId, int pageNum, int numPerPage) throws CodeException;
public List selectByCodeTypeIdAndParentIdAndCodeValue(
long codeTypeId, long parentId, String codeValue)
throws CodeException;
public long countByCodeTypeIdAndParentId(long codeTypeId, long parentId)
throws CodeException;
public List selectByCodeTypeIdAndCodeVal(long codeTypeId,
String inputValue) throws CodeException;
public List selectByCodeTypeIdAndIdInPIdsAndCodeVal(long codeTypeId,
String inputValue) throws CodeException;
public long insert(String[] fields, Object... values) throws CodeException;
public void update(String[] fields, Object[] values) throws CodeException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy