insensa.commands
Class ImportConfigCommand

java.lang.Object
  extended by insensa.commands.AbstractModelCommand
      extended by insensa.commands.ImportConfigCommand
All Implemented Interfaces:
ModelCommand

public class ImportConfigCommand
extends AbstractModelCommand

Author:
dennis

Field Summary
private  java.util.List<CUser> existingUser
           
private  CModel model
           
private  java.lang.String oldConfigFilename
           
 
Fields inherited from class insensa.commands.AbstractModelCommand
problem, workerStatus
 
Constructor Summary
ImportConfigCommand(CModel model, java.lang.String oldConfigFilename)
           
 
Method Summary
 void execute()
           
private  boolean exists(java.util.List<CUser> existingUser, CUser testUser)
           
 
Methods inherited from class insensa.commands.AbstractModelCommand
check, createDependendCommands, getProblem, getWorkerStatus, retry, setWorkerStatus, throwErrorMessage, throwProblem, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

private CModel model

oldConfigFilename

private java.lang.String oldConfigFilename

existingUser

private java.util.List<CUser> existingUser
Constructor Detail

ImportConfigCommand

public ImportConfigCommand(CModel model,
                           java.lang.String oldConfigFilename)
Method Detail

execute

public void execute()
             throws java.io.IOException,
                    CRasterFileException
Throws:
java.io.IOException
CRasterFileException
See Also:
ModelCommand.execute()

exists

private boolean exists(java.util.List<CUser> existingUser,
                       CUser testUser)