|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.uwgm.common.autoassociate.AssociationUtilities
Misc EPMDoc<->WTPart association utilities
Field Summary | |
private static Log |
log
logging |
private static Class[] |
SEED_CLASSES
|
Constructor Summary | |
AssociationUtilities()
|
Method Summary | |
static WTKeyedMap |
getAssociatedMap(WTCollection seeds,
boolean includePassive,
EPMWorkspace ws,
boolean onlyFromWorkspace,
boolean processSeedsFromWorkspace)
returns WTKeyedMap of associated with the given collection of seeds and workspace, where a key is a seed which has the associated, a value is WTCollection of its associated |
static ResultGraph |
getAssociatedResultGraph(WTCollection seeds,
boolean includePassive,
EPMWorkspace ws,
boolean onlyFromWorkspace,
boolean processSeedsFromWorkspace)
returns ResultGraph of associated with the given seeds and workspace |
static ResultGraph |
getAssociatedWithWorkspaceResultGraph(WTCollection seeds,
boolean includePassive,
EPMWorkspace ws)
returns ResultGraph of associated with the given seeds and workspace |
static WTCollection |
getAssociatedWTParts(WTCollection epmDocuments,
boolean includePassive)
returns WTCollection of WTPart associated with collection of EPMDocuments |
static WTCollection |
getAssociatedWTParts(WTCollection epmDocuments,
boolean includePassive,
EPMWorkspace ws,
boolean onlyFromWorkspace,
boolean processSeedsFromWorkspace)
returns WTCollection of WTPart associated with collection of EPMDocuments |
static WTCollection |
getAssociatedWTPartsFromWorkspace(WTCollection epmDocuments,
boolean includePassive,
EPMWorkspace ws)
returns WTCollection of WTPart from the given workspace associated with collection of EPMDocuments |
static ResultGraph |
getRawAssociatedResultGraph(WTCollection seeds,
boolean includePassive,
EPMWorkspace ws,
boolean onlyFromWorkspace,
boolean processSeedsFromWorkspace)
Returns ResultGraph of associated with the given seeds and workspace. |
private static EPMRetrieverCache |
retrieveAssociated(WTCollection seeds,
boolean includePassive,
EPMWorkspace ws,
boolean onlyFromWorkspace,
boolean processSeedsFromWorkspace)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final Class[] SEED_CLASSES
private static Log log
Constructor Detail |
public AssociationUtilities()
Method Detail |
public static WTCollection getAssociatedWTParts(WTCollection epmDocuments, boolean includePassive) throws WTException
epmDocuments
- WTCollectionincludePassive
- boolean
WTException
public static WTCollection getAssociatedWTPartsFromWorkspace(WTCollection epmDocuments, boolean includePassive, EPMWorkspace ws) throws WTException
epmDocuments
- WTCollectionincludePassive
- booleanws
- EPMWorkspace
WTException
public static WTCollection getAssociatedWTParts(WTCollection epmDocuments, boolean includePassive, EPMWorkspace ws, boolean onlyFromWorkspace, boolean processSeedsFromWorkspace) throws WTException
epmDocuments
- WTCollectionincludePassive
- booleanws
- EPMWorkspaceonlyFromWorkspace
- booleanprocessSeedsFromWorkspace
- boolean
WTException
public static ResultGraph getAssociatedWithWorkspaceResultGraph(WTCollection seeds, boolean includePassive, EPMWorkspace ws) throws WTException
seeds
- WTCollectionincludePassive
- booleanws
- EPMWorkspace
WTException
public static ResultGraph getAssociatedResultGraph(WTCollection seeds, boolean includePassive, EPMWorkspace ws, boolean onlyFromWorkspace, boolean processSeedsFromWorkspace) throws WTException
seeds
- WTCollectionincludePassive
- booleanws
- EPMWorkspaceonlyFromWorkspace
- booleanprocessSeedsFromWorkspace
- boolean
WTException
public static ResultGraph getRawAssociatedResultGraph(WTCollection seeds, boolean includePassive, EPMWorkspace ws, boolean onlyFromWorkspace, boolean processSeedsFromWorkspace) throws WTException
For example, if seeds collection contains EPMDoc A.2 and WTPart A.1, this method
will return two links:
EPMDoc A.2 --- WTPart A.2
EPMDoc A.1 --- WTPart A.1
instead of linking seeds EPMDoc A.2 and WTPart A.1 together.
seeds
- WTCollection of EPMDocuments and WTParts.includePassive
- booleanws
- Current EPMWorkspaceonlyFromWorkspace
- All seeds are from given workspace?processSeedsFromWorkspace
- boolean
WTException
public static WTKeyedMap getAssociatedMap(WTCollection seeds, boolean includePassive, EPMWorkspace ws, boolean onlyFromWorkspace, boolean processSeedsFromWorkspace) throws WTException
seeds
- WTCollectionincludePassive
- booleanws
- EPMWorkspaceonlyFromWorkspace
- booleanprocessSeedsFromWorkspace
- boolean
WTException
private static EPMRetrieverCache retrieveAssociated(WTCollection seeds, boolean includePassive, EPMWorkspace ws, boolean onlyFromWorkspace, boolean processSeedsFromWorkspace) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |