|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.units.UnitsLoader
Bulk load data (Units) into database for initial setup, Demo Data or migrating from legacy data Called by command line: java wt.units.UnitsLoader
Field Summary | |
private static String |
CURRENT_CH_KEY
|
static Installer |
installService
|
private static String |
ROOT_NAME
|
private static String |
SERVICE_NAME
|
private static UnitDBService |
theUnitDBService
|
private static boolean |
VERBOSE
|
Constructor Summary | |
UnitsLoader()
|
Method Summary | |
static boolean |
createMS(Hashtable nv,
Hashtable cmd_line,
Vector return_objects)
Create Measurement System(s). |
static boolean |
createQOM(Hashtable nv,
Hashtable cmd_line,
Vector return_objects)
Create Quantity of Measure(s) This method can be called by java wt.load.LoadFromFile -d c:\windchill\loadfiles\quantityofmeasure.csv This method can also be called from the UnitsLoader main program. |
static boolean |
createQOMfromCP(Hashtable nv,
Hashtable cmd_line,
Vector return_objects)
Create Quantity of Measure. |
static void |
main(String[] args)
Command line method for loading demonstration data into the Windchill system. |
private static boolean |
updateMeasurementSystem(UnitsService unitServiceHelper,
MeasurementSystemDefaultView msdv)
|
private static boolean |
updateQuantityOfMeasure(UnitsService unitServiceHelper,
QuantityOfMeasureDefaultView qomdv)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static Installer installService
private static String CURRENT_CH_KEY
private static UnitDBService theUnitDBService
private static final boolean VERBOSE
private static final String SERVICE_NAME
private static final String ROOT_NAME
Constructor Detail |
public UnitsLoader()
Method Detail |
public static void main(String[] args) throws Exception
args
- Not used anymore, ignored.
Exception
public static boolean createMS(Hashtable nv, Hashtable cmd_line, Vector return_objects)
cmd_line
-
public static boolean createQOM(Hashtable nv, Hashtable cmd_line, Vector return_objects)
cmd_line
-
public static boolean createQOMfromCP(Hashtable nv, Hashtable cmd_line, Vector return_objects)
cmd_line
-
private static boolean updateMeasurementSystem(UnitsService unitServiceHelper, MeasurementSystemDefaultView msdv)
private static boolean updateQuantityOfMeasure(UnitsService unitServiceHelper, QuantityOfMeasureDefaultView qomdv)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |