Package com.ptc.windchill.wp.delivery
Interface DeliveryService
- All Known Implementing Classes:
StandardDeliveryService
Supported API: true
Extendable: false.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateZip(DeliveryRecord deliveryRecord) Creates a zip for a previously locked package.voidcreateZip(DeliveryRecord deliveryRecord, WTContainerRef refContainer) Creates a zip for a previously locked package.getChangedMembersByDate(DeliveryRecord baseDelivery) Returns set of package members exported in the given base delivery and have modify date later than the zip attachment associated with the base delivery.getDeliveredMembers(DeliveryRecord delivery) Returns set of package members delivered in the given delivery.Get all the delivery records for a package.
-
Method Details
-
getDeliveries
Get all the delivery records for a package.
Supported API: true- Parameters:
wp- Package to retrieve deliveries for.- Returns:
- WTSet of DeliveryRecords (guaranteed non-null, may be empty).
- Throws:
WTException- the wT exception
-
createZip
Creates a zip for a previously locked package.
Supported API: true- Parameters:
deliveryRecord- the delivery record- Throws:
WTException- the wT exception
-
createZip
Creates a zip for a previously locked package. The container parameter records the user context from which the zip operation is being performed. For shared delivery records, this should be set to the context where the delivery is actually being zipped. If no context is passed, the delivery record's container will be used as the context of the export.Supported API: true
- Parameters:
deliveryRecord- the delivery record to create zip ofrefContainer- reference to context where zip action was initiated- Throws:
WTException
-
getDeliveredMembers
Returns set of package members delivered in the given delivery.
Supported API: true.- Parameters:
delivery- the delivery to check for delivered members.- Returns:
- Set of package members delivered in the given delivery. Empty set if none.
- Throws:
WTException
-
getChangedMembersByDate
Returns set of package members exported in the given base delivery and have modify date later than the zip attachment associated with the base delivery. NOTE:PersistedCollectionTombstoneare not included in the result.
Supported API: true- Parameters:
baseDelivery- The base delivery to check for delivered members.- Returns:
- Set of package members changed since base delivery zip creation. Empty set if none.
- Throws:
WTException
-