public class ScriptBackupManager extends ru.bitel.common.dao.AbstractIdDao<ScriptBackup>
Constructor and Description |
---|
ScriptBackupManager(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
void |
deleteBackups(int scriptId,
int type)
Удаляем все бэкапы скрипта.
|
protected ScriptBackup |
getFromRS(java.sql.ResultSet rs) |
java.util.List<ScriptBackup> |
list(int scriptId,
int type) |
protected void |
updateImpl(ScriptBackup b) |
delete, get, getAndDelete, getAndUpdate
close, delete, deleteImpl, eq, get, getById, getImpl, getListFromRS, getPeriod, getSQLOrder, getTableName, list, list, listImpl, listImpl, listImplPS, listImplPS, ormFromResultSet, ormUpdateImpl, ormUpdateImpl, processException, recycle, setStatementParam, update
protected void updateImpl(ScriptBackup b) throws ru.bitel.bgbilling.common.BGException, java.sql.SQLException
updateImpl
in class ru.bitel.common.dao.AbstractDao<ScriptBackup>
ru.bitel.bgbilling.common.BGException
java.sql.SQLException
public java.util.List<ScriptBackup> list(int scriptId, int type) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGException
public void deleteBackups(int scriptId, int type) throws ru.bitel.bgbilling.common.BGException
scriptId
- код скрипта.ru.bitel.bgbilling.common.BGException
protected ScriptBackup getFromRS(java.sql.ResultSet rs) throws java.sql.SQLException, ru.bitel.bgbilling.common.BGException
getFromRS
in class ru.bitel.common.dao.AbstractDao<ScriptBackup>
java.sql.SQLException
ru.bitel.bgbilling.common.BGException