insensa.commands
Interface ModelCommand

All Known Subinterfaces:
ISolution
All Known Implementing Classes:
AbstractModelCommand, CreateUserCommand, DeleteProjectCommand, ImportConfigCommand, ImportFilesCommand, ImportFolderCommand, ImportProjectCommand, ImportProjectCommand.DeleteFolderSolution, LinkFileCommand, MoveFileCommand, OpenProjectCommand, RenameFileSetCommand, RenameRasterFileCommand

public interface ModelCommand


Method Summary
 boolean check()
           
 void createDependendCommands()
           
 void execute()
           
 ICommandProblem getProblem()
           
 WorkerStatus getWorkerStatus()
           
 void retry()
           
 void setWorkerStatus(WorkerStatus wStatus)
           
 void undo()
           
 

Method Detail

check

boolean check()
Returns:

createDependendCommands

void createDependendCommands()

execute

void execute()
             throws java.io.IOException,
                    CRasterFileException
Throws:
java.io.IOException
org.jdom.JDOMException
CRasterFileException

getProblem

ICommandProblem getProblem()
Returns:

getWorkerStatus

WorkerStatus getWorkerStatus()
Returns:

retry

void retry()
           throws java.io.IOException,
                  CRasterFileException
Throws:
java.io.IOException
org.jdom.JDOMException
CRasterFileException

setWorkerStatus

void setWorkerStatus(WorkerStatus wStatus)
Parameters:
wStatus -

undo

void undo()
          throws java.io.IOException,
                 CRasterFileException
Throws:
java.io.IOException
org.jdom.JDOMException
CRasterFileException