com.ptc.windchill.uwgm.proesrv
Class RequestContextFactory.RequestContextImpl

java.lang.Object
  extended bycom.ptc.windchill.uwgm.proesrv.RequestContextFactory.RequestContextImpl
All Implemented Interfaces:
RequestContext
Enclosing class:
RequestContextFactory

private static class RequestContextFactory.RequestContextImpl
extends Object
implements RequestContext

internal implementation


Field Summary
(package private)  String clientName
           
(package private)  String clientVersion
           
(package private)  boolean isStandalone
           
(package private)  Locale locale
           
(package private)  WTPrincipal principal
           
 
Constructor Summary
private RequestContextFactory.RequestContextImpl()
           
 
Method Summary
 String getClientName()
          returns client canonic name
 String getClientVersion()
          returns client canonic version
 Locale getLocale()
          returns current client (!) locale
 WTPrincipal getPrincipal()
          returns current user (principal)
 boolean isStandalone()
          returns "true" if request comes from StandAlone browser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

principal

WTPrincipal principal

locale

Locale locale

clientName

String clientName

clientVersion

String clientVersion

isStandalone

boolean isStandalone
Constructor Detail

RequestContextFactory.RequestContextImpl

private RequestContextFactory.RequestContextImpl()
Method Detail

getPrincipal

public WTPrincipal getPrincipal()
Description copied from interface: RequestContext
returns current user (principal)

Specified by:
getPrincipal in interface RequestContext
Returns:
WTPrincipal

getLocale

public Locale getLocale()
Description copied from interface: RequestContext
returns current client (!) locale

Specified by:
getLocale in interface RequestContext
Returns:
Locale

getClientName

public String getClientName()
Description copied from interface: RequestContext
returns client canonic name

Specified by:
getClientName in interface RequestContext
Returns:
String

getClientVersion

public String getClientVersion()
Description copied from interface: RequestContext
returns client canonic version

Specified by:
getClientVersion in interface RequestContext
Returns:
int

isStandalone

public boolean isStandalone()
Description copied from interface: RequestContext
returns "true" if request comes from StandAlone browser

Specified by:
isStandalone in interface RequestContext
Returns:
boolean