public class ContractObjectDAO extends BillingDAO
dbInfo, transferData, user
Constructor and Description |
---|
ContractObjectDAO(User user,
DBInfo dbInfo) |
ContractObjectDAO(User user,
java.lang.String billingId) |
Modifier and Type | Method and Description |
---|---|
void |
deleteContractObject(int contractId,
int objectId) |
ContractObject |
getContractObject(int objectId) |
java.util.List<ContractObject> |
getContractObjects(int contractId) |
void |
updateContractObject(ContractObject object) |
void |
updateContractObject(int objectId,
java.lang.String title,
java.util.Date dateFrom,
java.util.Date dateTo,
int typeId) |
doRequest, getDbInfo, getPage, getParameterId, setPage
public ContractObjectDAO(User user, java.lang.String billingId) throws BGException
BGException
public ContractObjectDAO(User user, DBInfo dbInfo) throws BGException
BGException
public ContractObject getContractObject(int objectId) throws BGException
BGException
public void deleteContractObject(int contractId, int objectId) throws BGException
BGException
public void updateContractObject(ContractObject object)
public void updateContractObject(int objectId, java.lang.String title, java.util.Date dateFrom, java.util.Date dateTo, int typeId)
public java.util.List<ContractObject> getContractObjects(int contractId) throws BGException
BGException