public class EnazaAccessTokenDao extends ru.bitel.common.dao.AbstractDao<EnazaAccessToken>
Constructor and Description |
---|
EnazaAccessTokenDao(java.sql.Connection con,
int moduleId) |
Modifier and Type | Method and Description |
---|---|
EnazaAccessToken |
getEnazaAccessTokenByAccessToken(java.lang.String accessToken) |
EnazaAccessToken |
getEnazaAccessTokenByCode(java.lang.String code) |
EnazaAccessToken |
getEnazaAccessTokenByContractId(int contractId) |
protected EnazaAccessToken |
getFromRS(java.sql.ResultSet rs) |
protected void |
updateImpl(EnazaAccessToken enazaAccessToken) |
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, update
public EnazaAccessTokenDao(java.sql.Connection con, int moduleId)
public EnazaAccessToken getEnazaAccessTokenByAccessToken(java.lang.String accessToken) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public EnazaAccessToken getEnazaAccessTokenByCode(java.lang.String code) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public EnazaAccessToken getEnazaAccessTokenByContractId(int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
protected EnazaAccessToken getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<EnazaAccessToken>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException
protected void updateImpl(EnazaAccessToken enazaAccessToken) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<EnazaAccessToken>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException