wt.clients.prodmgmt
Class ConfiguredPartHelper

java.lang.Object
  extended bywt.clients.prodmgmt.PartHelper
      extended bywt.clients.prodmgmt.ConfiguredPartHelper

public class ConfiguredPartHelper
extends PartHelper

ConfiguredPartHelper 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

Field Summary
 
Fields inherited from class wt.clients.prodmgmt.PartHelper
 
Constructor Summary
ConfiguredPartHelper()
           
 
Method Summary
(package private) static ConfigSpec getConfigSpec(WTProductConfiguration productConfiguration)
           
static UsesOccurrence getLatestUsesOccurrence(WTNode selected, WTPartUsageLink usage_link)
           
static UsesOccurrence getLatestUsesOccurrenceForSNPart(WTNode selected, WTPartUsageLink usage_link)
           
static Explorable[] getNonOccurrenceUses(ConfiguredPartItem part_item, ConfigurationItem configuration, PartExplorer explorer)
          Gets the uses WTPartUsageLinks for a Part.
static Explorable[] getOccurrenceUses(ConfiguredPartItem part_item, ConfigurationItem configuration, 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)
           
(package private) static WTPartMaster getPartMaster(WTNode node)
           
static Explorable[] getUses(ConfiguredPartItem part_item, ConfigurationItem configuration, PathOccurrence path_occurrence, PartExplorer explorer)
          Gets the uses WTPartUsageLinks for a Part.
 
Methods inherited from class wt.clients.prodmgmt.PartHelper
deleteBuildRule, deletePart, deletePartReferenceLink, deletePartUsageLink, deleteUsageLink, getAllPartVersions, getAllPartVersions, getAllVersions, getAllVersions, getBuildRule, getConfigSpec, getLifeCycle, getLifeCycleState, getMaxLength, getPartForOID, getReferences, getResource, getStates, getTeamTemplate, getUsedBy, getUses, getUses, getUses, getUsesInterface, getViews, initResources, main, newConfigSpec, refresh, refresh, revisePart, saveBuildRule, savePart, savePartReferenceLink, savePartUsageLink, saveUsageLink, setConfigSpec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfiguredPartHelper

public ConfiguredPartHelper()
Method Detail

getUses

public static Explorable[] getUses(ConfiguredPartItem part_item,
                                   ConfigurationItem configuration,
                                   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(ConfiguredPartItem part_item,
                                                ConfigurationItem configuration,
                                                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(ConfiguredPartItem part_item,
                                             ConfigurationItem configuration,
                                             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

getLatestUsesOccurrence

public static UsesOccurrence getLatestUsesOccurrence(WTNode selected,
                                                     WTPartUsageLink usage_link)

getLatestUsesOccurrenceForSNPart

public static UsesOccurrence getLatestUsesOccurrenceForSNPart(WTNode selected,
                                                              WTPartUsageLink usage_link)

getPartMaster

static WTPartMaster getPartMaster(WTNode node)

getConfigSpec

static ConfigSpec getConfigSpec(WTProductConfiguration productConfiguration)
                         throws WTException
Throws:
WTException