|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.iba.definition.DefinitionLoader
Bulk load data (IBA) into database for initial setup or migrating from legacy data Called by command line: java wt.units.DefinitionLoader
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 | |
DefinitionLoader()
|
Method Summary | |
private static boolean |
commitUnittedAttributeDefinition(UnitDefView udf)
|
static boolean |
createAttrDefinizer(Hashtable nv,
Hashtable cmd_line,
Vector return_objects)
Create Attribute Definition(s) or Organizer(s) This method can be called by java wt.load.LoadFromFile -d c:\windchill\loadfiles\attrdefinizer.csv This method can also be called from the DefinitionLoader main program. |
private static boolean |
createAttributeDefinition(String displayName,
Object addv)
|
private static boolean |
createAttributeDefinitionUnderDefinition(String name,
String displayName,
String description,
String dataType,
String referencedClassName,
String parentClassName,
AbstractAttributeDefinizerView parent_aadv)
|
private static boolean |
createAttributeDefinitionUnderOrganizer(String name,
String displayName,
String description,
String dataType,
String referencedClassName,
AbstractAttributeDefinizerView parent_aadv)
|
private static boolean |
createAttributeOrganizer(IBADefinitionService ibaServiceHelper,
AttributeOrgDefaultView aodv)
|
private static boolean |
createUnittedAttributeDefinition(Hashtable nv,
String name,
String displayName,
String description,
QuantityOfMeasureDefaultView qomdv,
AbstractAttributeDefinizerView parent_aadv)
|
static AbstractAttributeDefinizerNodeView |
findAttributeChild(AbstractAttributeDefinizerNodeView parent,
String childName)
|
static AttributeOrgNodeView |
findOrgRoot(String rootName)
|
static AbstractAttributeDefinizerView |
getAttributeDefinition(String parentID)
Pass parent path from root to the new node's parent, return the parent attribute deninition or organizer back |
static AbstractAttributeDefinizerView |
getAttributeDefinizer(String parentID)
Pass parent path include organizer from root to the new node's parent, return the parent attribute deninition or organizer back |
static void |
main(String[] args)
Command line method for loading demonstration data into the Windchill system. |
private static String |
removeInvalidCharactersFromPath(String s)
|
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 boolean VERBOSE
private static final String SERVICE_NAME
private static final String ROOT_NAME
Constructor Detail |
public DefinitionLoader()
Method Detail |
public static void main(String[] args) throws Exception
args
- Not used anymore, ignored.
Exception
public static boolean createAttrDefinizer(Hashtable nv, Hashtable cmd_line, Vector return_objects)
cmd_line
-
public static AbstractAttributeDefinizerNodeView findAttributeChild(AbstractAttributeDefinizerNodeView parent, String childName)
public static AttributeOrgNodeView findOrgRoot(String rootName)
private static boolean createAttributeDefinitionUnderDefinition(String name, String displayName, String description, String dataType, String referencedClassName, String parentClassName, AbstractAttributeDefinizerView parent_aadv)
private static boolean createUnittedAttributeDefinition(Hashtable nv, String name, String displayName, String description, QuantityOfMeasureDefaultView qomdv, AbstractAttributeDefinizerView parent_aadv)
private static boolean commitUnittedAttributeDefinition(UnitDefView udf)
private static boolean createAttributeDefinitionUnderOrganizer(String name, String displayName, String description, String dataType, String referencedClassName, AbstractAttributeDefinizerView parent_aadv)
private static boolean createAttributeDefinition(String displayName, Object addv)
private static boolean createAttributeOrganizer(IBADefinitionService ibaServiceHelper, AttributeOrgDefaultView aodv)
public static AbstractAttributeDefinizerView getAttributeDefinition(String parentID)
public static AbstractAttributeDefinizerView getAttributeDefinizer(String parentID)
private static String removeInvalidCharactersFromPath(String s)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |