| Package | mx.data |
| 인터페이스 | public interface IChangeObject |
ConflictDetector object에 의해 검출됩니다. 로컬 경합의 검출은,ConflictDetector 를 확장해 DataService.conflictDetector property에 할당하는 것으로 customize 할 수 있습니다.
| property | 정의 | ||
|---|---|---|---|
| changedPropertyNames : Array
[read-only]
갱신 중(안)에서 변경된 property명의 리스트를 돌려줍니다.
| IChangeObject | ||
| currentVersion : Object
[read-only]
새로운 아이템입니다.
| IChangeObject | ||
| identity : Object
[read-only]
변경 대상의 아이템의 ID 입니다.
| IChangeObject | ||
| message : DataMessage
[read-only]
로컬인 변경에 대응하는 로컬인
DataMessage 에의 액세스를 제공합니다. | IChangeObject | ||
| newVersion : Object
[read-only]
아이템의 리모트 행선지에서의 현재의 버젼입니다.
| IChangeObject | ||
| previousVersion : Object
[read-only]
이전의 아이템입니다.
| IChangeObject | ||
| Methods | 정의 | ||
|---|---|---|---|
| conflict (description:String , properties:Array ):void
이 변경을 처리중에 경합이 발생한 것을 나타냅니다.
| IChangeObject | ||
getConflict ():DataErrorMessage
conflict() Methods의 이전의 호출로 발생한 경합을 돌려줍니다. | IChangeObject | ||
| isCreate ():Boolean
변경이 새로운 아이템에 의한것인지 어떤지를 나타냅니다.
| IChangeObject | ||
| isDelete ():Boolean
아이템이 삭제되었는지 어떠했는지를 나타냅니다.
| IChangeObject | ||
| isUpdate ():Boolean
변경이 갱신에 의한것인지 어떤지를 나타냅니다.
| IChangeObject | ||
| changedPropertyNames | property |
changedPropertyNames:Array [read-only]갱신 중(안)에서 변경된 property명의 리스트를 돌려줍니다. 이 Methods가 null 를 돌려주는 경우, 모든 property가 변경된 가능성이 있는 것을 나타냅니다.
Implements public function get changedPropertyNames():Array
| currentVersion | property |
currentVersion:Object [read-only]새로운 아이템입니다.
Implements public function get currentVersion():Object
| identity | property |
| message | property |
message:DataMessage [read-only]
로컬인 변경에 대응하는 로컬인 DataMessage 에의 액세스를 제공합니다.
public function get message():DataMessage
| newVersion | property |
newVersion:Object [read-only]아이템의 리모트 행선지에서의 현재의 버젼입니다.
Implements public function get newVersion():Object
| previousVersion | property |
previousVersion:Object [read-only]이전의 아이템입니다.
Implements public function get previousVersion():Object
| conflict | () | Methods |
public function conflict(description:String , properties:Array ):void
이 변경을 처리중에 경합이 발생한 것을 나타냅니다. 경합은, DataService 에 대한 ConflictEvent 로서 dispatch됩니다. 경합이 일어나고 있는 property는, property 리스트로 나타납니다. 설명은, 이벤트의 message property상의 faultString property로 참조할 수 있습니다.
description:String |
|
properties:Array |
| getConflict | () | Methods |
public function getConflict():DataErrorMessage
conflict() Methods의 이전의 호출로 발생한 경합을 돌려줍니다.
DataErrorMessage |
| isCreate | () | Methods |
| isDelete | () | Methods |
| isUpdate | () | Methods |
코멘트가 추가되었을 경우, 메일로 받기. | 코멘트 리포트
현재의 페이지: http://flexdocs.kr/docs/flex2/langref/mx/data/IChangeObject.html