com.cherokeesoft.db.utils.api.DeleteModelDao Maven / Gradle / Ivy
package com.cherokeesoft.db.utils.api;
import com.cherokeesoft.db.utils.exception.DataException;
import org.springframework.transaction.annotation.Transactional;
import java.util.Arrays;
import java.util.List;
@Deprecated
public interface DeleteModelDao {
int batchDelete(List ids) throws DataException;
default int delete(ID id) throws DataException {
return batchDelete(Arrays.asList(id));
}
}