com.ptc.netmarkets.interop
Class NmInteropUtils

java.lang.Object
  extended bycom.ptc.netmarkets.interop.NmInteropUtils

public class NmInteropUtils
extends Object


Nested Class Summary
static class NmInteropUtils.InteropConfigSpecs
           
static class NmInteropUtils.NmRelObjectInfo
           
 
Field Summary
static int ASSOCIATED
           
static int DRAWING
           
static int GENERIC
           
static int INSTANCE
           
static Comparator NmRelObjectInfoComparator
           
static int NONE
           
static int OPTIONAL
           
static int REQUIRED
           
static int SELECTED
           
private static boolean VERBOSE
           
 
Constructor Summary
NmInteropUtils()
           
 
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
 

Field Detail

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
Constructor Detail

NmInteropUtils

public NmInteropUtils()
Method Detail

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)