com.ptc.windchill.esi.load
Class LoadESI

java.lang.Object
  extended bycom.ptc.windchill.esi.load.LoadESI

public class LoadESI
extends Object

This class is used by wt.load.StandardLoadService to create objects for classes in the com.ptc.windchill.esi. package.



Supported API: false

See Also:
StandardLoadService

Field Summary
private static ResourceBundle rb
           
private static String RESOURCE
           
private static boolean VERBOSE
           
 
Constructor Summary
LoadESI()
           
 
Method Summary
static boolean createESITarget(Hashtable attributes, Hashtable cmdLineArgs, Vector return_objects)
          Create and persist ESITarget.
static boolean createESITarget(Hashtable attributes, Hashtable cmdLineArgs, Vector return_objects, WTContainerRef context)
          Create and persist ESITarget.
static boolean createESITargetAssignment(Hashtable attributes, Hashtable cmdLineArgs, Vector return_objects)
           
static boolean createESITargetAssignment(Hashtable attributes, Hashtable cmdLineArgs, Vector return_objects, WTContainerRef context)
          Create and persist ESITargetAssignmentLink.
private static String getString(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
protected static void printException(String methodName, Exception e)
          Helper method to print stack trace of exception to Method Server log.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERBOSE

private static final boolean VERBOSE

rb

private static final ResourceBundle rb

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values
Constructor Detail

LoadESI

public LoadESI()
Method Detail

createESITarget

public static boolean createESITarget(Hashtable attributes,
                                      Hashtable cmdLineArgs,
                                      Vector return_objects,
                                      WTContainerRef context)
Create and persist ESITarget.

Returns:
true if ESITarget created and persisted ok, false otherwise
See Also:
wt.load.StandardLoadService.load

createESITarget

public static boolean createESITarget(Hashtable attributes,
                                      Hashtable cmdLineArgs,
                                      Vector return_objects)
Create and persist ESITarget.

Returns:
true if ESITarget created and persisted ok, false otherwise
See Also:
wt.load.StandardLoadService.load

createESITargetAssignment

public static boolean createESITargetAssignment(Hashtable attributes,
                                                Hashtable cmdLineArgs,
                                                Vector return_objects,
                                                WTContainerRef context)
Create and persist ESITargetAssignmentLink.

Returns:
true if ESITargetAssignmentLink created and persisted ok, false otherwise
See Also:
wt.load.StandardLoadService.load

createESITargetAssignment

public static boolean createESITargetAssignment(Hashtable attributes,
                                                Hashtable cmdLineArgs,
                                                Vector return_objects)

getString

private static String getString(String name,
                                Hashtable attributes,
                                Hashtable cmdLineArgs,
                                int required)
                         throws IllegalArgumentException
Throws:
IllegalArgumentException

printException

protected static void printException(String methodName,
                                     Exception e)
Helper method to print stack trace of exception to Method Server log.

Parameters:
methodName - Name of the calling method.