LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery
Class LyJQSession

java.lang.Object
  extended by leon.app.LyDataSession
      extended by leon.app.LySession
          extended by leon.view.web.LyWebSession
              extended by leon.view.web.jquery.LyJQSession
All Implemented Interfaces:
java.io.Serializable, LyEvaluator, LyGuiClientInterface, LyTimerClientInterface

public class LyJQSession
extends LyWebSession
implements java.io.Serializable

The instance of session for JQuery viewer.

See Also:
LySession, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class leon.app.LyDataSession
LyDataSession.State
 
Field Summary
static java.lang.String __VERSION
           
 
Fields inherited from class leon.app.LySession
DEFAULT, DEMAND_EXIT, DRAGGED_OBJECT, METRIC_OBJECT_ID_KEY, POPUP_VIEW, SESSION_TIMEOUT
 
Fields inherited from class leon.app.LyDataSession
_nbSessions, _sessionsCounter
 
Constructor Summary
LyJQSession(LyApplication application, boolean registerSession)
          Constructor of web session.
 
Method Summary
 void close()
          Closes the session.
 javax.servlet.http.HttpServletRequest getCurrentRequest()
          Gets the current request.
 javax.servlet.http.HttpServletResponse getCurrentResponse()
          Gets the current response.
 javax.servlet.http.HttpSession getHttpSession()
          Returns the http session binded with current Leonardi session.
 void setHttpSession(javax.servlet.http.HttpSession httpSession, java.lang.String httpSessionKey)
          Binds an http session with current Leonardi session.
 
Methods inherited from class leon.app.LySession
addController, addOutlineController, addResetListener, checkControllerId, closeViews, closeViews, confirmClosing, confirmExit, confirmExit, controllerHidden, controllerShown, createStickerWindow, enableAction, enableTransverseAction, endTimer, exit, getApplication, getController, getController, getControllerCount, getControllerStackSize, getLastViewController, getLastViewController, getMasterSession, getPluginId, getPrintThreadCount, getRootContextController, getSessionTimeout, getSlaveSessions, getStackLastController, getTempFile, getViewManager, getViewManager, guiStart, guiStop, interruptPrintThreads, invokeAction, invokeExtraAction, isChatting, isIdle, loadUserPreferences, loadUserStickers, login, login, notifyOutline, processAboutAction, processAction, processExtraAction, processHelpAction, processLogAction, processVersionAction, register, removeController, removeOutlineController, removeResetListener, reset, resetTimeout, resetUndoRedo, sessionTimeout, sessionTimeout, setChatting, setIdle, setLanguage, setMasterSession, setPluginId, setSkin, showView, start, storeTempFile, toString, validateAction, writeXml
 
Methods inherited from class leon.app.LyDataSession
addInfoListener, addValue, dumpLocks, getContextManager, getCreationTime, getDataSource, getDataSource, getEnvironment, getHardLock, getId, getKeyValue, getObjectsByName, getObjectSource, getParent, getSessionBehavior, getSoftLock, getState, getSubSessions, getUser, getValue, handleException, hasTransaction, isClosed, isObjectVisible, isRegistered, isValid, notifyInfoListeners, putObjectSource, releaseHardLock, releaseSoftLock, removeInfoListener, removeObjectSource, setTimeZone, setUser, setValid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyJQSession

public LyJQSession(LyApplication application,
                   boolean registerSession)
Constructor of web session.

Parameters:
application - The application owner of the session.
registerSession - Indicates if the session must be registered on the application (default is true), or if this is a temporary session which should be ignored.
Method Detail

getCurrentRequest

public javax.servlet.http.HttpServletRequest getCurrentRequest()
Gets the current request.

Overrides:
getCurrentRequest in class LyWebSession
Returns:
the request

getCurrentResponse

public javax.servlet.http.HttpServletResponse getCurrentResponse()
Gets the current response.

Overrides:
getCurrentResponse in class LyWebSession
Returns:
the response

close

public void close()
Description copied from class: LySession
Closes the session. Removes the session from its application, sets all the controllers, the object sources and the view manager free.

Overrides:
close in class LySession

setHttpSession

public void setHttpSession(javax.servlet.http.HttpSession httpSession,
                           java.lang.String httpSessionKey)
Binds an http session with current Leonardi session.


getHttpSession

public javax.servlet.http.HttpSession getHttpSession()
Returns the http session binded with current Leonardi session.


(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com