package org.ovirt.engine.core.bll.tasks.interfaces;

import org.ovirt.engine.core.common.businessentities.AsyncTask;
import org.ovirt.engine.core.compat.Guid;

import java.util.List;

public interface AsyncTaskCRUDOperations {
    public abstract List<AsyncTask> getAllAsyncTasksFromDb();
    public abstract void saveAsyncTaskToDb(AsyncTask asyncTask);
    public abstract AsyncTask getAsyncTaskFromDb(Guid asyncTaskId);
    public abstract int removeTaskFromDbByTaskId(Guid taskId) throws RuntimeException;
    public abstract AsyncTask getByVdsmTaskId(Guid vdsmTaskId);
    public abstract int removeByVdsmTaskId(Guid vdsmTaskId);
    public abstract void addOrUpdateTaskInDB(AsyncTask asyncTask);
}

@@ -46,16 +46,40 @@
 faces;%0A%0A
+import java.util.List;%0A%0A
 import o
@@ -181,32 +181,8 @@
 d;%0A%0A
-import java.util.List;%0A%0A
 publ
@@ -220,35 +220,20 @@
 tions %7B%0A
- 
+%0A
    
-public abstract
  List%3CAs
@@ -267,36 +267,21 @@
 omDb();%0A
+%0A
     
-public abstract 
 void sav
@@ -317,36 +317,21 @@
 cTask);%0A
+%0A
     
-public abstract 
 AsyncTas
@@ -370,36 +370,21 @@
 askId);%0A
+%0A
     
-public abstract 
 int remo
@@ -442,36 +442,21 @@
 eption;%0A
+%0A
     
-public abstract 
 AsyncTas
@@ -491,36 +491,21 @@
 askId);%0A
+%0A
     
-public abstract 
 int remo
@@ -541,27 +541,12 @@
 d);%0A
+%0A
    
- public abstract
  voi

Format and remove default modifiers from AsyncTaskCRUDOperations