com.ptc.windchill.repairtools.multiplePrimaries
Class PrimaryFix.DocIteration

java.lang.Object
  extended bycom.ptc.windchill.repairtools.multiplePrimaries.PrimaryFix.DocIteration
Enclosing class:
PrimaryFix

private class PrimaryFix.DocIteration
extends Object

Used to record the information about one iteration of a document.


Field Summary
(package private)  String check
           
(package private) static String CHECK_GOOD
           
(package private) static String CK_OUT
           
(package private)  Vector files
           
(package private) static String ITER_BAD
           
(package private)  String masterOid
           
(package private)  String name
           
(package private)  String number
           
(package private)  int order
           
(package private) static String TWO_CK_OUT
           
(package private) static String VER_BAD
           
(package private)  String verOid
           
(package private)  String version
           
 
Constructor Summary
(package private) PrimaryFix.DocIteration(String number, String name, String verOid, String masterOid, String version, int order)
          Create one doc iteration record.
(package private) PrimaryFix.DocIteration(String number, String name, String verOid, String masterOid, String version, String check, int order)
          Create one doc iteration record.
 
Method Summary
(package private)  String errorPrint(int counter, String prevPrimary)
          Print out the information about the doc iteration and it's errors.
(package private)  Vector markDuplicates(Vector primaries)
          Loop through the files on a document and mark the ones that have already been seen before.
(package private)  Vector markURLDuplicates(Vector primaries)
          Loop through the URLs and files on a document and mark the ones that have already been seen before.
(package private)  String print(int counter, String prevPrimary)
          Print out the information about the doc iteration and it's files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

number

String number

name

String name

verOid

String verOid

masterOid

String masterOid

version

String version

check

String check

order

int order

files

Vector files

CHECK_GOOD

static final String CHECK_GOOD
See Also:
Constant Field Values

ITER_BAD

static final String ITER_BAD
See Also:
Constant Field Values

VER_BAD

static final String VER_BAD
See Also:
Constant Field Values

CK_OUT

static final String CK_OUT
See Also:
Constant Field Values

TWO_CK_OUT

static final String TWO_CK_OUT
See Also:
Constant Field Values
Constructor Detail

PrimaryFix.DocIteration

PrimaryFix.DocIteration(String number,
                        String name,
                        String verOid,
                        String masterOid,
                        String version,
                        int order)
Create one doc iteration record.


PrimaryFix.DocIteration

PrimaryFix.DocIteration(String number,
                        String name,
                        String verOid,
                        String masterOid,
                        String version,
                        String check,
                        int order)
Create one doc iteration record.

Method Detail

print

String print(int counter,
             String prevPrimary)
       throws WTException,
              IOException
Print out the information about the doc iteration and it's files.

Throws:
WTException
IOException

errorPrint

String errorPrint(int counter,
                  String prevPrimary)
            throws WTException,
                   IOException
Print out the information about the doc iteration and it's errors.

Throws:
WTException
IOException

markDuplicates

Vector markDuplicates(Vector primaries)
Loop through the files on a document and mark the ones that have already been seen before.


markURLDuplicates

Vector markURLDuplicates(Vector primaries)
Loop through the URLs and files on a document and mark the ones that have already been seen before.