com.ptc.hli.ecad.behaviors
Class HLIActionHelper

java.lang.Object
  extended bycom.ptc.hli.ecad.behaviors.HLIActionHelper

public abstract class HLIActionHelper
extends Object


Field Summary
private static String ECADHLIRESOURCE
           
 
Constructor Summary
HLIActionHelper()
           
 
Method Summary
private static void _collectItems(AbstractHLIAction root, List objects, boolean filterOutComponents)
           
static void addAllDocuments(HashMap holder, Collection source)
           
static void addAllDocuments(HashMap holder, Enumeration source)
           
static Vector collectItems(AbstractHLIAction root)
           
static Vector collectItems(AbstractHLIAction root, boolean filterOutComponents)
           
private static String getAssemblyDocumentStatus(EPMDocument assemblyDocument)
           
static String getDocumentStatus(EPMDocument epmDoc)
           
static EPMDocument getEPMDocument(EPMDocument epmDoc, boolean workingCopyRequired)
           
private static String getLockableState(Object obj)
           
static ContentItem getPrimaryContent(EPMDocument srcDocument)
           
static EPMDocument getSourceDocument(Baseline baseline)
           
static String getStringID(Object obj)
           
private static String getThisDocumentStatus(EPMDocument epmDoc)
           
private static String getWorkableState(Object obj)
           
static boolean isLegacyDesign(EPMDocument anyDesignDocument)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ECADHLIRESOURCE

private static final String ECADHLIRESOURCE
See Also:
Constant Field Values
Constructor Detail

HLIActionHelper

public HLIActionHelper()
Method Detail

getEPMDocument

public static EPMDocument getEPMDocument(EPMDocument epmDoc,
                                         boolean workingCopyRequired)
                                  throws WTException
Throws:
WTException

getPrimaryContent

public static ContentItem getPrimaryContent(EPMDocument srcDocument)

isLegacyDesign

public static boolean isLegacyDesign(EPMDocument anyDesignDocument)
                              throws WTException
Throws:
WTException

getThisDocumentStatus

private static String getThisDocumentStatus(EPMDocument epmDoc)

getAssemblyDocumentStatus

private static String getAssemblyDocumentStatus(EPMDocument assemblyDocument)

getDocumentStatus

public static String getDocumentStatus(EPMDocument epmDoc)

getSourceDocument

public static EPMDocument getSourceDocument(Baseline baseline)
                                     throws WTException
Throws:
WTException

collectItems

public static Vector collectItems(AbstractHLIAction root)

collectItems

public static Vector collectItems(AbstractHLIAction root,
                                  boolean filterOutComponents)

_collectItems

private static void _collectItems(AbstractHLIAction root,
                                  List objects,
                                  boolean filterOutComponents)

addAllDocuments

public static void addAllDocuments(HashMap holder,
                                   Collection source)
                            throws WTException
Throws:
WTException

addAllDocuments

public static void addAllDocuments(HashMap holder,
                                   Enumeration source)
                            throws WTException
Throws:
WTException

getStringID

public static String getStringID(Object obj)
                          throws WTException
Throws:
WTException

getWorkableState

private static String getWorkableState(Object obj)
                                throws WTException
Throws:
WTException

getLockableState

private static String getLockableState(Object obj)
                                throws WTException
Throws:
WTException