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

import java.util.List;

import org.ovirt.engine.core.bll.CommandBase;
import org.ovirt.engine.core.bll.context.CommandContext;
import org.ovirt.engine.core.common.action.VdcActionParametersBase;
import org.ovirt.engine.core.common.action.VdcActionType;
import org.ovirt.engine.core.common.businessentities.CommandEntity;
import org.ovirt.engine.core.compat.CommandStatus;
import org.ovirt.engine.core.compat.DateTime;
import org.ovirt.engine.core.compat.Guid;

public interface CommandCRUDOperations {
    public boolean hasCommandEntitiesWithRootCommandId(Guid rootCommandId);
    public CommandEntity createCommandEntity(Guid cmdId, VdcActionType actionType, VdcActionParametersBase params);
    public List<Guid> getChildCommandIds(Guid commandId);
    public CommandEntity getCommandEntity(Guid commandId);
    public CommandStatus getCommandStatus(Guid commandId);
    public List<CommandEntity> getCommandsWithCallBackEnabled();
    public void persistCommand(CommandEntity cmdEntity);
    public void persistCommand(CommandEntity cmdEntity, CommandContext cmdContext);
    public CommandBase<?> retrieveCommand(Guid commandId);
    public void removeCommand(Guid commandId);
    public void removeAllCommandsInHierarchy(Guid commandId);
    public void removeAllCommandsBeforeDate(DateTime cutoff);
    public void updateCommandStatus(Guid commandId, CommandStatus status);
    public void updateCommandExecuted(Guid commandId);
    public void updateCallbackNotified(Guid commandId);
    public List<CommandEntity> getChildCmdsByParentCmdId(Guid cmdId);
}

@@ -548,26 +548,20 @@
 tions %7B%0A
- 
+%0A
    
-public
  boolean
@@ -614,34 +614,28 @@
 CommandId);%0A
- 
+%0A
    
-public
  CommandEnti
@@ -728,26 +728,20 @@
 arams);%0A
- 
+%0A
    
-public
  List%3CGu
@@ -776,34 +776,28 @@
 commandId);%0A
- 
+%0A
    
-public
  CommandEnti
@@ -833,26 +833,20 @@
 andId);%0A
- 
+%0A
    
-public
  Command
@@ -882,34 +882,28 @@
 commandId);%0A
- 
+%0A
    
-public
  List%3CComman
@@ -945,26 +945,20 @@
 bled();%0A
- 
+%0A
    
-public
  void pe
@@ -996,26 +996,20 @@
 ntity);%0A
- 
+%0A
    
-public
  void pe
@@ -1074,26 +1074,20 @@
 ntext);%0A
- 
+%0A
    
-public
  Command
@@ -1123,34 +1123,28 @@
 commandId);%0A
- 
+%0A
    
-public
  void remove
@@ -1164,34 +1164,28 @@
 commandId);%0A
- 
+%0A
    
-public
  void remove
@@ -1220,34 +1220,28 @@
 commandId);%0A
- 
+%0A
    
-public
  void remove
@@ -1280,26 +1280,20 @@
 utoff);%0A
- 
+%0A
    
-public
  void up
@@ -1349,26 +1349,20 @@
 tatus);%0A
- 
+%0A
    
-public
  void up
@@ -1398,26 +1398,20 @@
 andId);%0A
- 
+%0A
    
-public
  void up
@@ -1452,18 +1452,12 @@
 d);%0A
- 
+%0A
    
-public
  Lis

Format code and remove default access modifiers