|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.esi.migrate.LoadReleaseActivity
Load Delegate that imports ESI Release Activity.
Constructor Summary | |
LoadReleaseActivity()
|
Method Summary | |
protected static ReleaseActivity |
createReleaseActivity(Hashtable nv,
Hashtable cmd_line)
Creates a ReleaseActivity object from the tokens parsed from the load file. |
static boolean |
createReleaseActivity(Hashtable nv,
Hashtable cmd_line,
Vector return_objects)
Creates a ReleaseActivity object from the tokens parsed from the load file. |
protected static Persistable |
getObject(String clss,
String number,
String version,
String iteration,
String view)
Retrieves the object identified by the supplied values. |
protected static WTPart |
getPart(String number,
String version,
String iteration,
String view)
Retrieves the WTPart object identified by the supplied values. |
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. |
protected static ReleaseActivityAction |
parseAction(String s)
Parses the supplied string into ReleaseActivityAction |
protected static Date |
parseDate(String s,
String format)
Parses the supplied string into a Date using the supplied date format string. |
protected static Date |
parsePublishDate(String s)
Parses the supplied Publish Date string into a Date. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LoadReleaseActivity()
Method Detail |
public static boolean createReleaseActivity(Hashtable nv, Hashtable cmd_line, Vector return_objects)
nv
- -Hashtable containing tokens parsed from
the load filecmd_line
- - command line argument that can contain
supplemental load datareturn_objects
- - Vector
of the object(s) created by
this method. Used by wt.load.StandardLoadService
for accurate user feedback messages.
protected static ReleaseActivity createReleaseActivity(Hashtable nv, Hashtable cmd_line) throws WTException
nv
- -Hashtable containing tokens parsed from
the load filecmd_line
- - command line argument that can contain
supplemental load data
WTException
protected static Persistable getObject(String clss, String number, String version, String iteration, String view) throws WTException
clss
- - the object class (i.e., publish class)number
- - the object numberversion
- - the object versioniteration
- - the object iteration (may be null)view
- - the object view (may be null)
WTException
protected static WTPart getPart(String number, String version, String iteration, String view) throws WTException
number
- - the part numberversion
- - the part versioniteration
- - the part iteration (may be null)view
- - the part view (may be null)
WTException
protected static ReleaseActivityAction parseAction(String s) throws WTException
s
- - the action string to parse
WTException
- - if the string is not a valid actionprotected static Date parsePublishDate(String s) throws WTException
s
- - the date string to parse
WTException
- - if the string could not be parsedprotected static Date parseDate(String s, String format)
s
- - the date string to parseformat
- - the date format to use when parsing
protected static void log(String msg)
msg
- - the textual messageprotected static void log(String msg, Exception e)
msg
- - the textual messagee
- - the exception that occurredprivate static String getValue(String name, Hashtable nv, Hashtable cmd_line, boolean required) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |