|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.inf.container.PJL_PDML_SystemCabinetMigrator
Assigns objects in the exchange container's system cabinet to the exchange container
Field Summary | |
(package private) DirectiveServices |
ds
|
(package private) long |
exchangeOid
|
(package private) long |
systemCabinetOid
|
Constructor Summary | |
PJL_PDML_SystemCabinetMigrator()
|
Method Summary | |
private String[] |
getFolderedAndContainedTables()
Get the tables of all concrete objects that are both Foldered
and WTContained |
private void |
initOids()
Finds the oid of the exchange container and the exchange container's system cabinet |
boolean |
runMigration(DirectiveServices directive_services)
Run the migration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
DirectiveServices ds
long exchangeOid
long systemCabinetOid
Constructor Detail |
public PJL_PDML_SystemCabinetMigrator()
Method Detail |
public boolean runMigration(DirectiveServices directive_services) throws Exception
JavaMigrator
Migrators should log all output to the given PrintWriter. This is the log that is created by RunMigrators. It is an autoflush writer.
Migrators should return true if they successfully completed migration and false otherwise. It is the migrator's responsibility to log failure reasons to the log.
Migrators should not concern themselves with committing the work on the connection. The MigratorRunner will commit the connection work after running each Migrator.
runMigration
in interface JavaMigrator
directive_services
- provide access to database, logging, and versioning information
Exception
private void initOids() throws Exception
WTException
- If the exchange container can't be found,
if there is more than one row in the
exchange container table, or if the exchange
container doesn't have a system cabinet ref
Exception
private String[] getFolderedAndContainedTables() throws Exception
Foldered
and WTContained
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |