com.cherokeesoft.db.utils.api.CommonModelDao Maven / Gradle / Ivy
package com.cherokeesoft.db.utils.api;
import com.cherokeesoft.db.utils.exception.DataException;
public abstract class CommonModelDao implements GetModelDao, DeleteModelDao, InsertModelDao, UpdateModelDao {
@Override
public int delete(I i) throws DataException {
return DeleteModelDao.super.delete(i);
}
@Override
public M get(F f) throws DataException {
return GetModelDao.super.get(f);
}
@Override
public I insert(M m) throws DataException {
return InsertModelDao.super.insert(m);
}
@Override
public int update(M m) throws DataException {
return UpdateModelDao.super.update(m);
}
}