패키지 | mx.data.events |
클래스 | public class DataServiceFaultEvent |
상속 | DataServiceFaultEvent FaultEvent AbstractEvent MessageEvent Event Object |
하위 클래스 | UnresolvedConflictsEvent |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
속성 | 정의 주체 | ||
---|---|---|---|
bubbles : Boolean [읽기 전용]
이벤트가 버블링 이벤트인지 여부를 나타냅니다. | Event | ||
cacheResponse : Boolean
When this property is true this event was dispatched in
response to a method call executed against the local cache. | DataServiceFaultEvent | ||
cancelable : Boolean [읽기 전용]
해당 이벤트와 연관된 비헤이비어를 차단할 수 있는지 여부를 나타냅니다. | Event | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
currentTarget : Object [읽기 전용]
이벤트 리스너를 통해 Event 객체를 처리하고 있는 객체입니다. | Event | ||
eventPhase : uint [읽기 전용]
이벤트 흐름에서 현재 단계입니다. | Event | ||
fault : Fault [읽기 전용]
The Fault object that contains the details of what caused this event. | FaultEvent | ||
headers : Object
In certain circumstances, headers may also be returned with a fault to
provide further context to the failure. | FaultEvent | ||
identity : Object
The identity of the item that generated the fault. | DataServiceFaultEvent | ||
item : Object
Stores the item that generated the fault. | DataServiceFaultEvent | ||
message : IMessage
The Message associated with this event. | MessageEvent | ||
statusCode : int [읽기 전용]
If the source message was sent via HTTP, this property provides access
to the HTTP response status code (if available), otherwise the value is
0. | FaultEvent | ||
target : Object [읽기 전용]
이벤트 대상입니다. | Event | ||
token : mx.rpc:AsyncToken [읽기 전용]
The token that represents the call to the method. | AbstractEvent | ||
type : String [읽기 전용]
이벤트 유형입니다. | Event |
메서드 | 정의 주체 | ||
---|---|---|---|
DataServiceFaultEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, fault:Fault = null, token:mx.rpc:AsyncToken = null, message:ErrorMessage = null, obj:Object = null, id:Object = null, cacheResponse:Boolean = false)
Constructor. | DataServiceFaultEvent | ||
[재정의]
Clones the MessageEvent. | MessageEvent | ||
createEvent(fault:Fault, token:mx.rpc:AsyncToken, message:ErrorMessage, obj:Object, id:Object, cacheResponse:Boolean = false):DataServiceFaultEvent [정적]
Creates a DataServiceFaultEvent object. | DataServiceFaultEvent | ||
[정적]
Given a MessageFaultEvent, this method constructs and
returns a FaultEvent. | FaultEvent | ||
사용자 정의 ActionScript 3.0 Event 클래스에서 toString() 메서드를 구현하기 위한 유틸리티 함수입니다. | Event | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
이벤트에서 preventDefault() 메서드가 호출되었는지 여부를 확인합니다. | Event | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
이벤트의 기본 비헤이비어를 취소할 수 있는 경우, 그 비헤이비어를 취소합니다. | Event | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
이벤트 흐름에서 현재 노드 및 그 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
이벤트 흐름에서 현재 노드의 후속 노드에 있는 모든 이벤트 리스너가 처리되지 않도록 합니다. | Event | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
[재정의]
Returns a string representation of the FaultEvent. | FaultEvent | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
상수 | 정의 주체 | ||
---|---|---|---|
FAULT : String = "fault" [정적]
The FAULT constant defines the value of the type property
of the event object for a fault event. | DataServiceFaultEvent |
cacheResponse | 속성 |
public var cacheResponse:Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
When this property is true
this event was dispatched in
response to a method call executed against the local cache.
When false
this event was dispatched in response to a method
call executed against the remote destination.
identity | 속성 |
public var identity:Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The identity of the item that generated the fault. This is null if there was no single item associated with the fault.
item | 속성 |
public var item:Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Stores the item that generated the fault. This is null if no item was available or this fault occurred due to the failure of a batch of items.
DataServiceFaultEvent | () | 생성자 |
public function DataServiceFaultEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = true, fault:Fault = null, token:mx.rpc:AsyncToken = null, message:ErrorMessage = null, obj:Object = null, id:Object = null, cacheResponse:Boolean = false)
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Constructor.
매개 변수type:String — The event type; indicates the action that caused the event.
| |
bubbles:Boolean (default = false ) — Specifies whether the event can bubble up the display list hierarchy.
| |
cancelable:Boolean (default = true ) — Specifies whether the behavior associated with the event can be prevented.
| |
fault:Fault (default = null ) — Object that holds details of the fault,
including a faultCode and faultString .
| |
token:mx.rpc:AsyncToken (default = null ) — Token representing the call to the method. Used in the asynchronous completion token pattern.
| |
message:ErrorMessage (default = null ) — Source Message of the fault.
| |
obj:Object (default = null ) — The item that generated the fault.
| |
id:Object (default = null ) — The identity of the item that generated the fault.
| |
cacheResponse:Boolean (default = false ) — When true , this event was dispatched in
response to a method call executed against the local cache.
When false this event was dispatched in response to a method
call executed against the remote destination.
|
createEvent | () | 메서드 |
public static function createEvent(fault:Fault, token:mx.rpc:AsyncToken, message:ErrorMessage, obj:Object, id:Object, cacheResponse:Boolean = false):DataServiceFaultEvent
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Creates a DataServiceFaultEvent object.
매개 변수
fault:Fault — Object that holds details of the fault,
including a faultCode and faultString .
| |
token:mx.rpc:AsyncToken — Token representing the call to the method. Used in the asynchronous completion token pattern.
| |
message:ErrorMessage — Source Message of the fault.
| |
obj:Object — The item that generated the fault.
| |
id:Object — The identity of the item that generated the fault.
| |
cacheResponse:Boolean (default = false ) — When true , this event was dispatched in
response to a method call executed against the local cache.
When false this event was dispatched in response to a method
call executed against the remote destination.
|
DataServiceFaultEvent — The new DataServiceFaultEvent object.
|
FAULT | 상수 |
public static const FAULT:String = "fault"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
The FAULT
constant defines the value of the type
property
of the event object for a fault
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | true, calling preventDefault() from the associated token's responder.fault method will prevent the service or operation from dispatching this event |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
fault | The Fault object that holds the conflict that occurred. |
item | The item that generated the fault. |
identity | The identity of of the item that generated the fault. |
message | The Message associated with this event. |
token | The token that represents the call to the method. Used in the asynchronous completion token pattern. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
Tue Jun 12 2018, 03:17 PM Z