public class WebClientSession
extends java.lang.Object
implements javax.servlet.http.HttpSessionBindingListener
Modifier and Type | Class and Description |
---|---|
class |
WebClientSession.Alignment |
static class |
WebClientSession.RequestType |
Modifier and Type | Field and Description |
---|---|
static int |
AGENT_CHROME |
static int |
AGENT_FIREFOX |
static int |
AGENT_IE |
static int |
AGENT_OPERA |
static int |
AGENT_SAFARI |
static java.lang.String |
DISPLAYMETHOD_MSGBOX |
static java.lang.String |
DISPLAYMETHOD_STATUS |
static int |
LEFTNAV_CLOSE |
static int |
LEFTNAV_INHERIT |
static int |
LEFTNAV_OPEN |
static int |
MSG_BTNCANCEL |
static int |
MSG_BTNCLOSE |
static int |
MSG_BTNNO |
static int |
MSG_BTNOK |
static int |
MSG_BTNYES |
static java.lang.String |
REQUESTTYPE |
static java.lang.String |
SAVEMODE_ONLOAD |
static java.lang.String |
SAVEMODE_ONLOADUNLOAD |
static java.lang.String |
SAVEMODE_ONUNLOAD |
SessionServiceability |
serviceability |
static java.lang.String |
TEMP_TOKEN_PARAM |
Constructor and Description |
---|
WebClientSession(javax.servlet.http.HttpSession httpSession)
Deprecated.
WebClientSessions should be created via the WebClientSessionFactory createSession method.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element |
addMoreinfoButton(org.w3c.dom.Element dialogElement,
java.lang.String value)
Add field help more information button
|
boolean |
addMXWarnings(MXException[] warnings)
Adds warnings to the app-persisted warnings stack.
|
void |
addWarning(MXException e) |
void |
addWarnings(java.util.List<MXException> warningList)
Adds warnings to the app-persisted warnings stack.
|
void |
applySkin() |
java.lang.String |
attachUOM(java.lang.String size) |
boolean |
canPerformApplink()
Can applink happen? Used to avoid loading a new app instance on browser refresh (F5).
|
boolean |
canUseStaticIds()
Returns true if UI should use static mxids rather than sequence based sceheme
|
boolean |
checkForDialogAccess(java.lang.String dialogId,
org.w3c.dom.Element dialog) |
static void |
checkResults(DataBean results,
WebClientSession clientSession,
AppInstance app)
Check to see if we got back a single result, or not
if no result, popup a message "norecord"
if single result, go to main tab
if multiple results, go to list tab
|
void |
cleanup() |
void |
clearAllTracking()
Clearing all the performance data
|
void |
clearModuleMap()
Forces moduleMap to be retrieved with new entries
|
void |
clearPerformanceDataHASH(java.lang.String appname)
Clearing performance data for selected application
|
void |
clearPortletCacheOnKPIChange(java.lang.String kpiName)
Clears cache for a portlet where the key of the cache matches.
|
void |
clearPortletCacheOnReportChange(java.lang.String reportId)
Clears cache for a report portlet which has the report
|
void |
clearPortletCacheSelectively(java.lang.String prefix)
Clears cache for a portlet where the key of the cache matches.
|
void |
clearStack()
Removes all apps form the app stack.
|
void |
clearStartCenterCache(java.lang.String key)
Clears cahce for he given key
|
void |
clearUserInput() |
MXSession |
createMXSession() |
ControlInstance |
findControl(java.lang.String controlId)
Looks for a control instance: checks one by one if the id is that of:
the application instance
of the current page
of any control on the current page
in the library
NOT IMPLEMENTED - in a menu (is this necessary any longer)
NOT IMPLEMENTED - in the report library
|
PageInstance |
findDialog(java.lang.String dialogId)
Returns the dialog control instance with the supplied id if it exists.
|
ControlInstance |
findDialogInDesignerApps(java.lang.String dialogId)
Returns the dialog control instance with the supplied id if it exists for App Designer.
|
void |
finishLongOpEvent() |
java.lang.String |
fixRowForTableDetails(java.lang.String compId)
When updating tabledetails and changing row during setvalue, the value could get applied to the wrong row.
|
void |
forceMessagesToMainPage(boolean forceMain) |
void |
generateMessageBoxForTable(java.util.Hashtable<java.lang.String,java.lang.String> messageInfo) |
java.lang.String |
generateOneTimeCSRFTokenParameter()
This method generates and returns a one use only CSRF token as a request parameter.
|
java.lang.String |
generateRetryCSRFTokenParameter()
This method generates and returns a temporary CSRF token as a request parameter.
|
boolean |
getAccessibilityMode() |
SessionContext |
getAdaptorInstance()
Deprecated.
FIREFOX
|
WebClientSession.Alignment |
getAlignment() |
java.lang.String |
getAppDesc(java.lang.String appId)
Returns the description of an application from the database
|
java.lang.String |
getAppMainTable(java.lang.String currentApp)
Returns the name of the main table for the passed app
|
java.util.Stack<AppInstance> |
getAppStack()
Returns a the app stack of the SessionContext.
|
AsyncRequestManager |
getAsyncRequestManager()
Returns the AsyncRequestManager for this WebClientSesssion.
|
java.lang.Object |
getAttribute(java.lang.String attributeName) |
java.lang.String |
getClientSideMessage(java.lang.String group,
java.lang.String key)
Returns message with key in parenthesis at the end
|
java.util.Set<java.lang.String> |
getClonedApps(java.lang.String originalApp) |
ConditionalUIHelper |
getConditionalUIHelper()
Returns the ConditionalUIHelper assocaited with the WebClientSession.
|
com.ibm.json.java.JSONObject |
getContainerErrorIconJSON()
Builds and stores off the JSON Object definition to use for all containerIconExceptions
|
boolean |
getContextChanged()
Gets the message used by TIP to be sent to other portlets
|
java.lang.String |
getContextPath()
Returns the current servlet base URL, e.g.
|
ControlInstance |
getControlInstance(java.lang.String id)
Helper method to get a control instance from the app.page.controlInstanceIndex.
|
ControlInstance |
getControlInstance(java.lang.String id,
boolean tableDownload) |
java.lang.String |
getCSRFToken() |
java.lang.String |
getCSRFTokenParameter() |
java.lang.String |
getCssPath() |
java.lang.String |
getCssURL() |
AppInstance |
getCurrentApp() |
java.lang.String |
getCurrentAppId() |
WebClientEvent |
getCurrentEvent() |
ControlInstance |
getCurrentEventHandler()
returns a reference to the current control instance that's prcessing an event
|
PageInstance |
getCurrentPage()
Returns the current app's current page instance.
|
java.lang.String |
getCurrentPageId()
Returns the current app's current page id.
|
DataBean |
getDataBean(java.lang.String beanId) |
boolean |
getDebug() |
int |
getDebugDockLeft()
Get the left location for the hiddenframe dialog in debug mode
h
|
int |
getDebugDockTop()
Get the top location for the hiddenframe dialog in debug mode
|
int |
getDebugLevel() |
java.lang.String |
getDefaultStartApp() |
java.lang.String |
getDefautlFormat() |
AsyncRequestManager |
getDesignerAsyncRequestManager() |
boolean |
getDesignmode() |
WebClientSession |
getDesignModeWebClientSession() |
java.lang.String |
getDialogIcon(java.lang.String suffix)
Get the icon used in Messagebox dialog and async tooltip
dialogs based on the messageId suffix
|
java.lang.String |
getEvalDaysRemaining()
Return number of days remaining on evaluation
|
java.lang.String |
getEventLog() |
EventQueue |
getEventQueue()
Return a reference to the EventQueue
|
int |
getEventState() |
ContainerErrorInfo |
getExceptionInfo()
Returns the error image information to be used by containers
|
java.lang.String |
getFactoryId()
Returns the factory id of the WCS.
|
java.lang.String |
getFeaturePack()
Return featurepack version if set in system.properties "mxe.webclient.featurePack"
Should be set to simpl string such as: 7504
|
WebClientEvent |
getFirstHandledEvent() |
boolean |
getForceMessagesToMainPage() |
java.lang.String |
getHelpLangCode()
Get the language code for help url
|
javax.servlet.http.HttpSession |
getHttpSession() |
double |
getIEVersion()
Returns IE version
|
java.lang.String |
getImagePath() |
java.lang.String |
getImageSourcePath()
Get the Maximo images folder base on skin
|
java.lang.String |
getImageURL() |
java.lang.String |
getLeftNavWidth(PageInstance page) |
boolean |
getLightningPortalMode() |
java.util.Locale |
getLocale() |
WebClientEvent |
getLoginEvent() |
ComponentInstance |
getLongOpComponent() |
WebClientEvent |
getLongOpEvent()
The long operation event is the event that initiated the current long operation.
|
java.lang.String |
getLongOpMethod()
The long operation event is the event that initiated the current long operation.
|
int |
getLongOpStatus() |
java.lang.String |
getMaximoBaseURL()
Reconstructs the BASE URL the client used to make the request.
|
java.lang.String |
getMaximoRequestContextURL()
Reconstructs the Maximo Request Context Path.
|
java.lang.String |
getMaximoRequestURI()
Returns the part of this request's URL from the protocol name up to the query string in the first line of the
HTTP request.
|
java.lang.String |
getMaximoRequestURL()
Reconstructs the URL the client used to make the request.
|
MaxMessage |
getMaxMessage(MXException mxe)
Convenience shortcut to get the message for a MXException
|
MaxMessage |
getMaxMessage(java.rmi.RemoteException e)
Get the MaxMessage Object to be displayed for the specified remote exception
|
MaxMessage |
getMaxMessage(java.lang.String group,
java.lang.String key)
Get a MaxMessage Object for the specified error group and key.
|
MboSetRemote |
getMaxMessageMboSetRemote()
Get the cached MaxMessageMboSetRemote
|
boolean |
getMenusCached() |
java.lang.String |
getMessage(MXException mxe)
Get a message string for the specified error group and key
|
java.lang.String |
getMessage(java.lang.String group,
java.lang.String key)
Get a message string for the specified error group and key
|
java.lang.String |
getMessage(java.lang.String group,
java.lang.String key,
java.lang.String[] params) |
java.util.Queue<java.util.Map<java.lang.String,java.lang.String>> |
getMessageBoxQueue() |
java.util.Hashtable<java.lang.String,java.lang.String> |
getMessageInfoForTable(MaxMessage message,
MXException mxe) |
java.util.Hashtable<java.lang.String,java.lang.String> |
getMessageInfoForTable(MaxMessage message,
java.lang.Object[] params) |
java.lang.String[] |
getMessages(java.lang.String group,
java.lang.String[] key)
Find all messages in one convenient array.
|
boolean |
getMobile() |
java.util.Map<java.lang.Integer,java.util.Hashtable<java.lang.String,java.lang.String>> |
getModuleMap()
Returns module/app menus
|
MXSession |
getMXSession()
Returns the MXSession for the user.
|
boolean |
getMxSessionConnected() |
java.lang.String |
getOriginalApp(java.lang.String currentApp)
Returns the name of the original app, given the name of a duplicated app
|
java.util.Set<java.lang.String> |
getOriginalApps(java.lang.String currentApp)
Returns a set of original app names, given the name of a cloned app
|
WebClientEvent |
getOriginalEvent() |
WebClientSession |
getOriginalSession() |
boolean |
getPerfStat()
Return performance statistics flag (true / false ), first time it is set from webclient.properties
files
|
boolean |
getPortalMode() |
java.lang.String |
getPortalMsg()
Gets the message used by TIP to be sent to other portlets
|
AppInstance |
getPreviousApp() |
java.lang.String |
getProxyBaseURL()
Reconstructs the BASE URL the client used to make the request.
|
java.lang.String |
getProxyRequestContextURL()
Reconstructs the ProxyServlet Request Context Path.
|
ContainerErrorInfo |
getQuestionInfo()
Returns the question image information to be used by containers
|
java.lang.String |
getRegexPattern(int dataType)
Returns pattern string for use in client-side validation.
|
java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.lang.String>> |
getReportsMap() |
javax.servlet.http.HttpServletRequest |
getRequest()
Returns the current request being handled by the WebClientSession.
|
java.lang.String |
getRequestParameter(java.lang.String key) |
WebClientSession.RequestType |
getRequestType()
Returns the current request type
|
static WebClientSession.RequestType |
getRequestType(javax.servlet.http.HttpServletRequest request)
Returns the request type from the ServletRequest
|
javax.servlet.http.HttpServletResponse |
getResponse() |
java.lang.String |
getSettingsProperty(java.lang.String prop)
Retrieves a property from the locale properties file (setting.properties).
|
java.lang.String |
getSettingsProperty(java.lang.String prop,
java.lang.String[] params)
Retrieves a property from the locale properties file (setting.properties).
|
boolean |
getShowWebReplay() |
java.lang.String |
getSkin() |
java.lang.String |
getSkinName() |
ContainerErrorInfo |
getSmartFillExceptionInfo()
Returns the error image information to be used by containers
|
SpellingSessionAdapter |
getSpellSessionAdapter()
Returns the SpellingSessionAdapter object in use during this Spelling Session
|
java.lang.Object |
getStartCenterCache(java.lang.String key)
Returns a portion of current start center
|
EventHandlerInterface |
getSystemEventHandler() |
java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.lang.String>> |
getSystemOptionMap()
MM returns System options menu
|
java.lang.String[] |
getSystemProperty(java.lang.String propertyName)
Return array of strings for given property name.
|
java.util.TimeZone |
getTimeZone() |
boolean |
getTipPortalMode() |
java.lang.String |
getUISessionID() |
java.lang.String |
getUISessionUrlParameter() |
java.lang.String |
getUniqueId()
Generate a unique id for a newly inserted (or pasted) control.
|
int |
getUserAgent() |
java.lang.String |
getUserAgentName()
Returns the current Agent (browser) string Identifier
|
java.lang.String |
getUserAgentReplacement()
Returns string to use in replacing the #{browser} keyword.
|
java.util.Set<java.lang.String> |
getUserApps() |
UserInfo |
getUserInfo() |
java.lang.String |
getUserLanguageCode() |
ContainerErrorInfo |
getWarningInfo()
Returns the warning image information to be used by containers
|
java.util.ArrayList<MXException> |
getWarnings() |
java.lang.String |
getWebClientURL() |
WorkflowDirector |
getWorkflowDirector()
Returns the WorkflowDirector for the client session
|
void |
gotoApplink(java.lang.String url)
Redirects the browser to the URL in the parameter
|
boolean |
handleDialogOK(boolean advancedLongOp)
Calls the action in the current event on the bean associated with the dialog.
|
boolean |
handleDialogOK(boolean advancedLongOp,
java.lang.String longOpMessage) |
int |
handleEvent(WebClientEvent event) |
boolean |
handleMXWarnings()
Kicks off the event to show warnings that are saved in the warnings list in the sessionContext Some
events can have problems if warnings are displayed along with them, set the request attribute
"waitwarnings" to have the warnings display delayed.
|
boolean |
handleMXWarnings(boolean showMultipleWarningsSeparately) |
void |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
hasDesignModeWebClientSession() |
boolean |
hasLongOpCompleted() |
boolean |
hasLongOpStarted() |
boolean |
hasPausedEvents()
Returns true if there are events in the paused event queue.
|
boolean |
hasQueryLongOpCompleted() |
boolean |
hasStartCenterCache(java.lang.String key)
Returns true if a cache already exists.
|
boolean |
hasTimedOut()
Returns true is the WebClientSession has timed out or false if it hasn't
The timeout interval is defaulted to the HttpSession timeout interval
but can be overriden by the webclient.properties property webclient.webclientsessiontimeout.
|
boolean |
hasWarnings() |
boolean |
hasWorkflowInfo() |
void |
hideWebReplay(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
invalidate() |
boolean |
isAsyncEnabled()
Checks, stores and returns global system property for whether async is enabled "mxe.webclient.async"
|
boolean |
isAutomationOn() |
boolean |
isCombinedSetValue() |
boolean |
isConnected() |
boolean |
isInFrameset()
Gets whether or not we are currently running in a frameset.
|
boolean |
isMaximoOrTivoliBrand()
Returns if the current product is maximo brand or not
|
boolean |
isMobileUserAgent() |
boolean |
isPermanentLicense()
Return set if license is permanent
|
boolean |
isPostTivoli09Skin() |
boolean |
isQueuePaused()
Returns whether or not the queue has been paused and stores off the remaining queued events to be done
after the user closes the messagebox.
|
boolean |
isSessionFound() |
boolean |
isTempTokenValid(java.lang.String oneTimeToken)
Returns true if the token passed is a valid temporary Cross Site Request Forgery token that was
generated via generateOneTimeCSRFTokenParameter and then invalidates the token.
|
boolean |
isValid()
Returns boolean true if the WebClientSession is still valid or false if it is not.
|
boolean |
isWebReplayEnabled() |
void |
killPopup(boolean killIt)
Forces current popup page off the page stack and removes it from UI
|
void |
killPopup(WebClientEvent event)
Uses event to determine whether popup should be killed
if a popup is open and an event is sent to another page, the popup must be closed
|
java.util.Date |
lastAccessed() |
int |
loadDialog(java.lang.String dialogId) |
int |
loadDialog(java.lang.String dialogId,
boolean showmessages,
java.lang.String longOpMessage) |
int |
loadDialogInDesignerApps(java.lang.String dialogId) |
boolean |
lockMboOnEntry() |
void |
longOpCleanup()
Cleanup code called after the long operation has been completed.
|
void |
longOpQueryCleanup() |
void |
pauseQueue()
Pauses processing the queue.
|
void |
performApplink(boolean canApplink)
Sets whether or not an applink can happen.
|
AppInstance |
popApp()
Removes the top application instance from the stack.
|
void |
printDebugMessage(int level,
java.lang.String message) |
int |
processProfiles(java.lang.String profileName) |
void |
processRender()
This method will send the render event to the current app if the call to handleRequest flags the
WebClientSession to process the render.
|
void |
pushApp(AppInstance ai)
Push the app on the app stack
|
void |
queueEvent(WebClientEvent event)
Adds an event to the EventQueue.
|
java.lang.String |
removeUOM(java.lang.String size) |
java.util.List<MXException> |
removeWarnings()
Clears (removes) all warnings from the warning list and returns them.
|
org.w3c.dom.Element |
replaceQbeclearButton(org.w3c.dom.Element dialogElement) |
void |
resetPortletCaches()
Resets PortletlLayoutCache cache and individual portlet caches.
|
void |
resetStartCenterCache()
Resets StartCenterListCache and PortletlLayoutCache cache
|
boolean |
runLongOp(DataBean dataSrc,
java.lang.String method)
Initiates a long op method on the passed in datasrc.
|
boolean |
runLongOp(DataBean dataSrc,
java.lang.String method,
boolean showMessages,
java.lang.String longOpMessage) |
boolean |
runLongOp(DataBean dataSrc,
WebClientEvent event)
Initiates a long op method on the passed in datasrc.
|
boolean |
runLongOp(DataBean dataSrc,
WebClientEvent event,
boolean showMessages,
java.lang.String longOpMessage) |
boolean |
runLongOpQuery(DataBean dataSrc,
java.lang.String method,
boolean showMessages,
java.lang.String longOpMessage) |
void |
setAccessibilityMode(boolean mode) |
void |
setAdvancedLongOp(boolean advanced) |
void |
setAttribute(java.lang.String attributeName,
java.lang.Object value) |
void |
setContextChanged(boolean aBool)
Sets the message used by TIP to be sent to other portlets
|
void |
setCssPath(java.lang.String path) |
void |
setCurrentEvent(WebClientEvent event) |
void |
setCurrentEventHandler(ControlInstance eventHandler) |
void |
setDebugDock(java.lang.String left,
java.lang.String top) |
void |
setDefautlFormat(java.lang.String defaultFormat) |
void |
setDesignmode(boolean flag) |
void |
setDesignModeWebClientSession(WebClientSession wcs) |
void |
setErrorFieldFocus(java.lang.String currentFocusId,
boolean forceRow) |
void |
setEventState(int state) |
void |
setHttpSession(javax.servlet.http.HttpSession https) |
void |
setImagePath(java.lang.String path) |
void |
setImagesPreLoaded(boolean pre)
Sets whether or not we need to preload images for this skin and session
|
void |
setInFrameset(boolean isInFrameset)
Sets whether or not we are currently running in a frameset.
|
void |
setLeftNavWidth(java.lang.String width) |
void |
setLightningPortalMode(boolean portalmode) |
void |
setLockMboOnEntry(boolean checkrecordlock) |
void |
setLongOpChecked(boolean longopChecked)
In order to get around a threading issue that happens when the longop processing is very fast
added the longOpChecked flag the will prevent hasLongOpCompleted from returning true until the
longop dialog had a chance to ask.
|
void |
setLongOpComponent(ComponentInstance longOp) |
void |
setMaxMessageMboSetRemote(MboSetRemote setmboSet)
Set cache for the MaxMessageMboSetRemote object.
|
void |
setMenusCached(boolean cached) |
void |
setMobile(boolean setValue) |
void |
setMxSessionConnected(boolean flag) |
void |
setOriginalSession(WebClientSession wcs) |
void |
setPerformanceDataHASH(java.lang.String keyName,
long sInputValue)
Tracking performance data in memory
|
void |
setPerformanceDataHASH(java.lang.String keyName,
java.lang.String value)
Deprecated.
use the other version that takes a long value
|
void |
setPerfStat(java.lang.String flag)
set performance statistics flag (true / false ), first time it is set from webclient.properties files
|
void |
setPortalMode(boolean portalmode) |
void |
setPortalMsg(java.lang.String aMsg)
Sets the message used by TIP to be sent to other portlets
|
void |
setRequest(javax.servlet.http.HttpServletRequest request)
Sets the current HttpServletRequest that the WebClientSession is handling, and sets its request type
|
void |
setResponse(javax.servlet.http.HttpServletResponse response) |
void |
setSessionFound(boolean flag) |
void |
setShowWebReplay(boolean show) |
void |
setSpellSessionAdapter(SpellingSessionAdapter spellSessionAdapter)
Sets the SpellingSessionAdapter object to be used during this Spelling Session
|
void |
setStartCenterCache(java.lang.String key,
java.lang.Object obj)
Sets cache object in the cache
|
void |
setTimeZone(java.lang.String strTimeZone) |
void |
setTipPortalMode(boolean tipportalmode) |
void |
setUISessionID(java.lang.String uiSessionID) |
void |
setUserInput(MXException mxe,
int msgReturn)
Set MXException in the userinput for the object to use
|
void |
showEsigLoginDialog(ESigLoginException srcExcept)
Open the eSignature login dialog
|
void |
showLongopDialog(java.lang.String datasrc) |
void |
showMessageBox(MXException mxe) |
void |
showMessageBox(java.lang.String messageFile,
java.lang.String key,
java.lang.String[] params) |
void |
showMessageBox(WebClientEvent srcEvent,
MXException mxe) |
void |
showMessageBox(WebClientEvent srcEvent,
java.rmi.RemoteException re) |
void |
showMessageBox(WebClientEvent srcEvent,
java.lang.String title,
java.lang.String warnings,
int flags) |
void |
showMessageBox(WebClientEvent srcEvent,
java.lang.String messageFile,
java.lang.String key,
java.lang.Object[] params) |
void |
showMessageBox(WebClientEvent srcEvent,
java.lang.String messageFile,
java.lang.String key,
java.lang.String[] params)
Deprecated.
|
boolean |
showSystemNavBar(PageInstance page)
Checks system property and app override to determine whether we should show the system navbar
|
boolean |
showWebReplay(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
int |
showwfinfo() |
void |
stamp() |
void |
stopLongOpQuery() |
boolean |
subFrameAllowed() |
boolean |
supportsLocalStorage() |
java.lang.String |
toString() |
void |
turnAutomationOn() |
void |
unPauseQueue()
Adds the saved queued events to the event queue so they can be processed.
|
void |
useLeftContextInterval(boolean use)
Tells session to use the left Context interval to timeout
|
boolean |
useVerticalLabels() |
boolean |
usingContextInterval()
Tells session to use the left Context interval to timeout
|
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent arg0) |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent arg0) |
boolean |
wasPopupKilled() |
boolean |
wereImagesPreLoaded()
Used to determine if we have preloaded images for this skin and session
|
public final SessionServiceability serviceability
public static final int MSG_BTNCLOSE
public static final int MSG_BTNOK
public static final int MSG_BTNCANCEL
public static final int MSG_BTNYES
public static final int MSG_BTNNO
public static final int AGENT_IE
public static final int AGENT_FIREFOX
public static final int AGENT_CHROME
public static final int AGENT_SAFARI
public static final int AGENT_OPERA
public static final int LEFTNAV_INHERIT
public static final int LEFTNAV_OPEN
public static final int LEFTNAV_CLOSE
public static final java.lang.String DISPLAYMETHOD_STATUS
public static final java.lang.String DISPLAYMETHOD_MSGBOX
public static final java.lang.String SAVEMODE_ONLOAD
public static final java.lang.String SAVEMODE_ONUNLOAD
public static final java.lang.String SAVEMODE_ONLOADUNLOAD
public static final java.lang.String REQUESTTYPE
public static final java.lang.String TEMP_TOKEN_PARAM
@TracePrimary public WebClientSession(javax.servlet.http.HttpSession httpSession)
public boolean isPostTivoli09Skin()
public java.lang.String getSkin()
public java.lang.String getSkinName()
public SessionContext getAdaptorInstance()
public boolean getMxSessionConnected()
public void setMxSessionConnected(boolean flag)
public boolean isConnected()
public void applySkin()
public boolean isMobileUserAgent()
public java.lang.String getUserAgentName()
public java.lang.String getUserAgentReplacement()
public int getUserAgent()
@TracePrimary public void handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public java.lang.String fixRowForTableDetails(java.lang.String compId)
compId
- - id of the component that is getting a setvaluepublic java.lang.String getProxyRequestContextURL()
public java.lang.String getProxyBaseURL()
public java.lang.String getPortalMsg()
public void setPortalMsg(java.lang.String aMsg)
public boolean getContextChanged()
public void setContextChanged(boolean aBool)
public int showwfinfo()
public void setErrorFieldFocus(java.lang.String currentFocusId, boolean forceRow)
public void printDebugMessage(int level, java.lang.String message)
@TracePrimary public int handleEvent(WebClientEvent event)
event
- the event to processpublic boolean hasWorkflowInfo()
public EventQueue getEventQueue()
public void queueEvent(WebClientEvent event)
public java.lang.String getCurrentPageId()
public PageInstance getCurrentPage()
public DataBean getDataBean(java.lang.String beanId)
public boolean checkForDialogAccess(java.lang.String dialogId, org.w3c.dom.Element dialog)
public PageInstance findDialog(java.lang.String dialogId)
dialogId
- the id of the dialogpublic java.lang.String getUniqueId()
public ControlInstance findDialogInDesignerApps(java.lang.String dialogId)
dialogId
- the id of the dialogpublic void setLongOpComponent(ComponentInstance longOp)
public ComponentInstance getLongOpComponent()
public int loadDialog(java.lang.String dialogId)
public int loadDialog(java.lang.String dialogId, boolean showmessages, java.lang.String longOpMessage)
public int loadDialogInDesignerApps(java.lang.String dialogId)
public ControlInstance getControlInstance(java.lang.String id)
public ControlInstance getControlInstance(java.lang.String id, boolean tableDownload)
public AppInstance getCurrentApp()
public java.lang.String getCurrentAppId()
public AppInstance getPreviousApp()
public MXSession getMXSession()
public javax.servlet.http.HttpSession getHttpSession()
public void setHttpSession(javax.servlet.http.HttpSession https)
public void pushApp(AppInstance ai)
public AppInstance popApp()
public void clearStack()
public java.util.Stack<AppInstance> getAppStack()
public void setCurrentEvent(WebClientEvent event)
public WebClientEvent getCurrentEvent()
public WebClientEvent getFirstHandledEvent()
public WebClientEvent getOriginalEvent()
public void setEventState(int state)
public int getEventState()
public ControlInstance getCurrentEventHandler()
public void setCurrentEventHandler(ControlInstance eventHandler)
public void setPerfStat(java.lang.String flag)
public boolean getPerfStat()
public javax.servlet.http.HttpServletRequest getRequest()
public WebClientSession.RequestType getRequestType()
public static WebClientSession.RequestType getRequestType(javax.servlet.http.HttpServletRequest request)
public void setRequest(javax.servlet.http.HttpServletRequest request)
request
- HttpServletRequest object sent to the Tpae UI framework (via the WebClientServlet) from the client (browser).public javax.servlet.http.HttpServletResponse getResponse()
public void setResponse(javax.servlet.http.HttpServletResponse response)
response
- The response to set.public MXSession createMXSession()
public boolean hasWarnings()
public java.util.ArrayList<MXException> getWarnings()
public void addWarning(MXException e)
public java.util.List<MXException> removeWarnings()
public void addWarnings(java.util.List<MXException> warningList)
public WebClientEvent getLoginEvent() throws java.io.IOException
java.io.IOException
public java.util.Locale getLocale()
public WebClientSession.Alignment getAlignment()
public java.lang.String getHelpLangCode()
public java.util.TimeZone getTimeZone()
public void setTimeZone(java.lang.String strTimeZone) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public UserInfo getUserInfo()
public java.lang.String getUserLanguageCode()
public MboSetRemote getMaxMessageMboSetRemote()
public void setMaxMessageMboSetRemote(MboSetRemote setmboSet)
public java.util.Set<java.lang.String> getUserApps()
public java.lang.String getOriginalApp(java.lang.String currentApp)
currentApp
- the application name of the duplicated apppublic java.lang.String getAppDesc(java.lang.String appId)
appId
- the application IDpublic java.util.Set<java.lang.String> getClonedApps(java.lang.String originalApp)
public java.util.Set<java.lang.String> getOriginalApps(java.lang.String currentApp)
currentAppName
- the application name of the cloned apppublic java.lang.String getAppMainTable(java.lang.String currentApp)
currentApp
- the application namepublic SpellingSessionAdapter getSpellSessionAdapter()
public void setSpellSessionAdapter(SpellingSessionAdapter spellSessionAdapter)
spellAdapter
- the SpellingSessionAdapter objectpublic void pauseQueue()
public boolean isQueuePaused()
public void unPauseQueue()
public boolean runLongOp(DataBean dataSrc, WebClientEvent event)
public boolean runLongOp(DataBean dataSrc, WebClientEvent event, boolean showMessages, java.lang.String longOpMessage)
public boolean runLongOp(DataBean dataSrc, java.lang.String method)
public boolean runLongOp(DataBean dataSrc, java.lang.String method, boolean showMessages, java.lang.String longOpMessage)
public boolean runLongOpQuery(DataBean dataSrc, java.lang.String method, boolean showMessages, java.lang.String longOpMessage)
public void stopLongOpQuery()
public int getLongOpStatus()
public boolean hasLongOpStarted()
public void setLongOpChecked(boolean longopChecked)
public boolean hasLongOpCompleted()
public boolean hasQueryLongOpCompleted()
public WebClientEvent getLongOpEvent()
AsyncProcess.longOpCleanup()
,
runLongOp
public java.lang.String getLongOpMethod()
AsyncProcess.longOpCleanup()
,
runLongOp
public void finishLongOpEvent()
public void longOpCleanup()
public void longOpQueryCleanup()
public WorkflowDirector getWorkflowDirector()
public java.lang.String getSettingsProperty(java.lang.String prop)
prop
- property to getpublic MaxMessage getMaxMessage(MXException mxe)
public MaxMessage getMaxMessage(java.rmi.RemoteException e)
public java.lang.String getSettingsProperty(java.lang.String prop, java.lang.String[] params)
prop
- property to getpublic MaxMessage getMaxMessage(java.lang.String group, java.lang.String key)
public java.lang.String getMessage(MXException mxe)
public java.lang.String getMessage(java.lang.String group, java.lang.String key)
group
- the message group if the key is not found in the current applicationkey
- the message keypublic java.lang.String getMessage(java.lang.String group, java.lang.String key, java.lang.String[] params)
group
- the message group if the key is not found in the current applicationkey
- the message keyparams
- the message parameterspublic java.lang.String[] getMessages(java.lang.String group, java.lang.String[] key)
group
- the message group if the key is not found in the current applicationkey
- the message keygetMessage
public java.lang.String getClientSideMessage(java.lang.String group, java.lang.String key)
public void showMessageBox(WebClientEvent srcEvent, java.lang.String title, java.lang.String warnings, int flags)
public void showMessageBox(WebClientEvent srcEvent, java.lang.String messageFile, java.lang.String key, java.lang.String[] params)
showMessageBox(WebClientEvent, String, String, Object[])
public void showMessageBox(WebClientEvent srcEvent, java.lang.String messageFile, java.lang.String key, java.lang.Object[] params)
public void showMessageBox(java.lang.String messageFile, java.lang.String key, java.lang.String[] params)
public void showMessageBox(WebClientEvent srcEvent, MXException mxe)
public void showMessageBox(WebClientEvent srcEvent, java.rmi.RemoteException re)
public void showMessageBox(MXException mxe)
public void generateMessageBoxForTable(java.util.Hashtable<java.lang.String,java.lang.String> messageInfo)
public java.util.Hashtable<java.lang.String,java.lang.String> getMessageInfoForTable(MaxMessage message, MXException mxe)
public java.util.Hashtable<java.lang.String,java.lang.String> getMessageInfoForTable(MaxMessage message, java.lang.Object[] params)
public void showEsigLoginDialog(ESigLoginException srcExcept)
srcExcept
- The ESigLoginException for the checked actionpublic boolean addMXWarnings(MXException[] warnings)
public boolean handleMXWarnings()
public boolean handleMXWarnings(boolean showMultipleWarningsSeparately)
public void setUserInput(MXException mxe, int msgReturn)
public void clearUserInput()
public void showLongopDialog(java.lang.String datasrc)
public void gotoApplink(java.lang.String url)
url
- the new urlpublic boolean handleDialogOK(boolean advancedLongOp) throws java.rmi.RemoteException
java.rmi.RemoteException
public boolean handleDialogOK(boolean advancedLongOp, java.lang.String longOpMessage) throws java.rmi.RemoteException
java.rmi.RemoteException
public ControlInstance findControl(java.lang.String controlId)
controlId
- the control idpublic int processProfiles(java.lang.String profileName)
public java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.lang.String>> getSystemOptionMap()
public void clearModuleMap()
public java.util.Map<java.lang.Integer,java.util.Hashtable<java.lang.String,java.lang.String>> getModuleMap()
public java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.lang.String>> getReportsMap()
public java.lang.String[] getSystemProperty(java.lang.String propertyName)
public boolean isPermanentLicense()
public java.lang.String getEvalDaysRemaining()
public void invalidate()
public void useLeftContextInterval(boolean use)
use
- the intervalpublic boolean usingContextInterval()
use
- the intervalpublic boolean hasTimedOut()
public boolean isValid()
public java.lang.String getRequestParameter(java.lang.String key)
public void setLightningPortalMode(boolean portalmode)
public void setPortalMode(boolean portalmode)
public boolean getLightningPortalMode()
public boolean getPortalMode()
public void setTipPortalMode(boolean tipportalmode)
public boolean getTipPortalMode()
public WebClientSession getDesignModeWebClientSession()
public boolean hasDesignModeWebClientSession()
public void setDesignModeWebClientSession(WebClientSession wcs)
public void setOriginalSession(WebClientSession wcs)
public WebClientSession getOriginalSession()
public java.lang.String getContextPath()
public void setDesignmode(boolean flag)
public boolean getDesignmode()
public boolean getMobile()
public void setMobile(boolean setValue)
public void setLockMboOnEntry(boolean checkrecordlock)
public boolean lockMboOnEntry()
public void setPerformanceDataHASH(java.lang.String keyName, java.lang.String value)
public void setPerformanceDataHASH(java.lang.String keyName, long sInputValue)
public void clearPerformanceDataHASH(java.lang.String appname)
public void clearAllTracking()
public java.lang.String getUISessionID()
public java.lang.String getUISessionUrlParameter()
public void setUISessionID(java.lang.String uiSessionID)
public void setSessionFound(boolean flag)
public boolean isSessionFound()
public void valueBound(javax.servlet.http.HttpSessionBindingEvent arg0)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent arg0)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
public boolean isWebReplayEnabled()
public void setShowWebReplay(boolean show)
public boolean getShowWebReplay()
public boolean showWebReplay(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public void hideWebReplay(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public boolean getDebug()
public int getDebugLevel()
public java.lang.String getEventLog()
public void setDebugDock(java.lang.String left, java.lang.String top)
public void setAccessibilityMode(boolean mode)
public boolean getAccessibilityMode()
public EventHandlerInterface getSystemEventHandler()
public void cleanup()
public java.lang.String getImagePath()
public java.lang.String getCssPath()
public java.lang.String getWebClientURL()
public java.lang.String getImageURL()
public java.lang.String getCssURL()
public void setImagePath(java.lang.String path)
public void setCssPath(java.lang.String path)
public boolean isCombinedSetValue()
public boolean subFrameAllowed()
public void forceMessagesToMainPage(boolean forceMain)
public boolean getForceMessagesToMainPage()
public void setAdvancedLongOp(boolean advanced)
public boolean isAutomationOn()
public void turnAutomationOn()
public static void checkResults(DataBean results, WebClientSession clientSession, AppInstance app) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public org.w3c.dom.Element replaceQbeclearButton(org.w3c.dom.Element dialogElement)
public org.w3c.dom.Element addMoreinfoButton(org.w3c.dom.Element dialogElement, java.lang.String value)
public boolean isMaximoOrTivoliBrand() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void killPopup(boolean killIt)
public void killPopup(WebClientEvent event)
public boolean wasPopupKilled()
public java.lang.String getMaximoRequestURI()
public java.lang.String getMaximoRequestURL()
public java.lang.String getMaximoRequestContextURL()
public java.lang.String getMaximoBaseURL()
public java.lang.String getDefautlFormat()
public void setDefautlFormat(java.lang.String defaultFormat)
public boolean wereImagesPreLoaded()
public void setImagesPreLoaded(boolean pre)
public java.util.Date lastAccessed()
public void stamp()
public java.lang.String getFactoryId()
public java.lang.Object getStartCenterCache(java.lang.String key)
public void setStartCenterCache(java.lang.String key, java.lang.Object obj)
obj
- cache valuepublic void resetStartCenterCache()
public void resetPortletCaches()
public void clearPortletCacheSelectively(java.lang.String prefix)
public void clearPortletCacheOnKPIChange(java.lang.String kpiName)
public void clearPortletCacheOnReportChange(java.lang.String reportId) throws MXException
reportId
- String as MXException
public void clearStartCenterCache(java.lang.String key)
key
- {StartCenterListCache,PortletlLayoutCache}public boolean hasStartCenterCache(java.lang.String key)
key
- {StartCenterListCache,PortletlLayoutCache}public boolean isAsyncEnabled()
public AsyncRequestManager getAsyncRequestManager()
public void performApplink(boolean canApplink)
public boolean canPerformApplink()
public void processRender()
public int getDebugDockLeft()
public int getDebugDockTop()
public double getIEVersion()
public void setInFrameset(boolean isInFrameset)
public boolean isInFrameset()
public boolean canUseStaticIds()
WebClientRuntime.getWebClientRuntime().canUseStaticIds()
public java.lang.String getImageSourcePath()
public java.lang.String getDialogIcon(java.lang.String suffix)
public ContainerErrorInfo getWarningInfo()
public ContainerErrorInfo getSmartFillExceptionInfo()
public ContainerErrorInfo getExceptionInfo()
public ContainerErrorInfo getQuestionInfo()
public com.ibm.json.java.JSONObject getContainerErrorIconJSON()
public ConditionalUIHelper getConditionalUIHelper()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getDefaultStartApp()
public java.lang.String getRegexPattern(int dataType)
public void setMenusCached(boolean cached)
public boolean getMenusCached()
public boolean hasPausedEvents()
public AsyncRequestManager getDesignerAsyncRequestManager()
public void setAttribute(java.lang.String attributeName, java.lang.Object value)
public java.lang.Object getAttribute(java.lang.String attributeName)
public java.lang.String attachUOM(java.lang.String size)
public java.lang.String removeUOM(java.lang.String size)
public boolean useVerticalLabels()
public java.lang.String generateOneTimeCSRFTokenParameter()
allowTwice
- if true, it will allow the token to be valid for 2 requests. This is needed for
exportxml when in a chrome browser. exportxml opens the xml into another browser window.
In chrome when the user attempts to save the xml, chrome sends the request again for the
download. Without allowing the temp token to be used again, the request will be rejected.public java.lang.String generateRetryCSRFTokenParameter()
public boolean isTempTokenValid(java.lang.String oneTimeToken)
oneTimeToken
- - The token to validate.public java.lang.String getCSRFToken()
public java.lang.String getCSRFTokenParameter()
public boolean showSystemNavBar(PageInstance page)
public java.util.Queue<java.util.Map<java.lang.String,java.lang.String>> getMessageBoxQueue()
public java.lang.String getFeaturePack()
public boolean supportsLocalStorage()
public void setLeftNavWidth(java.lang.String width)
public java.lang.String getLeftNavWidth(PageInstance page)