Uses of Class
wt.part.WTProductInstance2

Packages that use WTProductInstance2
com.ptc.wvs.server.loader   
wt.clients.prodmgmt   
wt.enterprise Provides the abstract building blocks of functionality from which most businesses classes are extended; also defines support for template processors, delegates and factories that are useful for UI development for these business classes. 
wt.part Defines WTParts and WTPartMasters ( the fundamental enterprise objects used to represent product structures composed of assemblies and components), WTPartUsageLink and WTPartConfigSpec (used to build the structures of parts and select the correct versions of parts from the structures) and the WTPartService to manage these parts. 
wt.visitor Defines theĀ navigator/visitor design pattern for usingĀ a Walker (at one time it used a Navigator, instead of a Walker) and a NodeExpander, which together traverse a structure of objects, and a Visitor, which does something when we navigate to the object; this separates the algorithm for navigating from the algorithm for visiting, allowing more reuse; factories support selection of Walkers and Visitors. 
 

Uses of WTProductInstance2 in com.ptc.wvs.server.loader
 

Fields in com.ptc.wvs.server.loader declared as WTProductInstance2
private  WTProductInstance2 PartGenericStructure.productInst
           
 

Methods in com.ptc.wvs.server.loader that return WTProductInstance2
 WTProductInstance2 PartGenericStructure.getProductInstance()
           
private  WTProductInstance2 PartGenericStructure.getOverrideProductInstance(PartPathOccurrence pathOccurrence)
           
 

Methods in com.ptc.wvs.server.loader with parameters of type WTProductInstance2
 void PartGenericStructure.setProductInstance(WTProductInstance2 c)
           
private  DefaultMutableTreeNode PartGenericStructure.readStructure(DefaultMutableTreeNode parentNode, WTPartUsageLink parentLink, PartUsesOccurrence parentUses, PartPathOccurrence parentPath, String parentSerialNumber, WTPart part, WTProductInstance2 currentProductInstance, int siblingNumber)
           
private  WTPart PartGenericStructure.getInstancedPartObject(WTProductInstance2 productInstance, WTPartMaster partMaster)
           
private  ConfigSpec PartGenericStructure.getConfigSpec(WTProductInstance2 productInstance)
           
 

Uses of WTProductInstance2 in wt.clients.prodmgmt
 

Fields in wt.clients.prodmgmt declared as WTProductInstance2
private  WTProductInstance2 InstanceTaskPanel.originalInstance
           
(package private)  WTProductInstance2 AssociateConfigurationDialog.productInstance
           
(package private)  WTProductInstance2 AllocateInstanceDialog.parentInstance
           
 

Methods in wt.clients.prodmgmt that return WTProductInstance2
 WTProductInstance2 InstanceItem.getInstance()
          Return the contained WTProductInstance2 object.
static WTProductInstance2 InstanceHelper.getInstanceForOID(String theInstanceID)
          Get the instance with the specified object id
static WTProductInstance2 InstanceHelper.refresh(WTProductInstance2 instance)
          Refresh the specified instance.
static WTProductInstance2 InstanceHelper.saveInstance(WTProductInstance2 instance)
          Saves a Instance.
static WTProductInstance2 InstanceHelper.deleteInstance(WTProductInstance2 instance)
          Deletes a instance.
static WTProductInstance2 InstanceHelper.revisePart(WTProductInstance2 instance)
          Revises a Part.
 

Methods in wt.clients.prodmgmt with parameters of type WTProductInstance2
protected  void PartExplorer.openInstance(WTProductInstance2 instance)
          Deprecated. Open a product instance window with the specified root product instance
 void InstanceItem.setInstance(WTProductInstance2 instance)
          Sets the contained instance.
protected  void InstanceItem.setInstanceSimply(WTProductInstance2 instance)
          Sets the contained instance without any side effect.
 void InstanceItem.duplicate(WTProductInstance2 original)
          Save the contained instance of this instanceitem.
