public class ContractDocTypeManager
extends java.lang.Object
Constructor and Description |
---|
ContractDocTypeManager(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
void |
addContractType(ContractDocType contractType) |
boolean |
checkDocTypeExist(ContractDocType contractType) |
void |
deleteContractType(int id) |
void |
deleteContractType(int cid,
int docType) |
ContractDocType |
getContractDocType(int id) |
java.util.List<DocType> |
getContractDocTypeList(int cid,
int type) |
java.util.List<ContractDocType> |
getContractTypeList(int cid,
int type,
java.lang.String docTypes) |
public ContractDocTypeManager(java.sql.Connection con, int mid)
public ContractDocType getContractDocType(int id)
public java.util.List<ContractDocType> getContractTypeList(int cid, int type, java.lang.String docTypes)
public java.util.List<DocType> getContractDocTypeList(int cid, int type)
public void addContractType(ContractDocType contractType)
public boolean checkDocTypeExist(ContractDocType contractType)
public void deleteContractType(int id)
public void deleteContractType(int cid, int docType)