Project Wonder 5.0

er.cayenne
Class CayenneSession

java.lang.Object
  extended by com.webobjects.appserver.WOSession
      extended by er.extensions.appserver.ajax.ERXAjaxSession
          extended by er.extensions.appserver.ERXSession
              extended by er.cayenne.CayenneSession
All Implemented Interfaces:
NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, Serializable, Cloneable

public class CayenneSession
extends ERXSession

Adds Cayenne support to WOSession

See Also:
Serialized Form
Author:
john

Nested Class Summary
 
Nested classes/interfaces inherited from class er.extensions.appserver.ERXSession
ERXSession.Observer
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOSession
WOSession.PageFragmentCache
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
 
Field Summary
 
Fields inherited from class er.extensions.appserver.ERXSession
_debuggingStore, _didBacktrack, _javaScriptEnabled, _originalThreadName, JAVASCRIPT_ENABLED_COOKIE_NAME, lastActionWasDA, log, SessionWillAwakeNotification, SessionWillSleepNotification
 
Fields inherited from class er.extensions.appserver.ajax.ERXAjaxSession
_permanentContextIDArray, _permanentPageCache, DONT_STORE_PAGE, FORCE_STORE_PAGE, PAGE_REPLACEMENT_CACHE_LOOKUP_KEY
 
Fields inherited from class com.webobjects.appserver.WOSession
_componentState, _httpSession, _httpSessionWatcher, SessionDidCreateNotification, SessionDidRestoreNotification, SessionDidTimeOutNotification
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Constructor Summary
CayenneSession()
           
CayenneSession(String sessionID)
           
 
Method Summary
 CayenneApplication application()
          Bringing application into KVC.
 EOEditingContext defaultEditingContext()
          Deprecated. 
 org.apache.cayenne.ObjectContext defaultObjectContext()
          Returns the ObjectContext that is tied to the lifespan of the Session.
 
Methods inherited from class er.extensions.appserver.ERXSession
_appendCookieToResponse, _birthDate, _clearCookieFromResponse, _convertSessionCookiesToHttpOnly, _convertSessionCookiesToSecure, anySession, appendToResponse, autoAdjustTimeZone, availableLanguagesForTheApplication, availableLanguagesForThisSession, awake, browser, currentSessionID, debuggingStore, didBacktrack, javaScriptEnabled, language, localizer, messageEncoding, newDefaultEditingContext, objectStore, observer, requestsContextID, session, setDefaultEditingContext, setJavaScriptEnabled, setLanguage, setLanguages, setSession, setTimeZone, sleep, takeValuesFromRequest, terminate, threadName, timeZone, toString, useHttpOnlySessionCookies, useSecureSessionCookies
 
Methods inherited from class er.extensions.appserver.ajax.ERXAjaxSession
_permanentPageCache, _permanentPageWithContextID, _saveCurrentPage, _shouldPutInPermanentCache, cleanPageReplacementCacheIfNecessary, cleanPageReplacementCacheIfNecessary, restorePageForContextID, savePage, savePageInPermanentCache
 
Methods inherited from class com.webobjects.appserver.WOSession
_allowToViewEvents, _allowToViewStatistics, _awakeInContext, _contextCounter, _contextDidIncrementContextID, _contextIDMatchingIDs, _formattedStatistics, _lifeInMillis, _requestCounter, _setContext, _setHttpSession, _setHttpSessionWatcher, _setSessionID, _sleepInContext, _terminateByJ2EE, _terminateByTimeout, allowedToViewEvents, allowedToViewStatistics, canAccessFieldsDirectly, clone, context, debugString, domainForIDCookies, expirationDateForIDCookies, getPageFromPageCacheForContextID, getPageFromPageFragmentCacheForContextID, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, invokeAction, isDistributionEnabled, isTerminating, keyEnumerator, keySet, languages, lockDefaultEditingContext, logString, objectForKey, removeObjectForKey, savePageInPageCache, savePageInPageFragmentCache, sessionID, setDistributionEnabled, setObjectForKey, setStoresIDsInCookies, setStoresIDsInURLs, setTimeOut, statistics, storesIDsInCookies, storesIDsInURLs, takeValueForKey, takeValueForKeyPath, timeOut, timeOutForIDCookies, timeOutMillis, unableToSetNullForKey, validateEventsLogin, validateStatisticsLogin, validationFailedWithException, valueForKey, valueForKeyPath
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CayenneSession

public CayenneSession()

CayenneSession

public CayenneSession(String sessionID)
Method Detail

defaultObjectContext

public org.apache.cayenne.ObjectContext defaultObjectContext()
Returns the ObjectContext that is tied to the lifespan of the Session. Created on first access.

Returns:

application

public CayenneApplication application()
Description copied from class: ERXSession
Bringing application into KVC.

Overrides:
application in class ERXSession

defaultEditingContext

@Deprecated
public EOEditingContext defaultEditingContext()
Deprecated. 

Description copied from class: ERXSession
Ensures that the returned editingContext was created with the ERXEC factory.

Overrides:
defaultEditingContext in class ERXSession
Returns:
the session's default editing context with the default delegate set.

Last updated: Wed, Feb 22, 2012 • 07:00 AM EST

Copyright © 2002 – 2011 Project Wonder.