|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.inf.library.LoadLibrary
Creates and persists library objects based on input from an XML load file. The following are examples of what is needed in the load file.
<csvCreateContainerTemplate handler="wt.inf.template.LoadContainerTemplate.createContainerTemplate"> | |
<csvname>library template name</csvname> | |
<csvenabled>false</csvenabled> | |
<csvxmlPath>name of the XML file of the template</csvxmlPath> | |
<csvcontainerClassName>wt.inf.library.WTLibrary</csvcontainerClassName> | |
<csvparentContainerPath>container path</csvparentContainerPath> | |
<csvdescription>library template name</csvdescription> | |
</csvCreateContainerTemplate> | |
<csvLibraryContainer handler="wt.inf.library.LoadLibrary.createLibraryContainer"> | |
<csvname>library name</csvname> | |
<csvdescription>library description</csvdescription> | |
<csvcontainerTemplate>library template name</csvcontainerTemplate> | |
</csvLibraryContainer> |
These entries are loaded by running:
windchill wt.load.LoadFromFile -u user name -p password -d fileName -CONT_PATH \"/wt.inf.container.OrgContainer=organization name\"
Supported API: true
Extendable: false
StandardLoadService
,
LoadContainerTemplate
Field Summary | |
private static String |
RESOURCE
|
static boolean |
VERBOSE
Flag to control vervbose debugging output during part loading. |
Constructor Summary | |
LoadLibrary()
|
Method Summary | |
static boolean |
createLibraryContainer(Hashtable nv,
Hashtable cmd_line,
Vector return_objects)
Deprecated. |
private static String |
getValue(String name,
Hashtable nv,
Hashtable cmd_line,
boolean required)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final boolean VERBOSE
wt.properties
file entry
wt.inf.library.load.verbose
The default value is false
.
private static final String RESOURCE
Constructor Detail |
public LoadLibrary()
Method Detail |
private static String getValue(String name, Hashtable nv, Hashtable cmd_line, boolean required) throws WTException
WTException
public static boolean createLibraryContainer(Hashtable nv, Hashtable cmd_line, Vector return_objects)
Use the addToResponse
methods to pass back messages on the status/results of the action.
Supported API: false
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |