|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.cadx.common.util.ContextUtilities
Field Summary | |
static String |
PRO_FTP_SERVER_TYPE
|
static String |
PRO_INTRALINK_SERVER_TYPE
|
static String |
PRO_NONE_SERVER_TYPE
|
static String |
PRO_PDMLINK_SERVER_TYPE
|
static String |
PRO_PROJECTLINK_SERVER_TYPE
|
static String |
PRO_WINDCHILL_SERVER_TYPE
|
static boolean |
PROIntralinkInstalled
|
private static String |
PROJECLINK_TOKENS_SEPARATOR
|
private static String |
PROJECLINK_VALUE_SEPARATOR
|
static String |
PROJECTLINK_CTX
|
private static boolean |
VERBOSE
|
Constructor Summary | |
ContextUtilities()
|
Method Summary | |
static WTContainer |
getContext(HTTPRequest request)
Gets the context of an action/page. |
static WTContainer |
getContext(HTTPRequest request,
boolean considerActiveWs)
Gets the context of an action/page. |
static WTContainer |
getContext(HTTPState state)
Gets the context of an action/page. |
static WTContainer |
getContext(HTTPState state,
boolean considerActiveWs)
Gets the context of an action/page. |
static String |
getProEServerType(HTTPRequest request)
|
static int |
getSolutionTypeNumber(HTTPRequest request)
|
static int |
getSolutionTypeNumber(HTTPState state)
|
static int |
getSolutionTypeNumber(Object object)
|
static String |
getSolutionTypeString(HTTPRequest request)
|
static String |
getSolutionTypeString(HTTPState state)
|
static String |
getSolutionTypeString(Object object)
|
static boolean |
isPDMLinkContext(HTTPRequest request)
Checks if the context associated with the given request is a PDMLink context. |
static boolean |
isPDMLinkContext(HTTPState state)
Checks if the context assocated with given HTTPState is a PDMLink context |
static boolean |
isPDMLinkContext(Object object)
Checks if context associated with given object is a PDMLink context |
static boolean |
isProIContext()
|
static boolean |
isProjectLinkContext(HTTPRequest request)
Checks if the context associated with the given request is a ProjectLink context. |
static boolean |
isProjectLinkContext(HTTPRequest request,
boolean considerActiveWorkspaceContainerContext)
Checks if the context associated with the given request is a ProjectLink context. |
static boolean |
isProjectLinkContext(HTTPState state)
Checks if the context assocated with given HTTPState is a ProjectLink context |
static boolean |
isProjectLinkContext(HTTPState state,
boolean considerActiveWorkspaceContainerContext)
Checks if the context assocated with given HTTPState is a ProjectLink context. |
static boolean |
isProjectLinkContext(Object object)
Checks if context associated with given object is a ProjectLink context |
static boolean |
isStandaloneProjectLinkContext()
Returns true if it's stand-alone ProjectLink context. |
static boolean |
isStandaloneWindchillPDMContext()
Returns true if it's stand-alone Windchill PDM context. |
static boolean |
isWindchillClassicContext(HTTPRequest request)
Checks if the context associated with the given request is a Windchill Classic context. |
static boolean |
isWindchillClassicContext(HTTPState state)
Checks if the context assocated with given HTTPState is a Windchill Classic context |
static boolean |
isWindchillClassicContext(Object object)
Checks if context associated with given object is a Windchill Classic context |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static boolean VERBOSE
public static String PROJECTLINK_CTX
private static final String PROJECLINK_TOKENS_SEPARATOR
private static final String PROJECLINK_VALUE_SEPARATOR
public static boolean PROIntralinkInstalled
public static final String PRO_NONE_SERVER_TYPE
public static final String PRO_WINDCHILL_SERVER_TYPE
public static final String PRO_INTRALINK_SERVER_TYPE
public static final String PRO_FTP_SERVER_TYPE
public static final String PRO_PROJECTLINK_SERVER_TYPE
public static final String PRO_PDMLINK_SERVER_TYPE
Constructor Detail |
public ContextUtilities()
Method Detail |
public static boolean isProIContext()
public static boolean isProjectLinkContext(HTTPRequest request) throws WTException
request
-
WTException
public static boolean isProjectLinkContext(HTTPRequest request, boolean considerActiveWorkspaceContainerContext) throws WTException
request
- considerActiveWorkspaceContainerContext
- Use (treat) active workspace's context as context of this HTTPRequest
WTException
public static boolean isProjectLinkContext(HTTPState state) throws WTException
state
-
WTException
public static boolean isProjectLinkContext(HTTPState state, boolean considerActiveWorkspaceContainerContext) throws WTException
state
- considerActiveWorkspaceContainerContext
- Use (treat) active workspace's context as context of this HTTPRequest
WTException
public static boolean isProjectLinkContext(Object object) throws WTException
object
-
WTException
public static boolean isPDMLinkContext(HTTPRequest request) throws WTException
request
-
WTException
public static boolean isPDMLinkContext(HTTPState state) throws WTException
state
-
WTException
public static boolean isPDMLinkContext(Object object) throws WTException
object
-
WTException
public static boolean isWindchillClassicContext(HTTPRequest request) throws WTException
request
-
WTException
public static boolean isWindchillClassicContext(HTTPState state) throws WTException
state
-
WTException
public static boolean isWindchillClassicContext(Object object) throws WTException
object
-
WTException
public static int getSolutionTypeNumber(HTTPRequest request)
public static int getSolutionTypeNumber(HTTPState state)
public static int getSolutionTypeNumber(Object object)
public static String getSolutionTypeString(HTTPRequest request)
public static String getSolutionTypeString(HTTPState state)
public static String getSolutionTypeString(Object object)
public static WTContainer getContext(HTTPState state) throws WTException
WTException
public static WTContainer getContext(HTTPRequest request) throws WTException
WTException
public static WTContainer getContext(HTTPState state, boolean considerActiveWs) throws WTException
WTException
public static WTContainer getContext(HTTPRequest request, boolean considerActiveWs) throws WTException
WTException
public static boolean isStandaloneWindchillPDMContext()
public static boolean isStandaloneProjectLinkContext()
public static String getProEServerType(HTTPRequest request)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |