wt.clients.prodmgmt
Class AllocatedPartHelper
java.lang.Object
wt.clients.prodmgmt.AllocatedPartHelper
- public class AllocatedPartHelper
- extends Object
AllocatedPartHelper
is a facade class that contains static methods
for manipulating Parts. It encapsulates some of the persistence and navigation
operations for Parts.
Supported API: false
Extendable: false
- See Also:
wt.part.WTPart
Method Summary |
(package private) static ConfigSpec |
getConfigSpec(WTProductInstance2 product_instance)
|
protected static WTSerialNumberedPart |
getInstancedPartObject(WTSerialNumberedPartInstance partInstance,
WTObject partMaster)
|
private static WTProductInstanceMaster |
getInstanceMaster(PartPathOccurrence path_occurrence,
WTProductInstance2 current_instance)
|
private static SerialNumberMapping |
getInstanceMasterSNMapping(PartPathOccurrence path_occurrence,
WTProductInstance2 current_instance)
|
static Explorable[] |
getNonOccurrenceUses(AllocatedPartItem part_item,
InstanceItem instance,
PartExplorer explorer)
Gets the uses WTPartUsageLinks for a Part. |
static Explorable[] |
getOccurrenceUses(AllocatedPartItem part_item,
InstanceItem instance,
PathOccurrence path_occurrence,
PartExplorer explorer)
Gets the uses WTPartUsageLinks for a Part. |
private static WTObject |
getOverriddenPartObject(PartPathOccurrence pathOccurrence,
WTProductConfiguration originalConfiguration)
|
private static BaselineConfigurationOverride |
getOverride(PartPathOccurrence pathOccurrence,
WTProductConfiguration originalConfiguration)
|
protected static WTSerialNumberedPartInstance |
getPartInstance(PartPathOccurrence pathOccurrence)
|
protected static SerialNumberMapping |
getSNMapping(PartPathOccurrence pathOccurrence)
|
static Explorable[] |
getUses(AllocatedPartItem part_item,
InstanceItem instance,
PathOccurrence path_occurrence,
PartExplorer explorer)
Gets the uses WTPartUsageLinks for a Part. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllocatedPartHelper
public AllocatedPartHelper()
getUses
public static Explorable[] getUses(AllocatedPartItem part_item,
InstanceItem instance,
PathOccurrence path_occurrence,
PartExplorer explorer)
throws WTException
- Gets the uses WTPartUsageLinks for a Part.
- Returns:
- an array of wt.part.WTPartUsageLink
- Throws:
WTException
- See Also:
Part
,
WTPartUsageLink
getNonOccurrenceUses
public static Explorable[] getNonOccurrenceUses(AllocatedPartItem part_item,
InstanceItem instance,
PartExplorer explorer)
throws WTException
- Gets the uses WTPartUsageLinks for a Part.
- Returns:
- an array of wt.part.WTPartUsageLink
- Throws:
WTException
- See Also:
Part
,
WTPartUsageLink
getOccurrenceUses
public static Explorable[] getOccurrenceUses(AllocatedPartItem part_item,
InstanceItem instance,
PathOccurrence path_occurrence,
PartExplorer explorer)
throws WTException
- Gets the uses WTPartUsageLinks for a Part.
- Returns:
- an array of wt.part.WTPartUsageLink
- Throws:
WTException
- See Also:
Part
,
WTPartUsageLink
getOverride
private static BaselineConfigurationOverride getOverride(PartPathOccurrence pathOccurrence,
WTProductConfiguration originalConfiguration)
throws WTException
- Throws:
WTException
getOverriddenPartObject
private static WTObject getOverriddenPartObject(PartPathOccurrence pathOccurrence,
WTProductConfiguration originalConfiguration)
throws WTException
- Throws:
WTException
getInstanceMaster
private static WTProductInstanceMaster getInstanceMaster(PartPathOccurrence path_occurrence,
WTProductInstance2 current_instance)
throws WTException
- Throws:
WTException
getInstanceMasterSNMapping
private static SerialNumberMapping getInstanceMasterSNMapping(PartPathOccurrence path_occurrence,
WTProductInstance2 current_instance)
throws WTException
- Throws:
WTException
getSNMapping
protected static SerialNumberMapping getSNMapping(PartPathOccurrence pathOccurrence)
throws WTException
- Throws:
WTException
getPartInstance
protected static WTSerialNumberedPartInstance getPartInstance(PartPathOccurrence pathOccurrence)
throws WTException
- Throws:
WTException
getInstancedPartObject
protected static WTSerialNumberedPart getInstancedPartObject(WTSerialNumberedPartInstance partInstance,
WTObject partMaster)
throws WTException
- Throws:
WTException
getConfigSpec
static ConfigSpec getConfigSpec(WTProductInstance2 product_instance)
throws WTException
- Throws:
WTException