com.ptc.netmarkets.interop
Class NmInteropUtils
java.lang.Object
com.ptc.netmarkets.interop.NmInteropUtils
- public class NmInteropUtils
- extends Object
Method Summary |
static int |
getDependentOpt(String depOptStr)
|
private static Collection |
getInstances(Collection inputObjs,
ConfigSpec configSpec,
boolean includeAssociated)
|
private static EPMDocument |
getLatestEPMDoc(String number)
|
static Collection |
getRelatedObjects(Workable[] selectedObjects,
String includeInstancesStr,
String includeDependentsStr,
String includeAssociatedStr,
String includeDrawingsStr,
String includeDocsStr,
String depProcTypeStr,
String configSpec,
String partView,
WTContainerRef containerRef,
boolean useSandboxBaseline)
|
private static EPMWorkspace |
getWorkspace()
|
private static ArrayList |
objectInfoToNmRelObjectInfo(List objectInfo,
RelatedItemsSelector selector,
Locale locale)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static final int NONE
- See Also:
- Constant Field Values
SELECTED
public static final int SELECTED
- See Also:
- Constant Field Values
REQUIRED
public static final int REQUIRED
- See Also:
- Constant Field Values
OPTIONAL
public static final int OPTIONAL
- See Also:
- Constant Field Values
DRAWING
public static final int DRAWING
- See Also:
- Constant Field Values
ASSOCIATED
public static final int ASSOCIATED
- See Also:
- Constant Field Values
INSTANCE
public static final int INSTANCE
- See Also:
- Constant Field Values
GENERIC
public static final int GENERIC
- See Also:
- Constant Field Values
VERBOSE
private static final boolean VERBOSE
NmRelObjectInfoComparator
public static final Comparator NmRelObjectInfoComparator
NmInteropUtils
public NmInteropUtils()
getRelatedObjects
public static Collection getRelatedObjects(Workable[] selectedObjects,
String includeInstancesStr,
String includeDependentsStr,
String includeAssociatedStr,
String includeDrawingsStr,
String includeDocsStr,
String depProcTypeStr,
String configSpec,
String partView,
WTContainerRef containerRef,
boolean useSandboxBaseline)
throws WTException
- Throws:
WTException
getWorkspace
private static EPMWorkspace getWorkspace()
throws WTException
- Throws:
WTException
getLatestEPMDoc
private static EPMDocument getLatestEPMDoc(String number)
throws WTException
- Throws:
WTException
getInstances
private static Collection getInstances(Collection inputObjs,
ConfigSpec configSpec,
boolean includeAssociated)
throws WTException
- Throws:
WTException
getDependentOpt
public static int getDependentOpt(String depOptStr)
objectInfoToNmRelObjectInfo
private static ArrayList objectInfoToNmRelObjectInfo(List objectInfo,
RelatedItemsSelector selector,
Locale locale)