Outside Transitins and annotations for unresolved transitions

This commit is contained in:
Jsj 2008-02-21 16:48:06 +00:00
parent c3804681d2
commit 00ceb09eac

View File

@ -42,7 +42,8 @@ namespace DataLoader
public Connection dbConn; public Connection dbConn;
public Folder sysFolder; public Folder sysFolder;
public AnnotationType CommentType; // this holds the annotationtype of comment for future use public AnnotationType CommentType; // this holds the annotationtype of comment for future use
public Document MissingDocument=null; // make a document if there is a missing rtf file public AnnotationType MigrationErrorType; // this holds the annotationtype of Migration Error for future use
public Document MissingDocument = null; // make a document if there is a missing rtf file
// any missing will use this. // any missing will use this.
private Content TransDummyCont; private Content TransDummyCont;
// the following two dictionaries are used to handle migration of the // the following two dictionaries are used to handle migration of the
@ -60,6 +61,7 @@ namespace DataLoader
// otherwise, create a new item record. // otherwise, create a new item record.
private Dictionary<string, Item> dicTrans_ItemDone; private Dictionary<string, Item> dicTrans_ItemDone;
private Dictionary<string, Item> dicTrans_ItemIds; private Dictionary<string, Item> dicTrans_ItemIds;
private Dictionary<string, List<Item>> dicTrans_MigrationErrors;
private Dictionary<object, string> dicOldStepSequence; private Dictionary<object, string> dicOldStepSequence;
private Dictionary<TreeNode, TreeNode> dicNeedToLoad; private Dictionary<TreeNode, TreeNode> dicNeedToLoad;
private log4net.ILog log; private log4net.ILog log;
@ -83,6 +85,7 @@ namespace DataLoader
frmMain.Status = "Add AnnotationTypes"; frmMain.Status = "Add AnnotationTypes";
CommentType = AnnotationType.MakeAnnotationType("Comment", null); CommentType = AnnotationType.MakeAnnotationType("Comment", null);
MigrationErrorType = AnnotationType.MakeAnnotationType("Migration Error", null);
AnnotationType at = AnnotationType.MakeAnnotationType("Reference", null); AnnotationType at = AnnotationType.MakeAnnotationType("Reference", null);
at = AnnotationType.MakeAnnotationType("Action Items", null); at = AnnotationType.MakeAnnotationType("Action Items", null);