JavaScript API Reference for Oracle ADF Faces
  | 
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-03  | 
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||
org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adfinternal.view.js.comm.AdfDataTransferService
public class AdfDataTransferService extends AdfObject
Field Summary | 
|
|---|---|
private static Object | 
|
private static Object | 
|
private static Object | 
|
private static Object | 
|
private Object | 
|
private Object | 
|
public static Object | 
|
public static Object | 
  | 
private Object | 
|
private static Object | 
|
private Object | 
|
public static Object | 
|
private Object | 
|
private static Object | 
|
Fields inherited from oracle.adf.view.js.base.AdfObject | 
constructor, superclass | 
Fields inherited from org.ecmascript.object.Object | 
prototype | 
Constructor Summary | 
|
|---|---|
public | 
  | 
Method Summary | 
|
|---|---|
private Object | 
|
public Object | 
  | 
private static Object | 
|
private Object | 
  | 
private Object | 
  | 
private Object | 
  | 
private Object | 
|
private static Object | 
|
public Object | 
  | 
private Object | 
  | 
private Object | 
|
private Object | 
  | 
private Object | 
  | 
private Object | 
|
public Object | 
  | 
public static Object | 
  | 
private Object | 
|
private Object | 
  | 
protected Object | 
|
protected static Object | 
|
public Object | 
|
private Object | 
  | 
public Object | 
|
public Object | 
  | 
private static Object | 
  | 
private Object | 
|
public Object | 
|
public Object | 
  | 
public Object | 
|
public Object | 
  | 
public Boolean | 
|
Methods inherited from oracle.adf.view.js.base.AdfObject | 
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString | 
Field Detail | 
|---|
private static Object _ADF_STREAMING_IFRAME_IDprivate static Object _MULTIPART_FRAMEprivate static Object _MULTIPART_TYPEprivate static Object _POLLING_TYPEprivate Object _requestQueueprivate Object _statepublic static Object STATE_BUSYpublic static Object STATE_READYprivate Object _stateChangeListenersprivate static Object _STREAMING_TYPEprivate Object _streamingCountpublic static Object TRANSFER_COMPLETEprivate Object _windowprivate static Object _XMLHTTP_TYPE
Constructor Detail | 
|---|
public AdfDataTransferService(Object domWindow)domWindow | 
Method Detail | 
|---|
private Object _addRequestToQueue(Object type,
                                  Object context,
                                  Object actionURL,
                                  Object headerParams,
                                  Object content,
                                  Object listeners,
                                  Object minBusyState)type | 
- | the type of the request | 
context | 
- | any object that is sent back to the callback when the request is complete. This object can be null. | 
actionURL | 
- | the url to send the request to | 
headerParams | 
- | Option HTTP header parameters to attach to the request | 
content | 
- | the content of the Asynchronous XML HTTP Post | 
listeners | 
- | Objects that implements DataTransferRequestListener interface | 
minBusyState | 
- | the minimum value of the busy state required for request to be sent to the server. Most requests will use STATE_READY (0), but streaming will be allowed to proceed with TRANSFER_COMPLETE(1) (see bug #7257216) | 
Objectpublic Object addStateChangeListener(Function listener,
                                     Object instance)listener | 
- | listener function to remove | 
instance | 
- | to pass as this when calling function | 
Objectprivate static Object _alertError()Objectprivate Object _appendParamNode(Object domDocument,
                                Object form,
                                Object name,
                                Object value)domDocument | 
||
form | 
||
name | 
||
value | 
Objectprivate Object _broadcastRequestStatusChanged(Object listeners,
                                              Object event)listeners | 
||
event | 
Objectprivate Object _broadcastStateChangeEvent(Object state)state | 
Objectprivate Object _clearParamNodes()Objectprivate static Object _DataTransferRequest(Object type,
                                           Object context,
                                           Object actionURL,
                                           Object headerParams,
                                           Object content,
                                           Object listeners)type | 
||
context | 
||
actionURL | 
||
headerParams | 
||
content | 
||
listeners | 
Objectpublic Object dispose()Objectprivate Object _doStreamingTransfer(Object requestItem)requestItem | 
Objectprivate Object _doTransfer()Objectprivate Object _doTransferThroughIframe(Object requestItem)requestItem | 
Objectprivate Object _doXmlHttpTransfer(Object requestItem,
                                  Object callback)requestItem | 
- | the current request item object from the underlying queue | 
callback | 
- | custom callback to be executed once the request is done | 
Objectprivate Object _getDomDocument()Objectpublic Object getDTSState()Objectpublic static Object getInstance()Objectprivate Object _handleIFrameLoad()Objectprivate Object _handleRequestCallback(Object xmlHttp)xmlHttp | 
Objectprotected Object Init(Object domWindow)domWindow | 
ObjectAdfObject.Init()protected static Object InitClass()Objectpublic Object notifyStreamingRequestComplete()Objectprivate Object _onIFrameLoadComplete(Object iframeDoc,
                                     Object context,
                                     Object requestListeners)iframeDoc | 
||
context | 
||
requestListeners | 
Objectpublic Object pageUnloading()Objectpublic Object removeStateChangeListener(Function listener,
                                        Object instance)listener | 
- | listener function to remove | 
instance | 
- | to pass as this when calling function | 
Objectprivate static Object _requestCallback(Object xmlRequest)xmlRequest | 
Objectprivate Object _requestDone()Objectpublic Object sendMultiPartRequest(Object context,
                                   Object actionURL,
                                   Object htmlForm,
                                   Object params,
                                   Object listeners)context | 
- | any object that is sent back to the callback when the request is complete. This object can be null. | 
actionURL | 
- | this is the appropriate action url | 
htmlForm | 
- | the form containing multi-part data. The action attribute of the form is used for send the request to the server | 
params | 
- | additional parameters that need to be sent to the server | 
listeners | 
- | Objects that implements DataTransferRequestListener interface | 
Objectpublic Object sendPollingRequest(Object actionURL,
                                 Object listeners)actionURL | 
- | the url to send the request to | 
listeners | 
- | Objects that implements DataTransferRequestListener interface | 
Objectpublic Object sendRequest(Object context,
                          Object actionURL,
                          Object headerParams,
                          Object content,
                          Object listeners)context | 
- | any object that is sent back to the callback when the request is complete. This object can be null. | 
actionURL | 
- | the url to send the request to | 
headerParams | 
- | Option HTTP header parameters to attach to the request | 
content | 
- | the content of the Asynchronous XML HTTP Post | 
listeners | 
- | Objects that implements DataTransferRequestListener interface | 
Objectpublic Object sendStreamingRequest(Object actionURL,
                                   Object params)actionURL | 
- | the url to send the request to | 
params | 
- | additional request parameters | 
Objectpublic Boolean streamingResponsesOutstanding()Boolean - Returns true if there are still outstanding streaming requests
  | 
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-03  | 
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||