com.ptc.windchill.esi.migrate
Class LoadTarget

java.lang.Object
  extended bycom.ptc.windchill.esi.migrate.LoadTarget

public class LoadTarget
extends Object

Load Delegate that imports Target information.


Constructor Summary
LoadTarget()
           
 
Method Summary
private static String getValue(String name, Hashtable nv, Hashtable cmd_line, boolean required)
           
protected static void log(String msg)
          Logs the supplied message.
protected static void log(String msg, Exception e)
          Logs the supplied message and exception.
static boolean updateSystemAttribute(Hashtable nv, Hashtable cmd_line, Vector return_objects)
          Loads the 'system' attribute for ESI Target object migrated from RTP Organziation data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadTarget

public LoadTarget()
Method Detail

updateSystemAttribute

public static boolean updateSystemAttribute(Hashtable nv,
                                            Hashtable cmd_line,
                                            Vector return_objects)
Loads the 'system' attribute for ESI Target object migrated from RTP Organziation data.

Parameters:
nv - -Hashtable containing tokens parsed from the load file
cmd_line - - command line argument that can contain supplemental load data
return_objects - - Vector of the object(s) created by this method. Used by wt.load.StandardLoadService for accurate user feedback messages.
Returns:
true if successful; otherwise, false

log

protected static void log(String msg)
Logs the supplied message.

Parameters:
msg - - the textual message

log

protected static void log(String msg,
                          Exception e)
Logs the supplied message and exception.

Parameters:
msg - - the textual message
e - - the exception that occurred

getValue

private static String getValue(String name,
                               Hashtable nv,
                               Hashtable cmd_line,
                               boolean required)
                        throws WTException
Throws:
WTException