Project Wonder 5.0.0.8793

com.webobjects.woextensions
Class WOLongResponsePage

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WOComponent
          extended by com.webobjects.woextensions.WOLongResponsePage
All Implemented Interfaces:
WOActionResults, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, Cloneable, Runnable
Direct Known Subclasses:
ERXWOLongResponsePage

public abstract class WOLongResponsePage
extends WOComponent
implements Runnable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
WOComponent._EventLoggingEnabler, WOComponent.Event
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
protected  boolean _cancelled
           
protected  boolean _done
           
protected  boolean _doneAndRefreshed
           
protected  Exception _exception
           
protected  boolean _performingAction
           
protected  int _refreshInterval
           
protected  Object _result
           
protected  Object _status
           
 
Fields inherited from class com.webobjects.appserver.WOComponent
_Extension, _IsEventLoggingEnabled, _keyAssociations, MINUSONE
 
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.NSValidation
_CLASS
 
Constructor Summary
WOLongResponsePage(WOContext aContext)
           
 
Method Summary
protected  Exception _exception()
           
protected  void _finishInitialization()
           
protected  void _setException(Exception anObject)
           
 void appendToResponse(WOResponse aResponse, WOContext aContext)
           
 WOComponent cancel()
           
 WOComponent cancelPageForStatus(Object aStatus)
           
 WOActionResults invokeAction(WORequest aRequest, WOContext aContext)
           
 boolean isCancelled()
           
 WOComponent pageForException(Exception exception)
           
 WOComponent pageForResult(Object aResult)
           
abstract  Object performAction()
           
 WOComponent refresh()
           
 double refreshInterval()
           
 WOComponent refreshPageForStatus(Object aStatus)
           
 Object result()
           
 void run()
           
 void setCancelled(boolean aBool)
           
 void setRefreshInterval(double interval)
           
 void setResult(Object anObject)
           
 void setStatus(Object anObject)
           
 Object status()
           
 
Methods inherited from class com.webobjects.appserver.WOComponent
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_status

protected Object _status

_result

protected Object _result

_exception

protected Exception _exception

_refreshInterval

protected int _refreshInterval

_performingAction

protected boolean _performingAction

_cancelled

protected boolean _cancelled

_done

protected boolean _done

_doneAndRefreshed

protected boolean _doneAndRefreshed
Constructor Detail

WOLongResponsePage

public WOLongResponsePage(WOContext aContext)
Method Detail

_finishInitialization

protected void _finishInitialization()

status

public Object status()

setStatus

public void setStatus(Object anObject)

_exception

protected Exception _exception()

_setException

protected void _setException(Exception anObject)

setRefreshInterval

public void setRefreshInterval(double interval)

refreshInterval

public double refreshInterval()

result

public Object result()

setResult

public void setResult(Object anObject)

run

public void run()
Specified by:
run in interface Runnable

appendToResponse

public void appendToResponse(WOResponse aResponse,
                             WOContext aContext)
Overrides:
appendToResponse in class WOComponent

pageForException

public WOComponent pageForException(Exception exception)

refreshPageForStatus

public WOComponent refreshPageForStatus(Object aStatus)

pageForResult

public WOComponent pageForResult(Object aResult)

cancelPageForStatus

public WOComponent cancelPageForStatus(Object aStatus)

invokeAction

public WOActionResults invokeAction(WORequest aRequest,
                                    WOContext aContext)
Overrides:
invokeAction in class WOComponent

isCancelled

public boolean isCancelled()

setCancelled

public void setCancelled(boolean aBool)

refresh

public WOComponent refresh()

cancel

public WOComponent cancel()

performAction

public abstract Object performAction()

Last updated: Thu, Jan 8, 2009 • 04:37 AM EST

Copyright © 2002 – 2007 Project Wonder.