public class VidimaxClientPairDataDao extends ru.bitel.common.dao.AbstractDao<VidimaxClientPairData>
Constructor and Description |
---|
VidimaxClientPairDataDao(java.sql.Connection con,
int mid) |
Modifier and Type | Method and Description |
---|---|
void |
deleteByContractId(int contractId) |
VidimaxClientPairData |
getByContractid(int contractId) |
VidimaxClientPairData |
getByCustomerId(java.lang.String customerId) |
protected VidimaxClientPairData |
getFromRS(java.sql.ResultSet rs) |
void |
pairAccountUpdate(VidimaxClientPairData pairData,
boolean pair) |
protected void |
updateImpl(VidimaxClientPairData pairData) |
public VidimaxClientPairDataDao(java.sql.Connection con, int mid)
public VidimaxClientPairData getByContractid(int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public VidimaxClientPairData getByCustomerId(java.lang.String customerId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void pairAccountUpdate(VidimaxClientPairData pairData, boolean pair) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected VidimaxClientPairData getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<VidimaxClientPairData>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
public void deleteByContractId(int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(VidimaxClientPairData pairData) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<VidimaxClientPairData>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException