|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ChangeObject
The ChangeObject interface is the public interface for the JavaAdapter's synchronization methods.
| Method Summary | |
|---|---|
void |
addChangedPropertyName(String propertyName)
If the adapter modifies an additional property, not changed on the client, you can use this method to add that property to the list of changes so it is pushed to other clients. |
void |
conflict(Object serverVersion)
Declares that a conflict occurred while processing this change. |
void |
conflict(Object serverVersion,
boolean conflictOnProperty)
Declares that a conflict occurred while processing this change. |
void |
fail()
Declares that a failure occurred while processing this change. |
void |
fail(String description)
Declares that a failure occurred while processing this change. |
String[] |
getChangedPropertyNames()
Returns the list of property names which changed as part of this update. |
Map |
getChangedValues()
Gets a map of property names and their current values on the item. |
flex.data.messages.DataMessage |
getMessage()
Accesses the underlying Message transmitted by the client for the change. |
Object |
getNewVersion()
Gets the current version known to the client, which is the proposed new version for the server. |
Object |
getObjectId()
Gets the identity of the changed object instance |
Object |
getPreviousValue(String propertyName)
Gets the previous value of the named property on the item. |
Object |
getPreviousVersion()
Gets the previous version known to the client. |
boolean |
isCreate()
Inspects what sort of change occurred on the current item. |
boolean |
isDelete()
Inspect what sort of change occurred on the current item. |
boolean |
isUpdate()
Inspects what sort of change occurred on the current item. |
void |
setNewVersion(Object o)
Sets the current version of the item. |
| Method Detail |
|---|
Object getObjectId()
Object getPreviousVersion()
Object getNewVersion()
void setNewVersion(Object o)
boolean isCreate()
boolean isUpdate()
boolean isDelete()
String[] getChangedPropertyNames()
void addChangedPropertyName(String propertyName)
Map getChangedValues()
Object getPreviousValue(String propertyName)
flex.data.messages.DataMessage getMessage()
void fail()
void fail(String description)
void conflict(Object serverVersion)
void conflict(Object serverVersion,
boolean conflictOnProperty)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/data/ChangeObject.html