com.ptc.windchill.cadx.common.prowt
Class ProEClientUtilities

java.lang.Object
  extended bycom.ptc.windchill.cadx.common.prowt.ProEClientUtilities

public class ProEClientUtilities
extends Object


Field Summary
private static int CHUNK_SIZE
           
private static boolean isPjlInstalled
           
static boolean isProjectLink
           
static String pjlBaseDir
           
static String PROE_DATECODE
           
static long proeK_01
           
private static String RESOURCE
           
(package private) static boolean SERVER
           
private static boolean VERBOSE
           
 
Constructor Summary
ProEClientUtilities()
           
 
Method Summary
protected static String encode(String src)
           
protected static String encode(String src, boolean isPath)
           
private static Object[] getEPMDocumentFolderPath(EPMDocument obj)
           
static String getFakeFolderPathUnencoded(EPMDocument doc, Locale locale)
           
static String getFullyQualifiedFilename(EPMDocument obj, String genericName)
           
static String getFullyQualifiedProeFileName(EPMDocument obj)
           
static String[] getGenericName(Vector epms)
           
static String getObjectPropertiesAnchorLinkHref(EPMDocument obj, Locale locale)
           
static String getOpenModelAnchorLinkHref(EPMDocument obj, String genericName, String activeProEServerAlias, Locale locale)
           
static String getOpenModelAnchorLinkHref(EPMDocument obj, String genericName, String activeProEServerAlias, Locale locale, Boolean isK_01ProeE)
           
static String getOpenModelAnchorLinkHTML(EPMDocument obj, HTTPState state, String linkTitle, String linkID, String linkCSS)
           
static String getOpenModelAnchorLinkHTML(EPMDocument obj, String activeProEServerAlias, String linkTitle, String linkID, String linkCSS)
           
static String getOpenModelAnchorLinkHTML(EPMDocument obj, String genericName, String activeProEServerAlias, String linkTitle, String linkID, String linkCSS, String onclickURL, Locale locale)
           
static String getOpenModelAnchorLinkHTML(String wsname, EPMDocument obj, String genericName, String activeProEServerAlias, String linkTitle, String linkID, String linkCSS, String onclickURL, Locale locale)
           
static String getOpenModelAnchorLinkHTML(String wsname, EPMDocument obj, String genericName, String activeProEServerAlias, String linkTitle, String linkID, String linkCSS, String onclickURL, Locale locale, Boolean isK_01ProeE)
           
static String getProeDatecode(HTTPRequest request)
           
private static Object[] getProjectFolderPath(EPMDocument obj)
           
static Folder getSharedObjectTargetFolder(Object obj)
           
static boolean isAgentWildfire(HTTPRequest request)
           
static boolean isAgentWildfire(HTTPState state)
           
static boolean isAuthoringApplicationProE(EPMDocument doc)
           
static boolean isK_01(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isProjectLink

public static boolean isProjectLink

pjlBaseDir

public static String pjlBaseDir

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

isPjlInstalled

private static final boolean isPjlInstalled

CHUNK_SIZE

private static int CHUNK_SIZE

VERBOSE

private static boolean VERBOSE

proeK_01

public static final long proeK_01
See Also:
Constant Field Values

PROE_DATECODE

public static final String PROE_DATECODE
See Also:
Constant Field Values

SERVER

static final boolean SERVER
Constructor Detail

ProEClientUtilities

public ProEClientUtilities()
Method Detail

isAgentWildfire

public static boolean isAgentWildfire(HTTPState state)

isAgentWildfire

public static boolean isAgentWildfire(HTTPRequest request)

isAuthoringApplicationProE

public static boolean isAuthoringApplicationProE(EPMDocument doc)

getOpenModelAnchorLinkHTML

public static String getOpenModelAnchorLinkHTML(EPMDocument obj,
                                                String genericName,
                                                String activeProEServerAlias,
                                                String linkTitle,
                                                String linkID,
                                                String linkCSS,
                                                String onclickURL,
                                                Locale locale)
                                         throws WTException
Throws:
WTException

getOpenModelAnchorLinkHTML

public static String getOpenModelAnchorLinkHTML(String wsname,
                                                EPMDocument obj,
                                                String genericName,
                                                String activeProEServerAlias,
                                                String linkTitle,
                                                String linkID,
                                                String linkCSS,
                                                String onclickURL,
                                                Locale locale)
                                         throws WTException
Throws:
WTException

getOpenModelAnchorLinkHTML

public static String getOpenModelAnchorLinkHTML(String wsname,
                                                EPMDocument obj,
                                                String genericName,
                                                String activeProEServerAlias,
                                                String linkTitle,
                                                String linkID,
                                                String linkCSS,
                                                String onclickURL,
                                                Locale locale,
                                                Boolean isK_01ProeE)
                                         throws WTException
Throws:
WTException

getOpenModelAnchorLinkHTML

public static String getOpenModelAnchorLinkHTML(EPMDocument obj,
                                                String activeProEServerAlias,
                                                String linkTitle,
                                                String linkID,
                                                String linkCSS)
                                         throws WTException
Throws:
WTException

getOpenModelAnchorLinkHTML

public static String getOpenModelAnchorLinkHTML(EPMDocument obj,
                                                HTTPState state,
                                                String linkTitle,
                                                String linkID,
                                                String linkCSS)
                                         throws WTException
Throws:
WTException

encode

protected static String encode(String src)

encode

protected static String encode(String src,
                               boolean isPath)

getGenericName

public static String[] getGenericName(Vector epms)
                               throws WTException
Throws:
WTException

getFullyQualifiedFilename

public static String getFullyQualifiedFilename(EPMDocument obj,
                                               String genericName)
                                        throws WTException
Throws:
WTException

getFullyQualifiedProeFileName

public static String getFullyQualifiedProeFileName(EPMDocument obj)
                                            throws WTException
Throws:
WTException

getFakeFolderPathUnencoded

public static String getFakeFolderPathUnencoded(EPMDocument doc,
                                                Locale locale)
                                         throws WTException
Throws:
WTException

getOpenModelAnchorLinkHref

public static String getOpenModelAnchorLinkHref(EPMDocument obj,
                                                String genericName,
                                                String activeProEServerAlias,
                                                Locale locale)
                                         throws WTException
Throws:
WTException

getOpenModelAnchorLinkHref

public static String getOpenModelAnchorLinkHref(EPMDocument obj,
                                                String genericName,
                                                String activeProEServerAlias,
                                                Locale locale,
                                                Boolean isK_01ProeE)
                                         throws WTException
Throws:
WTException

getObjectPropertiesAnchorLinkHref

public static String getObjectPropertiesAnchorLinkHref(EPMDocument obj,
                                                       Locale locale)
                                                throws WTException
Throws:
WTException

getProeDatecode

public static String getProeDatecode(HTTPRequest request)

isK_01

public static boolean isK_01(javax.servlet.http.HttpServletRequest request)

getProjectFolderPath

private static Object[] getProjectFolderPath(EPMDocument obj)
                                      throws WTException
Throws:
WTException

getEPMDocumentFolderPath

private static Object[] getEPMDocumentFolderPath(EPMDocument obj)

getSharedObjectTargetFolder

public static Folder getSharedObjectTargetFolder(Object obj)
                                          throws WTException
Throws:
WTException