|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.step.StepHelper
Access to a 'light-weight' StepService supporting STEP import and export functionality. Taken in part from 'Application Development Guide' Section 7-16, Lightweight Services.
Nested Class Summary | |
static class |
StepHelper.Server
The server side implementation of all StepHelper methods. |
Field Summary | |
static Object |
IMPORT_ALL_FILES
A flag to the import process to specify that all files should be imported |
private static String |
SERVER_CLASS
|
private static String |
VERBOSE_PROP
|
Constructor Summary | |
StepHelper()
|
Method Summary | |
static void |
export(ExportSelection selection)
Export a selection of products in STEP format. |
static String |
getContentFileExtension()
Get the extension for the content file generated by the export. |
static String |
getConversionLog()
Get the contents of the schema converter log for the last conversion attempt. |
static String[] |
getExportSchemaNames()
Get a list of Schemas supported when exporting to a STEP file. |
static String[] |
getImportFileList(WTDocument importHolder)
List all associated files in the contained STEP Package file. |
static String[] |
getImportSchemaNames()
Get a list of Schemas supported when importing from a STEP file. |
static void |
importStepFile(WTDocument stepFilesHolder,
String importSchema,
ImportScheme versionsImportScheme,
String importFolder,
String[] importFilesList,
ManagedBaseline baseline)
Import a STEP file and associated documents. |
private static Object |
invokeOnServer(String methodName,
Class[] argTypes,
Object[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Object IMPORT_ALL_FILES
importStepFile(wt.doc.WTDocument, java.lang.String, wt.step.processor.ImportScheme, java.lang.String, java.lang.String[], wt.vc.baseline.ManagedBaseline)
private static final String VERBOSE_PROP
private static final String SERVER_CLASS
Constructor Detail |
public StepHelper()
Method Detail |
public static String[] getExportSchemaNames() throws RemoteException, TransferException
RemoteException
TransferException
private static Object invokeOnServer(String methodName, Class[] argTypes, Object[] args) throws TransferException, RemoteException
TransferException
RemoteException
public static String[] getImportSchemaNames() throws RemoteException, TransferException
RemoteException
TransferException
public static String getContentFileExtension() throws RemoteException, TransferException
RemoteException
TransferException
public static void export(ExportSelection selection) throws RemoteException, TransferException
selection
- The object which defines the content and constraints on
the export.
RemoteException
TransferException
public static void importStepFile(WTDocument stepFilesHolder, String importSchema, ImportScheme versionsImportScheme, String importFolder, String[] importFilesList, ManagedBaseline baseline) throws RemoteException, TransferException
stepFilesHolder
- the document whose content is a step package
containing the base STEP file and all associated
documents.importSchema
- the name of the Schema to use when importing.versionsImportScheme
- the scheme for handling import of versions.importFolder
- the folder to construct new instances in.importFilesList
- a list of files in the import package, which
should be uploaded during the import process.baseline
- an optional baseline (may be null) for the
collection of all imported parts and documents.
RemoteException
TransferException
getImportFileList(wt.doc.WTDocument)
,
IMPORT_ALL_FILES
public static String[] getImportFileList(WTDocument importHolder) throws TransferException, RemoteException
TransferException
RemoteException
public static String getConversionLog() throws TransferException, RemoteException
TransferException
RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |