| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.archiviststoolkit.mydomain.DomainImportController
public class DomainImportController
Controls import behaviour into the model.
| Field Summary | |
|---|---|
| static int | MODE_MERGEMerge the models. | 
| Constructor Summary | |
|---|---|
| DomainImportController()Constructor. | |
| Method Summary | |
|---|---|
|  void | addLineToImportLog(java.lang.String line) | 
|  java.lang.String | constructFinalImportLogText() | 
|  void | domainImport(java.util.Collection<DomainObject> collection,
             java.awt.Component parent,
             InfiniteProgressPanel progressPanel)Import and duplicate. | 
|  int | getErrors() | 
|  java.lang.String | getImportLog() | 
|  int | getInsertedRecords()Get the total records inserted. | 
|  int | getTotalRecords()Get the total number of records processed. | 
|  int | getUpdatedRecords()Get the total records updated. | 
|  void | incrementErrorCount() | 
|  void | incrementTotalRecordCount() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int MODE_MERGE
| Constructor Detail | 
|---|
public DomainImportController()
| Method Detail | 
|---|
public int getTotalRecords()
public int getInsertedRecords()
public int getUpdatedRecords()
public void incrementErrorCount()
public void incrementTotalRecordCount()
public java.lang.String getImportLog()
public void addLineToImportLog(java.lang.String line)
public java.lang.String constructFinalImportLogText()
public void domainImport(java.util.Collection<DomainObject> collection,
                         java.awt.Component parent,
                         InfiniteProgressPanel progressPanel)
collection - the collection to inject into the dbpublic int getErrors()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||