static WTProductInstance2 InstanceHelper.refresh(WTProductInstance2 instance)
          Refresh the specified instance.
static WTProductInstance2 InstanceHelper.saveInstance(WTProductInstance2 instance)
          Saves a Instance.
static WTProductInstance2 InstanceHelper.deleteInstance(WTProductInstance2 instance)
          Deletes a instance.
static WTProductInstance2 InstanceHelper.revisePart(WTProductInstance2 instance)
          Revises a Part.
static String InstanceHelper.getLifeCycle(WTProductInstance2 instance)
          Get the name of the lifecycle the part is assigned to
static String InstanceHelper.getTeamTemplate(WTProductInstance2 instance)
          Get the name of the teamTemplate the part is assigned to
static String InstanceHelper.getLifeCycleState(WTProductInstance2 instance)
          Get the lifecycle state of the specified part
protected  void InstanceExplorer.addInstance(WTProductInstance2 instance)
           
 void AssociateConfigurationDialog.setProductInstance(WTProductInstance2 product_instance)
           
 void AllocateInstanceDialog.setParentInstance(WTProductInstance2 parent)
           
 void AllocatedPartMasterItem.setProductInstance(WTProductInstance2 instance)
          Sets the product configuration for this product.
 void AllocatedPartItem.setProductInstance(WTProductInstance2 instance)
          Sets the product configuration for this product.
private static WTProductInstanceMaster AllocatedPartHelper.getInstanceMaster(PartPathOccurrence path_occurrence, WTProductInstance2 current_instance)
           
private static SerialNumberMapping AllocatedPartHelper.getInstanceMasterSNMapping(PartPathOccurrence path_occurrence, WTProductInstance2 current_instance)
           
(package private) static ConfigSpec AllocatedPartHelper.getConfigSpec(WTProductInstance2 product_instance)
           
 

Constructors in wt.clients.prodmgmt with parameters of type WTProductInstance2
InstanceItem(WTProductInstance2 instance)
          Constructs a new InstanceItem.
 

Uses of WTProductInstance2 in wt.enterprise
 

Methods in wt.enterprise with parameters of type WTProductInstance2
private  void ProductInstancesProcessor.printTableRow(WTProductInstance2 instance, PrintWriter out, Locale locale)
          

Supported API: false

Extendable: false
private  void AllocateProcessor.printInstance2TableRow(WTProductInstance2 instance, PrintWriter out, Locale locale, String tableName)
           
 

Uses of WTProductInstance2 in wt.part
 

Fields in wt.part declared as WTProductInstance2
private  WTProductInstance2 ProductStructureProcessor.originalProductInstance
          Deprecated.  
private  WTProductInstance2 ProductStructureProcessor.oldProductInstanceForHasChanged
          Deprecated.  
private  WTProductInstance2 ProductStructureProcessor.newProductInstanceForHasChanged
          Deprecated.  
 

Methods in wt.part that return WTProductInstance2
static WTProductInstance2 WTProductInstance2.newWTProductInstance2(WTProductMaster instanceOf, String serialNumber)
          

Supported API: false
static WTProductInstance2 WTProductInstance2.newWTProductInstance2(WTProductMaster instanceOf, String serialNumber, WTProductConfiguration configuration)
          

Supported API: false
static WTProductInstance2 WTProductInstance2.newWTProductInstance2(WTProductMaster instanceOf)
           
static WTProductInstance2 WTProductInstance2.newWTProductInstance2(WTProductConfiguration configuration)
           
 WTProductInstance2 WTPartServiceFwd.littleUnmap(WTProductInstance2 productInstance, SerialNumberMapping mapping)
          

Supported API: false
 WTProductInstance2 WTPartServiceFwd.littleChange(WTProductInstance2 productInstance, WTProductConfiguration productConfiguration)
          

Supported API: false
 WTProductInstance2 WTPartServiceFwd.copyWTProductInstance2(WTProductInstance2 baseInstance)
          

