|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Supported API: true
Extendable: false
Method Summary | |
WTValuedMap |
addToFamily(WTKeyedMap instances)
Adds a collection of instances to a family table by creating an EPMContainedIn link and an EPMVariantLink between the instance and the family table. |
WTKeyedMap |
getCompatibleFamilyTables(Collection documents,
WTContainer container)
Calculates and returns compatible and complete lists of family tables for given EPMDocuments. |
WTCollection |
makeStandalone(WTCollection instances)
Makes a family table instances a standalone document by removing the EPMContainedIn links and EPMVariantLinks. |
void |
removeFromFamily(EPMWorkspace workspace,
EPMDocument topGeneric,
WTCollection instanceMasters)
Removes a collection of family table instances from a family table by removing the EPMContainedIn links between the instance and the family table. |
void |
removeFromFamily(EPMWorkspace workspace,
EPMFamilyTable familyTable,
WTCollection instanceMasters)
Removes a collection of family table instances from a family table by removing the EPMContainedIn links between the instance and the family table. |
Method Detail |
public WTKeyedMap getCompatibleFamilyTables(Collection documents, WTContainer container) throws WTException
-- members: all documents presented in the input document list and
belong to this family table
-- compatible family tables: all family table objects that contains
all document from given list
-- complete family tables: all family table objects that does not
have any members that is not in the given document list
Supported API: false
documents
- list of EPMDocumentscontainer
- scope for search. If scope ia PDM or PDMLink null can be passed as value
WTException
public WTValuedMap addToFamily(WTKeyedMap instances) throws WTException
instances
-
WTException
public WTCollection makeStandalone(WTCollection instances) throws WTException
instances
-
WTException
public void removeFromFamily(EPMWorkspace workspace, EPMFamilyTable familyTable, WTCollection instanceMasters) throws WTException
workspace
- familyTable
- instanceMasters
-
WTException
public void removeFromFamily(EPMWorkspace workspace, EPMDocument topGeneric, WTCollection instanceMasters) throws WTException
workspace
- topGeneric
- instanceMasters
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |