Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.messaging.xms
Class XMSSessionBase

java.lang.Object
  |
  +--oracle.panama.rt.common.SessionImpl
        |
        +--oracle.panama.messaging.xms.XMSSessionBase
All Implemented Interfaces:
Session, SessionParameterNames

public class XMSSessionBase
extends oracle.panama.rt.common.SessionImpl

Field Summary

 

Fields inherited from class oracle.panama.rt.common.SessionImpl
allSessions, allSessionStates, monitor

 

Fields inherited from interface oracle.panama.rt.SessionParameterNames
COOKIES, USER_NAME, USER_REF

 

Constructor Summary
XMSSessionBase(java.lang.String sessionId)
           

 

Method Summary
 void bindToExternalSession(oracle.panama.rt.common.AbstractConnection conn)
           
 oracle.panama.rt.async.FormState getForm()
          Set the form state
 oracle.panama.rt.async.MenuState getMenu()
          Set the menu state
 boolean isFormUpdated()
          Check if the form is updated from the last service invocation
 boolean isMenuUpdated()
          Check if the menu is updated from the last service invocation
 void setForm(oracle.panama.rt.async.FormState form)
          Set the form state
 void setFormUpdatedFlag(boolean formUpdatedFlag)
          Set the flag if the last service invocation updates the form.
 void setMenu(oracle.panama.rt.async.MenuState menu)
          Set the menu state
 void setMenuUpdatedFlag(boolean menuUpdatedFlag)
          Set the flag if the last service invocation updates the menu.

 

Methods inherited from class oracle.panama.rt.common.SessionImpl
addActiveConnection, addSessionListener, addSessionListeners, cacheAndRewriteURL, commitPersistentState, commitVirgins, documentUpdated, expire, getActiveConnections, getAllSessions, getAttribute, getAttributeNames, getAuthenticatedUser, getAuthenticationContext, getController, getCreatingUser, getCreationTime, getCurrentFolder, getCurrentLocation, getDeviceId, getEffectiveUser, getHomeService, getHomeServiceId, getId, getLastAccessedTime, getLocale, getLocationMark, getManagedContext, getMaxInactiveInterval, getMobileId, getNewManagedContextKey, getNumSessions, getParameter, getParameters, getPersistentAttribute, getPersistentAttributeNames, getProfile, getReferenceID, getSessionEvent, getSessionHolder, getSessionState, getSubscriberId, getTransaction, getUser, getVirtualUser, getXFormsBaseURL, getXFormsDocument, getXFormsResultType, getXFormsServiceId, initialize, invalidate, invalidate, invalidateSessionState, invalidateXFormsDocument, isAutoLocated, isBeforeSessionBegin, isDebugAuthorized, isInvalidated, isPersistentSessionEnabled, isPersistentSessionId, isUpgrading, isUserAuthenticated, isUserVirtual, isXFormsRetrievedInFilterMode, lookupConnectionById, lookupSession, lookupSessionByDeviceId, lookupSessionByOwner, notifySessionListeners, removeActiveConnection, removeAttribute, removeParameter, removePersistentAttribute, removeSessionListener, removeSessionListeners, replicateSession, setAttribute, setAuthenticatedUser, setAuthenticationContext, setAuthenticationContext, setAutoLocated, setBeforeSessionBegin, setController, setCreationTime, setCurrentFolder, setCurrentFolder, setDebugAuthorized, setDeviceId, setEffectiveUser, setHomeServiceId, setLastAccessedTime, setLocationMark, setManagedContext, setMaxInactiveInterval, setMobileId, setNewManagedContextKey, setParameter, setPersistentAttribute, setProfile, setSessionEvent, setSessionEventMask, setVirtualUser, setXFormsDocument, startMonitor, touch

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

XMSSessionBase

public XMSSessionBase(java.lang.String sessionId)
Method Detail

bindToExternalSession

public void bindToExternalSession(oracle.panama.rt.common.AbstractConnection conn)
Specified by:
bindToExternalSession in class oracle.panama.rt.common.SessionImpl

getMenu

public oracle.panama.rt.async.MenuState getMenu()
Set the menu state
Returns:
menu state

setMenu

public void setMenu(oracle.panama.rt.async.MenuState menu)
Set the menu state
Parameters:
menu - the menu state

isMenuUpdated

public boolean isMenuUpdated()
Check if the menu is updated from the last service invocation
Returns:
true if the menu is updated by last service invocation

getForm

public oracle.panama.rt.async.FormState getForm()
Set the form state
Returns:
form state

setForm

public void setForm(oracle.panama.rt.async.FormState form)
Set the form state
Parameters:
form - the menu state

setMenuUpdatedFlag

public void setMenuUpdatedFlag(boolean menuUpdatedFlag)
Set the flag if the last service invocation updates the menu.
Parameters:
menuUpdatedFlag - true if the menu is updated from the last action.

setFormUpdatedFlag

public void setFormUpdatedFlag(boolean formUpdatedFlag)
Set the flag if the last service invocation updates the form.
Parameters:
formUpdatedFlag - true if the menu is updated from the last action.

isFormUpdated

public boolean isFormUpdated()
Check if the form is updated from the last service invocation
Returns:
true if the form is updated by last service invocation

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.