com.ptc.netmarkets.nmixb
Class LoaderHelper
java.lang.Object
com.ptc.netmarkets.nmixb.LoaderHelper
- public class LoaderHelper
- extends Object
Temporary fix to ease the task of import/export of Viewables for PJL 6.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVER_CLASS
private static final String SERVER_CLASS
SERVER
private static final boolean SERVER
LoaderHelper
public LoaderHelper()
main
public static void main(String[] args)
load
public void load()
storeData
public static void storeData(File inDir,
Persistable p,
Boolean republishable,
String repName,
String repDesc,
Boolean repDefault,
Boolean createThumbnail,
Boolean storeEDZ,
ArrayList results)
- Loads Viewable data. This method doesn't return anything but will add
the created representable to the results argument.
inDir - input directory with converted data. Should contain only 1 ed file
p - the WTPart or EPMDocument to store data against. If the data is
to be republishable then this should be the EPMDcouemnt that the data
can be republished from
republishable - flag to indicate if the data can be republished from the
the given persistable. eg. can not if a zip file of CAD data is stored
repName - representation name, eg ."default"
repDesc - representation description
repDefault - flag if this representation should be the default. If first
representation will always be the default.
createThumbnail - flag if thumbnail required. System config will determine
if a thumbnail is actually created.
storeEDZ - flag if an EDZ file is required in the Representation. System
config will determine if one is actually created.
results - A vector to store results in. This method will populate this
vector with a representable.