Project Wonder 5.0

er.distribution
Class ERDistributionSession

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.distribution.ERDistributionSession
All Implemented Interfaces:
com.webobjects.eodistribution.EODistributionContext.Delegate, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, Serializable, Cloneable

public abstract class ERDistributionSession
extends ERXSession
implements com.webobjects.eodistribution.EODistributionContext.Delegate

See Also:
Serialized Form

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.eodistribution.EODistributionContext.Delegate
_CLASS
 
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
ERDistributionSession()
           
 
Method Summary
 void _distributionContextInstantiated(NSNotification notification)
           
 NSArray<EOClassDescription> clientSideRequestGetClassDescriptions()
           
abstract  EOGlobalID clientSideRequestLogin(String username, String password)
           
 NSData distributionContextDidReceiveData(com.webobjects.eodistribution.EODistributionContext distributionContext, NSData data)
           
 boolean distributionContextShouldAllowAccessToClassDescription(com.webobjects.eodistribution.EODistributionContext distributionContext, EOClassDescription classDescription)
           
 boolean distributionContextShouldAllowInvocation(com.webobjects.eodistribution.EODistributionContext distributionContext, Object receiver, NSSelector selector, Object[] arguments)
           
 boolean distributionContextShouldFetchObjectsWithFetchSpecification(com.webobjects.eodistribution.EODistributionContext distributionContext, EOFetchSpecification fetchSpec)
           
 boolean distributionContextShouldFetchObjectWithGlobalID(com.webobjects.eodistribution.EODistributionContext distributionContext, EOGlobalID globalID, EOClassDescription classDescription)
           
 boolean distributionContextShouldFollowKeyPath(com.webobjects.eodistribution.EODistributionContext distributionContext, String keyPath)
           
 boolean distributionContextShouldSave(com.webobjects.eodistribution.EODistributionContext distributionContext, EOEditingContext editingContext)
           
 NSData distributionContextWillSendData(com.webobjects.eodistribution.EODistributionContext distributionContext, NSData data)
           
abstract  boolean isUserAuthenticated()
           
 
Methods inherited from class er.extensions.appserver.ERXSession
_appendCookieToResponse, _birthDate, _clearCookieFromResponse, _convertSessionCookiesToHttpOnly, _convertSessionCookiesToSecure, anySession, appendToResponse, application, autoAdjustTimeZone, availableLanguagesForTheApplication, availableLanguagesForThisSession, awake, browser, currentSessionID, debuggingStore, defaultEditingContext, 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

ERDistributionSession

public ERDistributionSession()
Method Detail

_distributionContextInstantiated

public void _distributionContextInstantiated(NSNotification notification)

clientSideRequestGetClassDescriptions

public NSArray<EOClassDescription> clientSideRequestGetClassDescriptions()

isUserAuthenticated

public abstract boolean isUserAuthenticated()

clientSideRequestLogin

public abstract EOGlobalID clientSideRequestLogin(String username,
                                                  String password)

distributionContextWillSendData

public NSData distributionContextWillSendData(com.webobjects.eodistribution.EODistributionContext distributionContext,
                                              NSData data)
Specified by:
distributionContextWillSendData in interface com.webobjects.eodistribution.EODistributionContext.Delegate

distributionContextDidReceiveData

public NSData distributionContextDidReceiveData(com.webobjects.eodistribution.EODistributionContext distributionContext,
                                                NSData data)
Specified by:
distributionContextDidReceiveData in interface com.webobjects.eodistribution.EODistributionContext.Delegate

distributionContextShouldFollowKeyPath

public boolean distributionContextShouldFollowKeyPath(com.webobjects.eodistribution.EODistributionContext distributionContext,
                                                      String keyPath)
Specified by:
distributionContextShouldFollowKeyPath in interface com.webobjects.eodistribution.EODistributionContext.Delegate

distributionContextShouldAllowInvocation

public boolean distributionContextShouldAllowInvocation(com.webobjects.eodistribution.EODistributionContext distributionContext,
                                                        Object receiver,
                                                        NSSelector selector,
                                                        Object[] arguments)
Specified by:
distributionContextShouldAllowInvocation in interface com.webobjects.eodistribution.EODistributionContext.Delegate

distributionContextShouldAllowAccessToClassDescription

public boolean distributionContextShouldAllowAccessToClassDescription(com.webobjects.eodistribution.EODistributionContext distributionContext,
                                                                      EOClassDescription classDescription)
Specified by:
distributionContextShouldAllowAccessToClassDescription in interface com.webobjects.eodistribution.EODistributionContext.Delegate

distributionContextShouldFetchObjectsWithFetchSpecification

public boolean distributionContextShouldFetchObjectsWithFetchSpecification(com.webobjects.eodistribution.EODistributionContext distributionContext,
                                                                           EOFetchSpecification fetchSpec)
Specified by:
distributionContextShouldFetchObjectsWithFetchSpecification in interface com.webobjects.eodistribution.EODistributionContext.Delegate

distributionContextShouldFetchObjectWithGlobalID

public boolean distributionContextShouldFetchObjectWithGlobalID(com.webobjects.eodistribution.EODistributionContext distributionContext,
                                                                EOGlobalID globalID,
                                                                EOClassDescription classDescription)
Specified by:
distributionContextShouldFetchObjectWithGlobalID in interface com.webobjects.eodistribution.EODistributionContext.Delegate

distributionContextShouldSave

public boolean distributionContextShouldSave(com.webobjects.eodistribution.EODistributionContext distributionContext,
                                             EOEditingContext editingContext)
Specified by:
distributionContextShouldSave in interface com.webobjects.eodistribution.EODistributionContext.Delegate

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

Copyright © 2002 – 2011 Project Wonder.