Supported API: false
 WTProductInstance2 WTPartServiceFwd.saveWTProductInstance2Copy(WTProductInstance2 baseInstance, WTProductInstance2 newInstance)
          

Supported API: false
 WTProductInstance2 WTPartService.littleUnmap(WTProductInstance2 productInstance, SerialNumberMapping mapping)
          

Supported API: false
 WTProductInstance2 WTPartService.littleChange(WTProductInstance2 productInstance, WTProductConfiguration productConfiguration)
          

Supported API: false
 WTProductInstance2 WTPartService.copyWTProductInstance2(WTProductInstance2 baseInstance)
          

Supported API: false
 WTProductInstance2 WTPartService.saveWTProductInstance2Copy(WTProductInstance2 baseInstance, WTProductInstance2 newInstance)
          

Supported API: false
 WTProductInstance2 StandardWTPartService.littleUnmap(WTProductInstance2 productInstance, SerialNumberMapping mapping)
          

Supported API: false
 WTProductInstance2 StandardWTPartService.littleChange(WTProductInstance2 productInstance, WTProductConfiguration productConfiguration)
          

Supported API: false
 WTProductInstance2 StandardWTPartService.copyWTProductInstance2(WTProductInstance2 baseInstance)
          

Supported API: false
 WTProductInstance2 StandardWTPartService.saveWTProductInstance2Copy(WTProductInstance2 baseInstance, WTProductInstance2 newInstance)
          

Supported API: false
protected  WTProductInstance2 ProductStructureProcessor.getProductInstance(WTProductInstance2 currentInstance, PartPathOccurrence pathOccurrence)
          Deprecated.  
protected  WTProductInstance2 ProductStructureProcessor.getConfigSpecSelectedProductInstance(WTProductInstance2 productInstance, ConfigSpec configSpec)
          Deprecated.  
 WTProductInstance2 ProductInstanceMasterProductInstance.getIteration()
          Gets the object for the association that plays role: ITERATION_ROLE.
 WTProductInstance2 ProductInstanceConfiguration.getInstance()
          Gets the object for the association that plays role: INSTANCE_ROLE.
private  WTProductInstance2 MultilevelWhereUsedProcessor.getProductInstance()
           
private  WTProductInstance2 MultilevelWhereUsedProcessor.getProductInstance(String oidValue)
           
private  WTProductInstance2 MultilevelBomCompareQueryProcessor.getProductInstance(String oidValue)
           
 WTProductInstance2 DefaultCopyWTProductInstance2LinksDelegate.copyLinks(WTProductInstance2 baseInstance, WTProductInstance2 newInstance)
          

Supported API: false
 WTProductInstance2 DefaultCopyWTProductInstance2Delegate.newCopy(WTProductInstance2 baseInstance)
          Creates a new WTProductInstance2 object and copies the attributes from the original WTProductInstance2 to this new one.
 WTProductInstance2 CopyWTProductInstance2LinksDelegate.copyLinks(WTProductInstance2 baseInstance, WTProductInstance2 newInstance)
          

Supported API: false
 WTProductInstance2 CopyWTProductInstance2Delegate.newCopy(WTProductInstance2 baseInstance)
          Creates a new WTProductInstance2 object and copies the attributes from the original WTProductInstance2 to this new one.
 

Methods in wt.part with parameters of type WTProductInstance2
static WTProductInstanceReferenceLink WTProductInstanceReferenceLink.newWTProductInstanceReferenceLink(WTProductInstance2 referencedBy, WTDocumentMaster references)
          Default factory for the class.
static WTProductInstanceDescribeLink WTProductInstanceDescribeLink.newWTProductInstanceDescribeLink(WTProductInstance2 describes, WTDocument describedBy)
          Default factory for the class.
