Package com.ptc.windchill.sync.wpsync
Interface WPSyncService
- All Known Implementing Classes:
StandardWPSyncService
This class
Supported API: true
Extendable: false
WPSyncService represents the client accessible
API to the WPSync.
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionbooleanabortExport(ObjectReference objRef)
Supported API: true.This API give you a current status of export process
Supported API: true.boolean
Supported API: true.booleanperformExportProcess(ObjectReference objRef)
Supported API: true.booleanperformExportProcess(ObjectReference refDeliveryRecord, WTContainerRef refContainer) Initiates an export for the passed in delivery record.
-
Method Details
-
getExportStatus
This API give you a current status of export process
Supported API: true.- Parameters:
obj- the obj- Returns:
- String
- Throws:
WTException- the wT exception
-
performExportProcess
Supported API: true.- Parameters:
objRef- the obj ref- Returns:
- boolean
- Throws:
WTException- the wT exception
-
performExportProcess
boolean performExportProcess(ObjectReference refDeliveryRecord, WTContainerRef refContainer) throws WTException Initiates an export for the passed in delivery record. The container parameter can be used to specify the context for which the export was performed. This will be used to record an 'Exported From Context' value for the delivery when zipped for auditing purposes. This is optional, and if not specified, the container of the delivery record will be considered the context of the export.Supported API: true
- Parameters:
refDeliveryRecord- reference to the delivery record being exportedrefContainer- reference to container to record as the context for the export; may be null- Returns:
- true if export process initiated successfully; false if not
- Throws:
WTException
-
performExport
Supported API: true.- Parameters:
obj- the obj- Returns:
- boolean
- Throws:
WTException- the wT exception
-
abortExport
Supported API: true.- Parameters:
objRef- the obj ref- Returns:
- boolean
- Throws:
WTException- the wT exception
-