com.ptc.windchill.uwgm.cadx.cancelcheckout
Class CancelCheckoutProxy

java.lang.Object
  extended bycom.ptc.windchill.uwgm.cadx.cancelcheckout.CancelCheckoutProxy

public class CancelCheckoutProxy
extends Object


Field Summary
static int ASSOCIATED
           
private static String DOWNLOAD_LINKONLY
           
static int DRAWING
           
private static String EPM_APP_TYPE
           
static Comparator EPMDOCUMENTINFO_COMPARATOR
           
static int GENERIC
           
static int INSTANCE
           
static int OPTIONAL
           
static int REQUIRED
           
private static String RESOURCE
           
static int SELECTED
           
private static boolean VERBOSE
           
private static String WORKSPACE_CHECKOUTMETADATA
           
 
Constructor Summary
CancelCheckoutProxy()
           
 
Method Summary
static List[] getAllInstances(List arrayObjects, boolean includeInstances, boolean checkoutMetadata, ConfigSpec docConfigSpec, ConfigSpec partConfigSpec, boolean isPartCentric)
           
static Object[] getDocObjectDependencies(EPMWorkspace workspace, Object[] selectedObjects, boolean includeInstances, EPMDocConfigSpec docConfigSpec, WTPartConfigSpec partConfigSpec)
           
private static String getKey(Object obj)
           
static Object[] getObjectDependencies(EPMWorkspace workspace, Object[] selectedObjects, boolean includeInstances, EPMDocConfigSpec docConfigSpec, WTPartConfigSpec partConfigSpec)
           
private static Object[] getObjects(Object[] info)
           
static Object[] getPartObjectDependencies(EPMWorkspace workspace, Object[] selectedObjects, boolean includeInstances, EPMDocConfigSpec docConfigSpec, WTPartConfigSpec partConfigSpec)
           
static HashMap getWorkspaceObjects(EPMWorkspace ws)
           
static void printDebugMessage(String x, Object[] objects)
           
static Vector refreshObjectList(Object[] wsObjectInfo, EPMWorkspace ws, ConfigSpec docCs, ConfigSpec partCs, boolean isPartCentric)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

SELECTED

public static int SELECTED

REQUIRED

public static int REQUIRED

OPTIONAL

public static int OPTIONAL

DRAWING

public static int DRAWING

ASSOCIATED

public static int ASSOCIATED

INSTANCE

public static int INSTANCE

GENERIC

public static int GENERIC

WORKSPACE_CHECKOUTMETADATA

private static final String WORKSPACE_CHECKOUTMETADATA
See Also:
Constant Field Values

DOWNLOAD_LINKONLY

private static final String DOWNLOAD_LINKONLY
See Also:
Constant Field Values

EPM_APP_TYPE

private static final String EPM_APP_TYPE
See Also:
Constant Field Values

VERBOSE

private static boolean VERBOSE

EPMDOCUMENTINFO_COMPARATOR

public static final Comparator EPMDOCUMENTINFO_COMPARATOR
Constructor Detail

CancelCheckoutProxy

public CancelCheckoutProxy()
Method Detail

getObjectDependencies

public static Object[] getObjectDependencies(EPMWorkspace workspace,
                                             Object[] selectedObjects,
                                             boolean includeInstances,
                                             EPMDocConfigSpec docConfigSpec,
                                             WTPartConfigSpec partConfigSpec)
                                      throws Exception
Throws:
Exception

getDocObjectDependencies

public static Object[] getDocObjectDependencies(EPMWorkspace workspace,
                                                Object[] selectedObjects,
                                                boolean includeInstances,
                                                EPMDocConfigSpec docConfigSpec,
                                                WTPartConfigSpec partConfigSpec)
                                         throws Exception
Throws:
Exception

getPartObjectDependencies

public static Object[] getPartObjectDependencies(EPMWorkspace workspace,
                                                 Object[] selectedObjects,
                                                 boolean includeInstances,
                                                 EPMDocConfigSpec docConfigSpec,
                                                 WTPartConfigSpec partConfigSpec)
                                          throws Exception
Throws:
Exception

refreshObjectList

public static Vector refreshObjectList(Object[] wsObjectInfo,
                                       EPMWorkspace ws,
                                       ConfigSpec docCs,
                                       ConfigSpec partCs,
                                       boolean isPartCentric)
                                throws WTException,
                                       WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getAllInstances

public static List[] getAllInstances(List arrayObjects,
                                     boolean includeInstances,
                                     boolean checkoutMetadata,
                                     ConfigSpec docConfigSpec,
                                     ConfigSpec partConfigSpec,
                                     boolean isPartCentric)
                              throws WTException
Throws:
WTException

getKey

private static String getKey(Object obj)

getObjects

private static Object[] getObjects(Object[] info)

getWorkspaceObjects

public static HashMap getWorkspaceObjects(EPMWorkspace ws)
                                   throws WTException
Throws:
WTException

printDebugMessage

public static void printDebugMessage(String x,
                                     Object[] objects)