OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adf.view.js.event
Class AdfFileUploadEvent

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adf.view.js.event.AdfBaseEvent
               |
               +--oracle.adf.view.js.event.AdfFileUploadEvent

public class AdfFileUploadEvent
extends AdfBaseEvent


Field Summary

private Object
_fileItem
private Object
_message
private Object
_operation
private Object
_operationSource
private Object
_percentComplete
private Object
_status

Fields inherited from oracle.adf.view.js.event.AdfBaseEvent

AT_TARGET_PHASE, BUBBLING_PHASE, CAPTURING_PHASE

Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass

Fields inherited from org.ecmascript.object.Object

prototype

Constructor Summary

public
AdfFileUploadEvent(Object source, Object type, Object operationSource, Object operation, Object fileItem, Object percentComplete, Object status, Object message)

Method Summary

public Object
getFileItem()
Get the FileItem.
public Object
getMessage()
Get any AdfFacesMessage generated by this event
public Object
getOperation()
Get the file upload operation.
public Object
getOperationSource()
Get the source of the operation.
public Object
getPercentComplete()
Get the percent completion
public Object
getStatus()
Get the file upload operation status.
protected Object
Init(Object source, Object type, Object operationSource, Object operation, Object fileItem, Object percentComplete, Object status, Object message)
Initializes the instance.

Methods inherited from oracle.adf.view.js.event.AdfBaseEvent

AddMarshalledProperties, cancel, forceFullSubmit, getClearMessages, getCurrentTarget, getDoesBubbles, getEventPhase, getMaxTimeBeforePropagation, getProperties, getRoot, getShowMessages, getSource, getType, isBubblingStopped, isCancelable, isCanceled, IsDeleveryDiscrete, isDeliveryDiscrete, isFullSubmitForced, isImmediate, isPartial, isResponseAnnounced, isResponseExpected, IsUserInputPrevented, isValidationNeeded, noResponseExpected, preventUserInput, propagatesToServer, setPartial, setRoot, setSource, stopBubbling, toDebugString

Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toString

Field Detail


_fileItem

private Object _fileItem

_message

private Object _message

_operation

private Object _operation

_operationSource

private Object _operationSource

_percentComplete

private Object _percentComplete

_status

private Object _status

Constructor Detail


AdfFileUploadEvent

public AdfFileUploadEvent(Object source,
                          Object type,
                          Object operationSource,
                          Object operation,
                          Object fileItem,
                          Object percentComplete,
                          Object status,
                          Object message)

Parameters:
source  
type  
operationSource  
operation  
fileItem  
percentComplete  
status  
message  

Method Detail


getFileItem

public Object getFileItem()

Get the FileItem.

Return:
Object

getMessage

public Object getMessage()

Get any AdfFacesMessage generated by this event

Return:
Object

getOperation

public Object getOperation()

Get the file upload operation. Values are: upload: File upload delete: File delete cancel: File upload cancel cancelAll: File upload cancel all added: File added to the upload queue removed: File removed from the upload queue

Return:
Object

getOperationSource

public Object getOperationSource()

Get the source of the operation. Values are: queue: Happens when a file is added or deleted from the upload queue applet: Generated when the applet loads upload: Generated for upload related operations

Return:
Object

getPercentComplete

public Object getPercentComplete()

Get the percent completion

Return:
Object

getStatus

public Object getStatus()

Get the file upload operation status. Values are: start: Started operation inprogress: Operation in-progress complete: Completed operation failed: Failed operation

Return:
Object

Init

protected Object Init(Object source,
                      Object type,
                      Object operationSource,
                      Object operation,
                      Object fileItem,
                      Object percentComplete,
                      Object status,
                      Object message)

Initializes the instance. Subclasses of AdfObject must call their superclass' Init

Parameters:
source  
type  
operationSource  
operation  
fileItem  
percentComplete  
status  
message  
Return:
Object
Overrides:
AdfObject.Init()

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.