Class StandardUdiSuperSetAttributePopulator
java.lang.Object
com.ptc.qualitymanagement.udi.AbstractUDIAttributePopulator
com.ptc.qualitymanagement.udi.superset.StandardUdiSuperSetAttributePopulator
- All Implemented Interfaces:
UDIAttributePopulatorService
public class StandardUdiSuperSetAttributePopulator
extends AbstractUDIAttributePopulator
implements UDIAttributePopulatorService
Populates the UDISuperSet object and UDISuperSetDetails based upon the contents of the UDISuperSet Template
object.
This object is intended to be used as a base class for customer extensions. To extend create a class that extends this class then register it as the UDI Attribute Populator Service for a UdiSuperset. To register the new class create xconf file xxx.UDI.service.properties.xconf and register with Windchill.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configuration SYSTEM "xconf.dtd">
<Configuration targetFile="codebase/service.properties">
<Service name="com.ptc.qualitymanagement.udi.UDIAttributePopulatorService">
<Option
cardinality="duplicate"
requestor=null
selector="com.ptc.qualitymanagement.udi.superset.UdiSuperSet" OR selector="com.ptc.qualitymanagement.udi.superset.UdiSuperSet|yourSubType"
serviceClass="yourfullyqualifiedclassname"
/>
</Service>
</Configuration>
Register new xconf file with Windchill
xconfmanager -i src\\com\\acme\\udi\\xxx.UDI.service.properties.xconf -p
Supported API: true
Extendable: true
- See Also:
-
Field Summary
Fields inherited from class com.ptc.qualitymanagement.udi.AbstractUDIAttributePopulator
UDI_SUBMISSION_RESOURCE -
Method Summary
Modifier and TypeMethodDescriptionpopulateFromSouce(UDISubmission submission, Map attributes) Deprecated.populateFromTemplateUdiSuperSetDetails(UdiSuperSet submission, UdiSuperSet template) Deprecated.Methods inherited from class com.ptc.qualitymanagement.udi.AbstractUDIAttributePopulator
copyAttributesFromTemplate, createUDIPackagingDetail, createUDISubmissionDetail, getAttributeValue, getAvailableAttributes, getDefinedAttributes, getPart, getPersitableAttributes, getSubmissionDetail, populateAllUdiSuperSetDetailsFromTemplate, populateFromAttributes, populateFromTempalteSizeCharacteristics, populateFromTempateUDISubmission, populateFromTemplateAlternateIdentifiers, populateFromTemplateContacts, populateFromTemplateGMDNTermCode, populateFromTemplatePackaging, populateFromTemplateSterilizationMethods, populateFromTemplateStorageCharacteristics, populateSimpleAttributesForBulkUpdate, populateUDISubmissionInfoBean, recursePackaging, recursePackagingForDelete, refreshFromSource, refreshFromSourceDetails, refreshFromSourcePackaging, setPartMethods 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
getPart, populateFromAttributes, populateSimpleAttributesForBulkUpdate, refreshFromSource, setPart
-
Method Details
-
populateFromTemplateUdiSuperSetDetails
@Deprecated public List<UdiSuperSetDetail> populateFromTemplateUdiSuperSetDetails(UdiSuperSet submission, UdiSuperSet template) throws WTException, WTPropertyVetoException Deprecated.Add the UDI Super Set Details from the template to the submission. Deprecated - super class's populateAllUdiSuperSetDetailsFromTemplate(submission, template) handles UDISuperSetDetails in addition to all other detail types
Supported API: true- Parameters:
submission-template-- Returns:
- Throws:
WTExceptionWTPropertyVetoException
-
populateFromSouce
@Deprecated public List<UDISubmissionDetailsIfc> populateFromSouce(UDISubmission submission, Map attributes) throws WTPropertyVetoException, WTException Deprecated.API Deprecated; use populateFromSource.
Override this method to provide the ability to customize attribute population to UDISubmission and UDISubmissionDetails
Supported API: true- Specified by:
populateFromSoucein interfaceUDIAttributePopulatorService- Overrides:
populateFromSoucein classAbstractUDIAttributePopulator- Parameters:
submission-attributes-- Returns:
- The detail child objects created.
- Throws:
WTPropertyVetoExceptionWTException
-