protected  boolean WTProductInstance2.readVersion(WTProductInstance2 thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 Persistable[][][] WTPartServiceFwd.getUsesWTPartsWithOccurrences(WTList parts, List pathOccurrences, WTProductInstance2 productInstance)
          Navigates from many used-by parts to their uses part masters and applies a ConfigSpec to select the iterations of the uses parts.
 QueryResult WTPartServiceFwd.getUsesWTPartsWithOccurrences(WTPart part, WTProductInstance2 productInstance, PartPathOccurrence subPathOccurrence)
          This method applies the ConfigSpec to the result of navigating the WTPartUsageLink along the uses role; returns a QueryResult of Persistable[], in which the WTPartUsageLinks are at position 0 (and their occurrenceVector is populated with occurrences), the corresponding WTParts (or WTPartMasters if there is no corresponding part) in position 1.
 QueryResult WTPartServiceFwd.getUsesWTPartsWithAllOccurrences(WTPart part, WTProductInstance2 productInstance, PartPathOccurrence subPathOccurrence)
          This method applies the ConfigSpec to the result of navigating the WTPartUsageLink along the uses role; returns a QueryResult of Persistable[], in which the WTPartUsageLinks are at position 0 (and their occurrenceVector is populated with occurrences), the corresponding WTParts (or WTPartMasters if there is no corresponding part) in position 1.
 SerialNumberMapping WTPartServiceFwd.littleMap(WTProductInstance2 productInstance, PathOccurrence path, WTProductInstanceMaster instanceToAllocate)
          

Supported API: false
 SerialNumberMapping WTPartServiceFwd.littleMap(WTProductInstance2 productInstance, PathOccurrence path, WTSerialNumberedPartInstance instanceToAllocate)
          

Supported API: false
 WTProductInstance2 WTPartServiceFwd.littleUnmap(WTProductInstance2 productInstance, SerialNumberMapping mapping)
          

Supported API: false
 WTProductInstance2 WTPartServiceFwd.littleChange(WTProductInstance2 productInstance, WTProductConfiguration productConfiguration)
          

Supported API: false
 WTProductInstance2 WTPartServiceFwd.copyWTProductInstance2(WTProductInstance2 baseInstance)
          

Supported API: false
 WTProductInstance2 WTPartServiceFwd.saveWTProductInstance2Copy(WTProductInstance2 baseInstance, WTProductInstance2 newInstance)
          

Supported API: false
 Persistable[][][] WTPartService.getUsesWTPartsWithOccurrences(WTList parts, List pathOccurrences, WTProductInstance2 productInstance)
          Navigates from many used-by parts to their uses part masters and applies a ConfigSpec to select the iterations of the uses parts.
 QueryResult WTPartService.getUsesWTPartsWithOccurrences(WTPart part, WTProductInstance2 productInstance, PartPathOccurrence subPathOccurrence)
          This method applies the ConfigSpec to the result of navigating the WTPartUsageLink along the uses role; returns a QueryResult of Persistable[], in which the WTPartUsageLinks are at position 0 (and their occurrenceVector is populated with occurrences), the corresponding WTParts (or WTPartMasters if there is no corresponding part) in position 1.
 QueryResult WTPartService.getUsesWTPartsWithAllOccurrences(WTPart part, WTProductInstance2 productInstance, PartPathOccurrence subPathOccurrence)
          This method applies the ConfigSpec to the result of navigating the WTPartUsageLink along the uses role; returns a QueryResult of Persistable[], in which the WTPartUsageLinks are at position 0 (and their occurrenceVector is populated with occurrences), the corresponding WTParts (or WTPartMasters if there is no corresponding part) in position 1.
 SerialNumberMapping WTPartService.littleMap(WTProductInstance2 productInstance, PathOccurrence path, WTProductInstanceMaster instanceToAllocate)
          

Supported API: false
 SerialNumberMapping WTPartService.littleMap(WTProductInstance2 productInstance, PathOccurrence path, WTSerialNumberedPartInstance instanceToAllocate)
          

Supported API: false
 WTProductInstance2 WTPartService.littleUnmap(WTProductInstance2 productInstance, SerialNumberMapping mapping)
          

Supported API: false
 WTProductInstance2 WTPartService.littleChange(WTProductInstance2 productInstance, WTProductConfiguration productConfiguration)
          

Supported API: false
 WTProductInstance2 WTPartService.copyWTProductInstance2(WTProductInstance2 baseInstance)
          

Supported API: false
 WTProductInstance2 WTPartService.saveWTProductInstance2Copy(WTProductInstance2 baseInstance, WTProductInstance2 newInstance)
          

Supported API: false
 Persistable[][][] StandardWTPartService.getUsesWTPartsWithOccurrences(WTList parts, List pathOccurrences, WTProductInstance2 productInstance)
          Navigates from many used-by parts to their uses part masters and applies a ConfigSpec to select the iterations of the uses parts.
 QueryResult StandardWTPartService.getUsesWTPartsWithOccurrences(WTPart part, WTProductInstance2 productInstance, PartPathOccurrence subPathOccurrence)
          This method applies the ConfigSpec to the result of navigating the WTPartUsageLink along the uses role; returns a QueryResult of Persistable[], in which the WTPartUsageLinks are at position 0 (and their occurrenceVector is populated with occurrences), the corresponding WTParts (or WTPartMasters if there is no corresponding part) in position 1.
 QueryResult StandardWTPartService.getUsesWTPartsWithAllOccurrences(WTPart part, WTProductInstance2 productInstance, PartPathOccurrence subPathOccurrence)
          This method applies the ConfigSpec to the result of navigating the WTPartUsageLink along the uses role; returns a QueryResult of Persistable[], in which the WTPartUsageLinks are at position 0 (and their occurrenceVector is populated with occurrences), the corresponding WTParts (or WTPartMasters if there is no corresponding part) in position 1.
 SerialNumberMapping StandardWTPartService.littleMap(WTProductInstance2 productInstance, PathOccurrence path, WTProductInstanceMaster instanceToAllocate)
          

Supported API: false
 SerialNumberMapping StandardWTPartService.littleMap(WTProductInstance2 productInstance, PathOccurrence path, WTSerialNumberedPartInstance instanceToAllocate)
          

Supported API: false
 WTProductInstance2 StandardWTPartService.littleUnmap(WTProductInstance2 productInstance, SerialNumberMapping mapping)
          

Supported API: false
 WTProductInstance2 StandardWTPartService.littleChange(WTProductInstance2 productInstance, WTProductConfiguration productConfiguration)
          

Supported API: false
 WTProductInstance2 StandardWTPartService.copyWTProductInstance2(WTProductInstance2 baseInstance)
          

Supported API: false
 WTProductInstance2 StandardWTPartService.saveWTProductInstance2Copy(WTProductInstance2 baseInstance, WTProductInstance2 newInstance)
          

Supported API: false
private  ConfigSpec StandardWTPartService.getConfigSpec(WTProductInstance2 productInstance)
           
protected  SerialNumberMapping StandardWTPartService.intLittleSNPIMap(WTProductInstance2 productInstance, PathOccurrence path, WTSerialNumberedPartInstance instanceToAllocate)
           
protected  void StandardWTPartService.getMultilevelBomDifferences(WTPart part1, WTProductInstance2 productInstance1, SerialNumberedConfiguredInstanceConfigSpec spec1, WTPart part2, WTProductInstance2 productInstance2, SerialNumberedConfiguredInstanceConfigSpec spec2, PartPathOccurrence path, int maxDepth, int currentDepth, MultilevelBomCompareVisitor aVisitor)
          Recursively compares parts used by part1 and part2 using config specs 1 and 2 to select the part versions.
 QueryResult StandardWTPartService.getSeparateUsesWTPartsWithOccurrences(QueryResult initialResult, WTProductInstance2 currentInstance, SerialNumberedConfiguredInstanceConfigSpec configSpec)
           
protected  ConfigSpec ProductStructureProcessor.getConfigSpec(WTProductInstance2 productInstance)
          Deprecated. Returns the Configuration Specification used to show the product structure.
protected  ConfigSpec ProductStructureProcessor.getDefaultConfigSpec(WTProductInstance2 prodInst)
          Deprecated.  
protected static String ProductStructureProcessor.getPartId(WTObject part, WTObject part_usage_link, PartUsesOccurrence usesOccurrence, PartPathOccurrence pathOccurrence, String pathParentOid, Vector combinedPathOids, WTProductInstance2 productInstance, int level, int order, int expanded)
          Deprecated.  
protected  int ProductStructureProcessor.outputPartExpansionWithOccurrences(WTPart part, PartPathOccurrence pathOccurrence, String pathParentOid, Vector combinedPathOids, WTProductInstance2 productInstance, int level, int order, int nodeCount, int state, Locale locale, PrintWriter out)
          Deprecated.  
protected  WTObject ProductStructureProcessor.getInstancedPartObject(WTProductInstance2 productInstance, WTObject partMaster)
          Deprecated.  
protected  WTProductInstance2 ProductStructureProcessor.getProductInstance(WTProductInstance2 currentInstance, PartPathOccurrence pathOccurrence)
          Deprecated.  
protected  WTProductInstance2 ProductStructureProcessor.getConfigSpecSelectedProductInstance(WTProductInstance2 productInstance, ConfigSpec configSpec)
          Deprecated.  
protected  String ProductStructureProcessor.getPartString(WTObject part, WTObject link, PartUsesOccurrence uses, PartPathOccurrence path, String pathParentOid, Vector combinedPathOids, WTProductInstance2 productInstance, WTSerialNumberedPartInstance partInstance, Locale locale)
          Deprecated. Returns a string containing the attribute values to be displayed as the entry for the given part in the product structure hiearchy.
protected  Enumeration ProductStructureProcessor.getPartsUsedWithOccurrences(WTPart part, WTProductInstance2 productInstance, PartPathOccurrence subPath)
          Deprecated. Returns a Enumeration corresponding to the parts used by the given part.
protected  void ProductInstanceMasterProductInstance.setIteration(WTProductInstance2 iteration)
          Sets the object for the association that plays role: ITERATION_ROLE.
static ProductInstanceMasterProductInstance ProductInstanceMasterProductInstance.newProductInstanceMasterProductInstance(WTProductInstanceMaster master, WTProductInstance2 iteration)
          Default factory for the class.
 void ProductInstanceConfiguration.setInstance(WTProductInstance2 instance)
          Sets the object for the association that plays role: INSTANCE_ROLE.
static ProductInstanceConfiguration ProductInstanceConfiguration.newProductInstanceConfiguration(WTProductInstance2 instance, WTProductConfiguration configuration)
          Default factory for the class.
 void MultilevelWhereUsedVisitor.outputProductInstance(WTProductInstance2 productInstance)
           
 void MultilevelWhereUsedVisitor.startProductInstance(WTProductInstance2 productInstance)
           
 void MultilevelBomCompareVisitor.startPartElement(WTProductInstance2 instance, int index)
           
 WTProductInstance2 DefaultCopyWTProductInstance2LinksDelegate.copyLinks(WTProductInstance2 baseInstance, WTProductInstance2 newInstance)
          

Supported API: false
 WTProductInstance2 DefaultCopyWTProductInstance2Delegate.newCopy(WTProductInstance2 baseInstance)
          Creates a new WTProductInstance2 object and copies the attributes from the original WTProductInstance2 to this new one.
 WTProductInstance2 CopyWTProductInstance2LinksDelegate.copyLinks(WTProductInstance2 baseInstance, WTProductInstance2 newInstance)
          

Supported API: false
 WTProductInstance2 CopyWTProductInstance2Delegate.newCopy(WTProductInstance2 baseInstance)
          Creates a new WTProductInstance2 object and copies the attributes from the original WTProductInstance2 to this new one.
 

Uses of WTProductInstance2 in wt.visitor
 

Fields in wt.visitor declared as WTProductInstance2
(package private)  WTProductInstance2 ReverseOccurrencedConfigSpecNodeExpander.productInstance