|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.inf.container.LoadWindchillPDMContainer
Creates the classic container, and updates the exchange container's classic reference.
Field Summary | |
private static String |
CREATOR_RESOURCE
|
private ObjectIdentifier |
defaultCabinetOid
|
private ObjectIdentifier |
defaultDomainOid
|
private ObjectIdentifier |
defaultOrgOid
|
private DirectiveServices |
ds
|
private ObjectIdentifier |
exchangeOid
|
private static String |
RESOURCE
|
private ObjectIdentifier |
systemCabinetOid
|
private ObjectIdentifier |
systemDomainOid
|
Constructor Summary | |
LoadWindchillPDMContainer()
|
Method Summary | |
private void |
initOids()
Finds the exchange container, the default org container, and the exchange domains and cabinets |
private void |
migrateWindchillPDMContainer()
Creates the classic container |
boolean |
runMigration(DirectiveServices directive_services)
Implemented from JavaMigrator |
private void |
safeClose(ResultSet rs)
If the Statement is not null, try to close it, catching and smothering any SQLException that results. |
private void |
safeClose(Statement stmt)
If the Statement is not null, try to close it, catching and smothering any SQLException that results. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CREATOR_RESOURCE
private DirectiveServices ds
private ObjectIdentifier exchangeOid
private ObjectIdentifier defaultOrgOid
private ObjectIdentifier systemCabinetOid
private ObjectIdentifier defaultCabinetOid
private ObjectIdentifier systemDomainOid
private ObjectIdentifier defaultDomainOid
Constructor Detail |
public LoadWindchillPDMContainer()
Method Detail |
public boolean runMigration(DirectiveServices directive_services) throws Exception
runMigration
in interface JavaMigrator
directive_services
- Contains migration resources
true
Exception
private void migrateWindchillPDMContainer() throws Exception
Exception
private void initOids() throws Exception
WTException
- If the exchange or default org container can't be found,
if there is more than one matching exchange or
default org container, or if one of the exchange
domains or cabinets is not set.
Exception
private void safeClose(Statement stmt)
stmt
- The Statement
to closeprivate void safeClose(ResultSet rs)
rs
- The ResultSet
to close
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |