wt.vc
Class ControlBranchIteratedColumnsMigrator
java.lang.Object
wt.vc.ControlBranchIteratedColumnsMigrator
- All Implemented Interfaces:
- Migrator
- public class ControlBranchIteratedColumnsMigrator
- extends Object
- implements Migrator
This migrator sets the versionId, oneOffVersionId, viewId, adHocStringIdentifier, wipState, and sessionOwner on the ControlBranch.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTROL_BRANCH
protected static final String CONTROL_BRANCH
BRANCH
protected static final String BRANCH
IDA2A2
protected static final String IDA2A2
LATEST
protected static final String LATEST
CB_AD_HOC_STRING_IDENTIFIER
protected static final String CB_AD_HOC_STRING_IDENTIFIER
CB_ONE_OFF_VERSION_ID
protected static final String CB_ONE_OFF_VERSION_ID
CB_SESSION_OWNER
protected static final String CB_SESSION_OWNER
CB_VERSION_ID
protected static final String CB_VERSION_ID
CB_VIEW_ID
protected static final String CB_VIEW_ID
CB_WIP_STATE
protected static final String CB_WIP_STATE
AD_HOC_STRING_VERSIONED_ID
protected static final String AD_HOC_STRING_VERSIONED_ID
ONE_OFF_VERSIONED_ID
protected static final String ONE_OFF_VERSIONED_ID
SESSION_EDITED_ITERATION_SESSION_OWNER
protected static final String SESSION_EDITED_ITERATION_SESSION_OWNER
VERSIONED_ID
protected static final String VERSIONED_ID
VIEW_MANAGEABLE_ID
protected static final String VIEW_MANAGEABLE_ID
WORKABLE_STATE
protected static final String WORKABLE_STATE
NULL
protected static final String NULL
- See Also:
- Constant Field Values
ControlBranchIteratedColumnsMigrator
public ControlBranchIteratedColumnsMigrator()
runMigration
public boolean runMigration(Connection conn,
PersistentObjectManager pom,
PrintWriter logWriter)
throws Throwable
- Sets the columns needed for ControlBranch uniqueness.
- Specified by:
runMigration
in interface Migrator
- Parameters:
conn
- an open connection to the Windchill databasepom
- a persistent object manager against the Windchill databaselogWriter
- an autoflush printwriter for logging any and all output
- Throws:
Throwable
- declared so that migrators can let exceptions contibuting to failure pass out of the method. The migrator runner will handle these by logging them.- See Also:
Migrator.runMigration(java.sql.Connection, wt.pom.PersistentObjectManager, java.io.PrintWriter)
main
public static void main(String[] args)