|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Gives a framework for users to publish usage links.
Supported API: false
Extendable: false
Method Summary | |
WTPartUsageLink |
createNewLink(WTPart parent,
WTPartMaster childMaster,
BuildReference buildReference,
Quantity quantity)
Creates a new "built" part usage link between the given Part and PartMaster. |
PartUsesOccurrence |
createNewOccurrence(WTPartUsageLink link,
EPMUsesOccurrence sourceOccurrence,
String applicationTag)
Creates a new "built" part uses occurrence on the given part usage link for the given epm uses occurrence. |
WTPartUsageLink |
subsumeNonBuiltLink(QueryResult links,
BuildReference buildReference,
Quantity quantity)
This method replaces a "non built" part usage link with a "built" part usage link. |
QueryResult |
subsumeNonBuiltOccurrences(QueryResult nonBuiltOccurrences,
QueryResult sourceOccurrences,
String applicationTag)
Replaces "non built" part uses occurrences with "built" part uses occurrences. |
boolean |
updateBuiltLink(WTPartUsageLink link,
Quantity newQuantity)
This method updates an existing "built" part usage link. |
PartUsesOccurrence |
updateBuiltOccurrence(PartUsesOccurrence builtOccurrence,
EPMUsesOccurrence sourceOccurrence)
Updates an existing "built" part uses occurrence such that it reflects any changes made to the source uses occurrence that it was built from. |
Method Detail |
public WTPartUsageLink createNewLink(WTPart parent, WTPartMaster childMaster, BuildReference buildReference, Quantity quantity) throws WTException
parent
- childMaster
- buildReference
- quantity
-
WTException
public boolean updateBuiltLink(WTPartUsageLink link, Quantity newQuantity) throws WTException
link
- newQuantity
-
WTException
public WTPartUsageLink subsumeNonBuiltLink(QueryResult links, BuildReference buildReference, Quantity quantity) throws WTException
links
- buildReference
- quantity
-
WTException
public PartUsesOccurrence createNewOccurrence(WTPartUsageLink link, EPMUsesOccurrence sourceOccurrence, String applicationTag) throws WTException
link
- sourceOccurrence
- applicationTag
- identifies the application or build rule that initiated the "build"
WTException
public PartUsesOccurrence updateBuiltOccurrence(PartUsesOccurrence builtOccurrence, EPMUsesOccurrence sourceOccurrence) throws WTException
builtOccurrence
- "built" part uses occurrence to updatesourceOccurrence
- uses occurrence that the given part uses occurrence was "built" from
WTException
public QueryResult subsumeNonBuiltOccurrences(QueryResult nonBuiltOccurrences, QueryResult sourceOccurrences, String applicationTag) throws WTException
nonBuiltOccurrences
- list of "non built" part uses occurrences to subsumesourceOccurrences
- list of uses occurrences to create "built" part uses occurrences forapplicationTag
- identifies the application or build rule that initiated the "build"
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |