Package com.ptc.qualitymanagement.udi
Class AbstractUDIAttributePopulator
java.lang.Object
com.ptc.qualitymanagement.udi.AbstractUDIAttributePopulator
- All Implemented Interfaces:
UDIAttributePopulatorService
- Direct Known Subclasses:
StandardFDAUDIAttributePopulator,StandardUdiSuperSet2AttributePopulator,StandardUdiSuperSetAttributePopulator
public abstract class AbstractUDIAttributePopulator
extends Object
implements UDIAttributePopulatorService
Implements shared logic across UDI Super Set Attribute populators
Supported API: true
Extendable: true
Supported API: true
Extendable: true
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionpopulateAllUdiSuperSetDetailsFromTemplate(UDISubmission submission, UDISubmission template) Copy UDI Submission Detail from template to the UDI Super Set
Supported API: truepopulateFromSouce(UDISubmission submission, Map attributes) Deprecated.populateFromSource(UDISubmission submission, Map attributes) Provides the default implementation that populates the UDI Super Set based on values in Windchill.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ptc.qualitymanagement.udi.UDIAttributePopulatorService
createUDISubmission, getOrderedAttributes, initializeFollowUp, populateOneToManyAttributesFromSource
-
Method Details
-
populateFromSouce
@Deprecated public List<UDISubmissionDetailsIfc> populateFromSouce(UDISubmission submission, Map attributes) throws WTPropertyVetoException, WTException Deprecated.API Deprecated; use populateFromSource.
Provides the default implementation that populates the UDI Super Set based on values in Windchill.Provides values for:
Brand Name: from part name
Model Number: from part number + version
Serial Controlled: from part default trace code
Lot Controlled: from part default trace code
Supported API: true- Specified by:
populateFromSoucein interfaceUDIAttributePopulatorService- Parameters:
submission-attributes-- Returns:
- The detail child objects created.
- Throws:
WTPropertyVetoExceptionWTException
-
populateFromSource
public List<UDISubmissionDetailsIfc> populateFromSource(UDISubmission submission, Map attributes) throws WTPropertyVetoException, WTException Provides the default implementation that populates the UDI Super Set based on values in Windchill.Provides values for:
Brand Name: from part name
Model Number: from part number + version
Serial Controlled: from part default trace code
Lot Controlled: from part default trace code
Supported API: true- Specified by:
populateFromSourcein interfaceUDIAttributePopulatorService- Parameters:
submission- The UDI Super Set to populateattributes- A map of attributes defined in an excel spreadsheet which is read during import and populated on the UDI Super Set. The attribute parameter is only used during import. It is recommended to use REST API's to create UDI Super Sets instead of import.- Returns:
- The detail child objects created.
- Throws:
WTPropertyVetoExceptionWTException
-
populateAllUdiSuperSetDetailsFromTemplate
public Collection<UDISubmissionDetailsIfc> populateAllUdiSuperSetDetailsFromTemplate(UDISubmission submission, UDISubmission template) throws WTException, WTPropertyVetoException Copy UDI Submission Detail from template to the UDI Super Set
Supported API: true- Parameters:
submission- The UDI Super Set to populatetemplate- The template containing the UDI Submission Details Ifc- Returns:
- A Collection of UDI Submission Details Ifc populated on the UDI Super Set
- Throws:
WTExceptionWTPropertyVetoException
-